• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.

Modding Boosts (Eureka and Inspiration)

UglyBoy

Pseudo Impossible
Joined
Mar 8, 2002
Messages
191
Location
In the fluff drawer in the dryer.
Hopefully this is the right place to ask questions ...

After playing around with modding for the first time this patch (shameless plug) I wanted to look at boosts. Is it possible to have multiple boosts for the same tech/civic? Alternatively, can you trigger the same boost multiple times?

For example, the boost for Machinery requires you to have 3 archers. Can this be changed so that you get a boost per archer? Either up to 3 or for an infinite number.

From what I have found so far any changes past modifying the boost amount is not possible.
 
Code:
<Boosts>
	<Row TechnologyType="TECH_MACHINERY" Boost="50"
		TriggerDescription="LOC_BOOST_TRIGGER_MACHINERY"
		TriggerLongDescription="LOC_BOOST_TRIGGER_LONGDESC_MACHINERY"
		BoostClass="BOOST_TRIGGER_OWN_X_UNITS_OF_TYPE"
		Unit1Type="UNIT_ARCHER" NumItems="3"/>
</Boosts>
You can <Update> to change NumItems="3" but the ingame text will still show as "3" because the TriggerDescription Tag is not dynamic to any such changes you make:
Code:
<BaseGameText>
	<Row Tag="LOC_BOOST_TRIGGER_MACHINERY">
		<Text>Own 3 Archers.</Text>
	</Row>
</BaseGameText>
Boosts from the <Boosts> table are one-time things.
 
Back
Top Bottom