Welcome Guest! To enable all features please Login. New Registrations are disabled.



Ramadan Offline
#1 Posted : Saturday, October 8, 2022 10:13:39 AM(UTC)
Joined: 6/24/2022(UTC)
Posts: 8

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?
UTD^Force Offline
#2 Posted : Saturday, October 8, 2022 12:16:06 PM(UTC)
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 798
Location: Middle east

Thanks: 438 times
Was thanked: 180 time(s) in 164 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
 1 user thanked UTD^Force for this useful post.
Ramadan on 10/9/2022(UTC)
SkyMix_RMT Offline
#3 Posted : Saturday, October 15, 2022 6:28:28 PM(UTC)
Joined: 2/21/2015(UTC)
Posts: 388

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>%
Check out:

My Music (Techno/House/Experimental)

My Website (GeneralsCentral)

My Youtube Channel (Inactive)

World Builder Community Discord
 1 user thanked SkyMix_RMT for this useful post.
UTD^Force on 10/17/2022(UTC)
Users browsing this topic
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.

Powered by YAF | YAF © 2003-2022, Yet Another Forum.NET
This page was generated in 1.054 seconds.