MoqqyT
  • MoqqyT
  • 50.25% (Neutral)
  • Private Topic Starter
6 years ago
Why buildcost stay the same even tho i changed it in .ini?

or it displays the new buildcost i set but it didnt actually change the real cost.
Sponsor
SkyMix_RMT
6 years ago
If we are talking about map.ini file, you can't change buildcost with a map.ini, it's just not possible, you can however, use a different unit that has the price you're looking for, then give it completely new code for the original unit you wanted.

If this is a mod, then you must be doing something wrong, what changes did you make exactly?
Check out:
My Music  (Techno/House/Experimental)
My Website  (GeneralsCentral)
My Youtube Channel  (Inactive)
World Builder Community Discord 
MoqqyT
  • MoqqyT
  • 50.25% (Neutral)
  • Private Topic Starter
6 years ago

If we are talking about map.ini file, you can't change buildcost with a map.ini, it's just not possible, you can however, use a different unit that has the price you're looking for, then give it completely new code for the original unit you wanted.

If this is a mod, then you must be doing something wrong, what changes did you make exactly?

Originally Posted by: SkyMix_RMT 



I am just making a multiplayer map.

Code example:

Object x
Buildcost = 1400
Buildtime = 12.0
End
UTD^Force
6 years ago
I will just quote what skymix said and explain it:

If we are talking about map.ini file, you can't change buildcost with a map.ini, it's just not possible, you can however, use a different unit that has the price you're looking for, then give it completely new code for the original unit you wanted.

Originally Posted by: SkyMix_RMT 



A multiplayer map uses map.ini, so you can't change the cost of units in map.ini.
The solution is to take a unit that has the price which you are looking for, and replace its entire code with the unit you want to change the price for.
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
SkyMix_RMT
3 years ago
UPDATE: it's actually possible to change.

Use this:

PlayerTemplate
ProductionCostChange = %
ProductionCostChange = -%
ProductionTimeChange = %
ProductionTimeChange = -%
End

Check out:
My Music  (Techno/House/Experimental)
My Website  (GeneralsCentral)
My Youtube Channel  (Inactive)
World Builder Community Discord 
BLEACH
  • BLEACH
  • 57.5% (Neutral)
  • Private
2 years ago
How do I change the build cost with the ini? where do I put the code