Originally posted by LDiCesare
The code snippet I put above shows how to create units. It's a bit more complex than PW because you must create them somewhere, is slightly more lengthy because you have to loop through players yourself but is basically the same.
For starting units, you can do it more easily in civ4 than CtP because you just need to change some xml file (can't remembre which) if I'm right.
The code snippet I put above shows how to create units. It's a bit more complex than PW because you must create them somewhere, is slightly more lengthy because you have to loop through players yourself but is basically the same.
For starting units, you can do it more easily in civ4 than CtP because you just need to change some xml file (can't remembre which) if I'm right.
In CTP all I needed was this SLIC, say spawn "X" tanks when I built barracks per turn
But I know little to nothing about code, only used small templates.
It took a while but am pretty fluent on setting on scenarios, such as extra gold for a terrain, excluding units , removing the abilities for units to pirate or pillage, now thats a bit tough, you need to go through manually and remove those commands.
Again, thanks for the feedback sir, allways a pleasure to try to learn!
Comment