Posted by: rey - Saturday, December 10, 2016 7:49:28 AM
the example: there is already a unit originally in game, i don't want to change unit itselfbut create a copy with different parameters and place it to be built the same way, along with origin. what lines must be changed?
i understand name of unit as object must be new, lines in CommandSet and CommandButton - what else?
Posted by: klingondragon - Saturday, December 10, 2016 8:58:03 AM
It all depends what you want to change.
You MUST change the name of the unit, the commandbutton to build it (copy the old one and change the object's name), and the commandset of the building that builds it (add a line for the commandbutton you just made).
You can change almost anything you like in the object's ini code.
Posted by: Annihilationzh - Saturday, December 10, 2016 11:22:13 AM
[quote=rey;142249]the example: there is already a unit originally in game, i don't want to change unit itselfbut create a copy with different parameters and place it to be built the same way, along with origin. what lines must be changed?
i understand name of unit as object must be new, lines in CommandSet and CommandButton - what else?[/quote]
That's everything you need to do.