Disabling the "no road movement in ennemy territory" feature

Auberon

Chieftain
Joined
Sep 3, 2007
Messages
36
Location
Toulouse
Hi,

I would like to know if there is a way to permanently disable the fact that your troops can not use road movement in ennemy territory.

As far as I am concerned, that makes wars too long and thus boring and this is a feature I don't think is appropriate with a grand strategy game like Civ IV.

I already know that I can give all units the "commando" promotion but I have to make all the work again with each patch and with each add-on.

Can someone help me. :cry:
 
A few explanations are necessary.

Until now I modded the CIV4UnitInfos.xml file by adding the COMMANDO promotion to each unit (to the exception of units like animals of course).

I would like to find an easier way to reach the same result. For example, I know that it is possible to give a promotion to a full class of unit. The problem is that I don't have any programming skill and that I don't have the knowledge to use XML efficiently. To say it in another way, without guidance I don't really know what I am doing.

Moreover, it seems easier to mod the full game than the scenarios provided with the vanilla game and its add-ons.

In the same spirit, each time a patch or an add-on provide a new CIV4UnitInfos.xml file, I have to do the job again.

Could someone help me ? :sad:
 
Easiest way would be to have the barracks give you commando. Your starting warrior won't get it but there's no roads for him to use anyway.
 
Easiest way would be to have the barracks give you commando. Your starting warrior won't get it but there's no roads for him to use anyway.

Thanksfor your answer CivDude86, this is an interesting idea though I would need a barracks in every city building a unit.

I think I have read in some modding guide that there is an XML command allowing a modder to give a promotion to a whole class of unit. It would be easier than giving a promotion to each unit... unfortunately, if it is possible at all, I don't know how to do it.
 
Here is the XML command I have taken from a modding guide :

UnitCombatPromotions- if non-empty, contains free promotions that all units of a selected combat type receive. Format to fill is as follows:

XML:
<UnitCombatPromotions>
<UnitCombatPromotion>
<UnitCombat>UNITCOMBAT_ARCHER</UnitCombat>
<UnitPromotion>PROMOTION_COMBAT1</UnitPromotion>
</UnitCombatPromotion>
</UnitCombatPromotions>


The above would give all archery units a free Combat I promotion.

UnitClassPromotions- similar to above. If non-empty, contains free promotions for all units of a selected unit class to receive. Format as follows:

XML:
<UnitClassPromotions>
<UnitClassPromotion>
<UnitClass>UNITCLASS_AXEMAN</UnitClass>
<UnitPromotion>PROMOTION_SHOCK</UnitPromotion>
</UnitClassPromotion>
</UnitClassPromotions>


That would give all Axeman-class units Shock.

Unfortunately I don't have the least of an idea on the way I can use this command.

:sad:
 
Top Bottom