Very simple Mod seems be OK, but it dont work in game

Lutrix

Chieftain
Joined
Oct 24, 2010
Messages
2
Well, near 24h now trying and looking for manuals/forums to get working very simple "mod", but it dont work in game :

Spoiler :

<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 10/24/2010 12:42:52 PM -->
<Technologies>
<Update>
<Where Type="TECH_POTTERY" />
<Set>
<cost>3500</cost>
</Set>

</Update>
</Technologies>


Here you can see the XML file in the ModBuddy

Spoiler :

solutionexplorer.jpg



Actions in the ModBuddy

Spoiler :

actionmodbuddy.jpg



After building file in the MODs directory



I load it in game, launch new game and where I expect the potery cost to be 3500 science, it remains same by default.

I have tried to change it directly in main game XML file and it worked, so the error is in the MOD file, it just dont update the information and I really dont know why....

Thanks in advance for any ideas.
 
Well, near 24h now trying and looking for manuals/forums to get working very simple "mod", but it dont work in game :

I load it in game, launch new game and where I expect the potery cost to be 3500 science, it remains same by default.

I have tried to change it directly in main game XML file and it worked, so the error is in the MOD file, it just dont update the information and I really dont know why....

Thanks in advance for any ideas.

I'm having the same problem; as far as I can tell the UpdateDatabase action is either not firing or not completing successfully, but I don't know where to look to find an error log.
 
I think the issue may be in the path and filename. Dont know how modbuddy or Civ5 handles spaces in the name so try removing the space from "Game Rules1.xml" file. Then in the project screen where you define the path try "Xml/GameRules1.xml" as the slash may also be the wrong way for mod buddy.
 
You might be missing the <GameData> tag?

<GameData>
<!-- TODO: Insert table creation example here. -->

<!-- TODO: Insert table data example here.-->

<!-- Enter your Game Data here. -->
<Technologies>
<Update>
<Where Type="TECH_POTTERY" />
<Set>
<cost>3500</cost>
</Set>

</Update>
</Technologies>
</GameData>

However I still couldn't get the database to update. You can use the Firefox SQLite manager to check the mods is getting enabled in the mod database; check the \My Games\Civ5\cache\Civ5ModsDatabase.db file. The "OnModActivated" actions should be at the bottom of the ModActions table.
 
About the only thing I can suggest is snagging yourself a copy of Kael's guide from the tutorial section (it's stickied at the top) and going through that. I'm pretty sure there's a section for modifying in-game resources.
 
This doesn't work?

Code:
<GameData>
     <Technologies>
          <Update>
               <Where Type="TECH_POTTERY" />
               <Set Cost="3500"/>
          </Update>
     </Technologies>
</GameData>
 
Back
Top Bottom