Page 1 of 1

different values (for example [damage], range)?

Posted: 03 Oct 2005, 15:39
by Optimus Prime
Hi again.

In OTA there is only one value for Damage and Range, but in Spring, there are more. For example:

[DAMAGE]
{
default=190;//148;//86;//74;//147;//110;//74;//98; //110 7-10-97
}

range=420;//340;//425;//480;


For what are they good?
I m confused and in the wiki there is nothing abaout that :(

Posted: 03 Oct 2005, 16:02
by GrOuNd_ZeRo
// means void, it means that that value isn't accepted, this is to add the previous damage/range of a unit that was modified, so if you wanted to go back to that value, you wouldn't have to remember it...

Posted: 04 Oct 2005, 00:07
by Gnomre
Yeah, lines preceded by "//" are commented out and not read by the game. This is true for weapon TDFs, FBIs, download TDFs, gamedata TDFs, and any other plain text file I forgot to list. The SYs just commented out old values and left them there while tweaking the balance of that particular weapon, so they could know what they had it at previously if they ever needed to revert back.

Posted: 04 Oct 2005, 11:40
by GrOuNd_ZeRo
Sorry I didn't use the correct terminology, I am not very proliffic in programming yet so...

good explenation.

Posted: 04 Oct 2005, 13:33
by Optimus Prime
thx a lot :)