| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Chieftain
Join Date: Jan 2007
Location: Steinkjer Norway
Posts: 50
|
change support cost fore some unit types
Hei. I like to change the support cost fore the "oil units" So the powerful tank`s is more expencive. How to do that?
|
|
|
|
|
|
#2 |
|
Chieftain
Join Date: Oct 2007
Location: Somewhere beyond the sea
Posts: 91
|
Hmm, as support costs are not unit specific this might be a bit difficult. Would be much easier to increase the production costs.
I know that is not what you want... but easier. |
|
|
|
|
|
#3 |
|
Chieftain
Join Date: Jan 2007
Location: Steinkjer Norway
Posts: 50
|
Yea, i know. I have done that to.
|
|
|
|
|
|
#4 |
|
Warlord
Join Date: Dec 2007
Posts: 205
|
I think <bMilitarySupport>1</bMilitarySupport> sets the support cost.
So just increase the value there for each unit you want to make more expensive to support. But I've not tried it myself, so I'm not 100% sure. |
|
|
|
|
|
#5 |
|
Emperor
Join Date: Dec 2005
Location: St. Charles, IL USA
Posts: 1,808
|
It's a boolean value, hense the lower case b in the name, so it will only accept true & false values or, in this case 0 (false) and 1 (true) so setting it to a higher number won't work. You'll probably have to dive into python or SDK code to adjust support for specific units.
__________________
________________________________________________ FfH Map Script:Erebus ContinentFury Road Map Scripts: Fury Road Unofficial Map Pack |
|
|
|
|
|
#6 |
|
Chieftain
Join Date: Jan 2007
Location: Steinkjer Norway
Posts: 50
|
i tryed to set <bMilitarySupport>2</bMilitarySupport> But get an error message. But im going to try and figure it out.
|
|
|
|
|
|
#7 | |
|
Warlord
Join Date: Dec 2007
Posts: 205
|
Quote:
I never really thought about what the i's and b's were before...
|
|
|
|
|
|
|
#8 |
|
Emperor
Join Date: Sep 2005
Location: a puddle
Posts: 1,206
|
in civ4unitinfos.xml there is:
<iExtraCost>2</iExtraCost> This unit will cost an extra 2 gpt. So lets say you have free support 10 units, but you only have 5 of these units, then you'll be spending 10gpt on unit costs despite being still in the "free support" range. Now, if there are 11 of them, then support will cost 23 gpt, assuming it is only 1 gpt/supported unit. There is no way to do it by unit class, so you'll just have to set this for each unit. <bMilitarySupport> just determines which of the 2 bins this unit is accounted for in. Look for "iBaseFree" in the civ4civicinfos.xml file. |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What's the XML tag for no unit support cost? | Craig_Sutter | Civ4 - Creation & Customization | 6 | Jul 11, 2007 09:24 AM |
| Army support cost | Knickers | Civ3 - General Discussions | 11 | Mar 13, 2006 01:11 PM |
| Does the unit bonus of vassalge mitigate the unit support cost penalty of pacifism? | The Tollan | Civ4 - Strategy & Tips | 0 | Nov 20, 2005 08:05 AM |
| Cost of military support | Arturo | Civ3 - Strategy & Tips | 2 | Jul 16, 2003 06:19 PM |