Page 1 of 1

Mod Manager Mods Not Working With Beta?

Posted: Sat Apr 11, 2015 1:25 pm
by Emmeric
Moved this here instead of adding on to another post.

I opted for beta version and eliminated the File does not exist error.

However, the game starts and none of the changes take place. I have been experimenting with just one change - to Spontoons in Dragonhold - just to see if I can get modding to work. So far, none of the modding changes work.

Here is my path: C:\Users\william\Documents\Sovereignty\Mods\Dragon\Data\Game\Sov_Charts.XML -looks right to me, and the Mod Manager reads it. Dragon shows up in the manager.

Here is a sample of the XML, following the Help guide. 1 unit only:

Code: Select all

 <Table name="Unit">
    <Row name="Spontoons" displayname="UNITNAME405" art="halberdier" realm="Dragonhold" rlmid="29" form="1" pce="3" bld="4" war="5" sound="organic_whoosh_33" movesound="move_stack_standard" class="Infantry" race="Human" entity="Unit" cwork="0" total_cost="65" total_upkeep="10" purch="Yes" trans="No" time="2" cap="0" contact="0" purc="0" pack="No" terrain="Any" type="Standard" atttype="Physical" attack="2" defense="1" move="3" life="100" spot="2" rng_att="0" range="0" speed="3" morale="3" heal="3" special1="Pikes" special2="0" special3="0" medal1a="+1 Speed" medal1b="Guardian" medal2a="Dragonslayer" medal2b="+1 Defense" soundranged="0" attackanim="attack_peppering" resource1="0" res1="0" resource2="0" res2="0" />
 </Table>
As you can see, I changed a couple numbers (cost, defense, and heal) to be real obvious when I start the game. So far, no luck. I tried inserting <root></root> with it, and even tried a <Replace></Replace> insertion.

Is the game not using mods at this time? Or is my XML file missing anything?

Also, the Help guide says only one unit. Should there be a separate Sov_Chart.XML for each unit to be modified?

Re: Mod Manager Mods Not Working With Beta?

Posted: Sat Apr 11, 2015 1:32 pm
by Jekky
As noted in the next topic down, there is indeed a bug - the game looks in the wrong place for the modded sov_charts.xml file, meaning that file can't be modded in the current build.

Fixes for this will be included in the next update as soon as we can.

Regarding the format of the mods:

the <root> tag is required, the format of the rest looks correct. You may place multiple units in a single file (just add more <row> tags), and you can also mod provinces, realms, etc in the same file (add more <table> tage as appropriate) - basically, just copy the format of the existing sov_charts.xml.

Re: Mod Manager Mods Not Working With Beta?

Posted: Sat Apr 11, 2015 1:38 pm
by Emmeric
Excellent! Thank you!