Technical support > Windows
Help on /base/ufo/medals.ufo (Pls Move and Ignore)
odie:
*Edit*
My bad. Posted on wrong forum. Should be in coding section.
Pls ignore post. Thanks.
Hi,
A quick query. Been looking into the .UFO files
Came across medals.ufo and got some queries:
--- Code: ---rank sergeant
{
name "_Sergeant"
shortname "_Sgt"
image "ranks/rank_04"
mind 60
killed_enemies 10
killed_others 7
type EMPL_SOLDIER
factor 0.5
}
--- End code ---
I already know from the header comments what mind and killed_enemies and killed_other are.
I figured out what are the types too.
Query 1:
Does the name and shortname requires the "_" ?? What does it do??
Query 2:
What is the factor??
Query 3:
I noticed at the top of this file are codes paving for "Medals" and "Coins". What have the programmers / developers in mind for this pls?
Query 4:
I have noticed in some hacks (my own....), i have designated my characters to start with 100 attributes for some cases, and realised even after missions their stats are not improved. Is the max limit capped at 100 for each attribute? Where can i find the max attributes for diff states pls? I intend to see if i can help with balancing certain stuff. :)
PS: For noobs, pls dun clutter this thread with unnecessary comments. Its meant for developers and those who have played around this file. Thanks for cooperation.
geever:
--- Quote from: odie on March 12, 2009, 07:41:20 am ---Query 1:
Does the name and shortname requires the "_" ?? What does it do??
--- End quote ---
"_" At the start tells the game: this string should be translated.
-geever
odie:
--- Quote from: geever on March 12, 2009, 08:08:29 am ---"_" At the start tells the game: this string should be translated.
-geever
--- End quote ---
OOOooo. Thanks geever! That was fast!
How abt the other queries, would u have ani ideas on those too pls? :)
PS: a lil sidetrack, do u have ani idea if the NSIS script query is missing somethings? I cant compile it again and it says missing file (See other thread). :P
Duke:
Q3:
Searching the code, I found this:
float factor; /**< a factor that is used to e.g. increase the win
* probability for auto missions */
odie:
--- Quote from: Duke on March 16, 2009, 09:20:11 pm ---Q3:
Searching the code, I found this:
float factor; /**< a factor that is used to e.g. increase the win
* probability for auto missions */
--- End quote ---
Eh Duke....
Wat was that float factor for?? *lost* haha.
Navigation
[0] Message Index
[#] Next page
Go to full version