Is it possible to boost the strength of a unit for BABARIANS ONLY

sum_lovin

Chieftain
Joined
Nov 19, 2005
Messages
3
Hi,

As the subject reads, I'd like to boost the strength of the barbarian galleys, whilst keeping all other civs galleys, both player and AI controlled at the normal strength.

I've looked through the CIV4UnitInfos.xml file and I didn't see anywhere that allowed for barbarian specific changes... so is it possible?

Many Thanks
 
Make a copy of the normal galley. Change the type to barb_galley or something. Change the strength to what you want. Change <iCost> to -1.

Then find and edit CIV4Civlizationinfos.xml. The barbarians should be the last civ, unless you've added more or downloaded a mod which does. You'll see something like this:
<Unit>
[tab]<UnitClassType>UNITCLASS_MERCHANT</UnitClassType>
[tab]<UnitType>NONE</UnitType>
</Unit>
<Unit>
[tab]<UnitClassType>UNITCLASS_ENGINEER</UnitClassType>
[tab]<UnitType>NONE</UnitType>
</Unit>

Add this before </Units>:
<Unit>
[tab]<UnitClassType>UNITCLASS_GALLEY</UnitClassType>
[tab]<UnitType>yourunit</UnitType>
</Unit>
Replacing yourunit with what you decided to name the barbarian galley.
I haven't tested it, so I can't guarantee it'll work, but I can't see why it wouldn't :p
 
Snarko,

That's for the quick reply, I'll go ahead with those changes and try them out.
I think I'll first create a super-strong barb galley, so that it's obvious straight away whether it's worked or not, and if it has, i'll then adjust it back so it's only marginally higher than the original value.
 
Victory is mine!! well, not for much longer it won't be once these super-barbs getta hold of me :-)

Thanks very much snarko, it worked perfectly... although the strength bar above the new barb galley looked a little silly spanning the entire width of the screen :-) Now to adjust it to a reasonable level and I'm done.

Thanks again for the help.
 
Back
Top Bottom