Getting a mod to "activate"

Thalassicus

Bytes and Nibblers
Joined
Nov 9, 2005
Messages
11,057
Location
Texas
I'm having a problem getting a mod to show up ingame. Can anyone spot what I did wrong? I've double-checked all this and cannot find what I'm overlooking.

Spoiler XML :
modxml.jpg

Spoiler Actions :
modactions.jpg

Spoiler Properties :
modproperties.jpg

Spoiler Mod list :
modlist.jpg


Within Civ5DebugDatabase.db and ingame there's no effect.

Edit: Nevermind, spotted the problem. Works now, cheers!
 
I'm having a problem getting a mod to show up ingame. Can anyone spot what I did wrong? I've double-checked all this and cannot find what I'm overlooking.

Spoiler XML :
modxml.jpg

Spoiler Actions :
modactions.jpg

Spoiler Properties :
modproperties.jpg

Spoiler Mod list :
modlist.jpg


Within Civ5DebugDatabase.db and ingame there's no effect.

Edit: Nevermind, spotted the problem. Works now, cheers!

Would it be too much trouble to just SAY how you solved your problem instead of disappearing with the solution someone else is inevitably going to need?
 
Sorry, you're right! I'm so excited I didn't write out details.

In the XML, I was missing <update> tags. You can't just use where/set instructions alone:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 9/28/2010 6:14:01 PM -->
<GameData>
    <Improvement_Yields>
        [B]<Update>[/B]
            <Where ImprovementType="IMPROVEMENT_ACADEMY" />
            <Set Yield="15" />
        [B]</Update>[/B]
    </Improvement_Yields>
    <Improvement_Yields>
        [B]<Update>[/B]
            <Where ImprovementType="IMPROVEMENT_CUSTOMS_HOUSE" />
            <Set Yield="12" />
        [B]</Update>[/B]
    </Improvement_Yields>
    <Improvement_Yields>
        [B]<Update>[/B]
            <Where ImprovementType="IMPROVEMENT_MANUFACTORY" />
            <Set Yield="6" />
        [B]</Update>[/B]
    </Improvement_Yields>
</GameData>
 
Did not mean to come off nasty, but perhaps you know how frustrating it is to be googling for an answer months or years later and google brings you to this thread, only to read:

"EDIT: I figure it out."

Oooooooh I hate that.
 
Back
Top Bottom