Private Joined: 6/24/2022(UTC) Posts: 9
Thanks: 7 times
|
I have a question and I hope someone will answer me. Can I change the price of a tank, soldier or plane on the map through the scripts?
|
|
|
|
Colonel Joined: 8/13/2013(UTC) Posts: 817 Location: Middle east Thanks: 430 times Was thanked: 184 time(s) in 168 post(s)
|
I don't think that's possible. Even if you want to change a unit's cost through map.ini that would be very bothersome and limiting, as you can only use another unit's build cost and replace all of its code with your unit's code. I'm not sure about units that do not have their costs specified in their main ini.big files, e.g. system units or weapon objects. If you change the buildcost through map.ini, it will only change the visible number in game but will still deduct the previous cost from your money. Buildcost in .ini |
Proud Muslim
UTD^Force
Moderator and former map reviewer CnC Labs |
1 user thanked UTD^Force for this useful post.
|
|
|
Major Joined: 2/21/2015(UTC) Posts: 386 Thanks: 80 times Was thanked: 132 time(s) in 96 post(s)
|
Heyo, it's actually possible to change.
Use this:
PlayerTemplate <FACTION NAME> ProductionCostChange = <OBJECT NAME> <FLOAT>% ProductionCostChange = <OBJECT NAME> -<FLOAT>% ProductionTimeChange = <OBJECT NAME> <FLOAT>% ProductionTimeChange = <OBJECT NAME> -<FLOAT>% End
|
|
1 user thanked SkyMix_RMT for this useful post.
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.