Can another kind soul tell Me why My failmod fails?

Baleur

Prince
Joined
Jul 9, 2010
Messages
526
Location
Qingdao, China
:goodjob:

So i've been sitting around for hours trying to get my single tiny 150% to 175% research modifier in Epic gamespeed mod to work!
It simply makes no change ingame, though it works if i just edit the vanilla file of course.

Then i read the "can a kind soul..." thread and discovered the <Update> tag.
Well the problem is, i have no idea how to properly set it up for this, i cant say <Where ResearchPercent> blah blah, how would it know only to change the one under the Epic gamespeed?

Anyway, here's what i got so far. In what simplest way possible can i tell it to simply <Update> the researchspeed?
Thanks in advance.

XML
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Jon Shafer (Firaxis Games) -->
<GameData>
	<GameSpeeds>
		<Row>
			<Type>GAMESPEED_EPIC</Type>
			<Description>TXT_KEY_GAMESPEED_EPIC</Description>
			<Help>TXT_KEY_GAMESPEED_EPIC_HELP</Help>
			<DealDuration>45</DealDuration>
			<GrowthPercent>150</GrowthPercent>
			<TrainPercent>150</TrainPercent>
			<ConstructPercent>150</ConstructPercent>
			<CreatePercent>150</CreatePercent>
			<ResearchPercent>175</ResearchPercent>
			<GoldPercent>150</GoldPercent>
			<GoldGiftMod>75</GoldGiftMod>
			<BuildPercent>150</BuildPercent>
			<ImprovementPercent>150</ImprovementPercent>
			<GreatPeoplePercent>150</GreatPeoplePercent>
			<CulturePercent>150</CulturePercent>
			<BarbPercent>150</BarbPercent>
			<FeatureProductionPercent>150</FeatureProductionPercent>
			<UnitDiscoverPercent>150</UnitDiscoverPercent>
			<UnitHurryPercent>150</UnitHurryPercent>
			<UnitTradePercent>150</UnitTradePercent>
			<GoldenAgePercent>125</GoldenAgePercent>
			<HurryPercent>100</HurryPercent>
			<InflationPercent>20</InflationPercent>
			<InflationOffset>-135</InflationOffset>
			<VictoryDelayPercent>150</VictoryDelayPercent>
			<IconAtlas>GAMESPEED_ATLAS</IconAtlas>
			<PortraitIndex>1</PortraitIndex>
		</Row>
	</GameSpeeds>
</GameData>

Modinfo
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="baleur01-xxxx-xxxx-xxxx-xxxxxxxxxxxx" version="1">
	<Properties>
		<Name>Baleur Epic Research</Name>
		<Stability>Beta</Stability>
		<Description>Changes the research multiplier in the Epic gamespeed from 150% to 175%.</Description>
		<Authors>Baleur</Authors>
		<SpecialThanks>Firaxis</SpecialThanks>
		<AffectsSavedGames>1</AffectsSavedGames>
		<MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
		<SupportsSinglePlayer>1</SupportsSinglePlayer>
		<SupportsMultiplayer>1</SupportsMultiplayer>
		<SupportsMac>0</SupportsMac>
		<ReloadLandmarkSystem>0</ReloadLandmarkSystem>
		<ReloadUnitSystem>0</ReloadUnitSystem>
	</Properties>
	<Dependencies />
	<References />
	<Blocks />
	<Files>
		<File md5="29CB5A1BC3A95B3FFEB1F7841EC47914">GameSpeeds.xml</File>
	</Files>
	<Actions>
		<OnModActivated>
			<UpdateDatabase>GameSpeeds.xml</UpdateDatabase>
		</OnModActivated>
	</Actions>
</Mod>
 
Where Type="GAMESPEED_EPIC"
Set ResearchPercent="175"


Type is ALWAYS unique, so "Where" the Type.
 
Top Bottom