noob help please

Col Mustard

Chieftain
Joined
Feb 15, 2010
Messages
45
My first mod isn't working at all. I've checked with kael's guide and other forum posts but I can't find where I went wrong. The xml code is in the first spoiler and the modinfo is in the second spoiler.

Spoiler :
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 9/30/2010 4:17:39 PM -->
<GameData>
<Buildings>
<Update>
<Where Type="BUILDINGCLASS_COURTHOUSE"/>
<Set HurryCostModifier="25" Cost="100"/>
</Update>
</Buildings>
</GameData>


Spoiler :
<?xml version="1.0" encoding="utf-8"?>
<Mod id="80be0093-8304-41a9-8dd2-a07e7b9036ab" version="1">
<Properties>
<Name>Courthouse Mod</Name>
<Stability>Alpha</Stability>
<Description>Allows hurrying courthouse</Description>
<Authors>Bobby</Authors>
<AffectsSavedGames>1</AffectsSavedGames>
<MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
<SupportsSinglePlayer>1</SupportsSinglePlayer>
<SupportsMultiplayer>1</SupportsMultiplayer>
<SupportsMac>1</SupportsMac>
<ReloadLandmarkSystem>0</ReloadLandmarkSystem>
<ReloadUnitSystem>0</ReloadUnitSystem>
</Properties>
<Dependencies />
<References />
<Blocks />
<Files>
<File md5="3F21DFC7E6829A12559DACA2415F3BD3">XML/Buildings/CIV5Buildings.xml</File>
</Files>
<Actions>
<OnModActivated>
<UpdateDatebase>XML/Buildings/CIV5Buildings.xml</UpdateDatebase>
</OnModActivated>
</Actions>
</Mod>
 
Did you create all the files from within modbuddy? Like create the folders and xml documents from scratch?

also it should be BUILDING_COURTHOUSE, not BUILDINGCLASS
 
yes, all files and folders were created in modbuddy from scratch. I've changed it to BUILDING_COURTHOUSE but didn't fix it.
 
Yes, cleaned and rebuild many time, no change. I think my mod is having trouble updating the sql datebase since I can change the sql datebase directly and everything works.
 
here is a picture of the action tab if it helps.

actions_tab.png
 
ok I'm an idiot. I found my problem...I put UpdateDatebase instead of UpdateDatabase in the action tab. I fixed it and now everything works great.
 
Back
Top Bottom