Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Dec 12, 2007, 11:57 AM   #1
kaangen
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?
kaangen is offline   Reply With Quote
Old Dec 12, 2007, 12:30 PM   #2
77alex77
Chieftain
 
77alex77's Avatar
 
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.
77alex77 is offline   Reply With Quote
Old Dec 12, 2007, 12:55 PM   #3
kaangen
Chieftain
 
Join Date: Jan 2007
Location: Steinkjer Norway
Posts: 50
Yea, i know. I have done that to.
kaangen is offline   Reply With Quote
Old Dec 12, 2007, 02:19 PM   #4
99wattr89
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.
99wattr89 is offline   Reply With Quote
Old Dec 12, 2007, 02:45 PM   #5
Seven05
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 Continent
Fury Road Map Scripts: Fury Road Unofficial Map Pack
Seven05 is offline   Reply With Quote
Old Dec 13, 2007, 09:31 AM   #6
kaangen
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.
kaangen is offline   Reply With Quote
Old Dec 13, 2007, 01:03 PM   #7
99wattr89
Warlord
 
Join Date: Dec 2007
Posts: 205
Quote:
Originally Posted by Seven05 View Post
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.
Oh, sorry, my mistake.
I never really thought about what the i's and b's were before...
99wattr89 is offline   Reply With Quote
Old Dec 13, 2007, 10:53 PM   #8
primordial stew
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.
primordial stew is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > change support cost fore some unit types

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


Advertisement

All times are GMT -6. The time now is 06:46 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR