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

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

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Optimus Prime
Posts: 755
Joined: 03 Oct 2005, 14:31

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

Post 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 :(
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post 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...
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post 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.
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

Sorry I didn't use the correct terminology, I am not very proliffic in programming yet so...

good explenation.
User avatar
Optimus Prime
Posts: 755
Joined: 03 Oct 2005, 14:31

Post by Optimus Prime »

thx a lot :)
Post Reply

Return to “Game Development”