-
December 13, 2012, 07:59 PM
#1
Ordinarius
[Help needed] Why is my mod broken?
I've attached the mod in question. My goal is to add a bunch of new units (and alter one existing unit's name) and garrison them in various buildings. Unfortunately it looks like i've forgotten something when creating the new units (and yes I read the tutorial, and i'm still stumped).
If you edit building_level_armed_citizenry junctions and simply remove the references to the new units (but leave all the other additions in place, including SHO_Castle_0_Dummy) the mod loads and works. Garrisons appear where they should, for the entries that weren't removed - but the name change (to Ikko Ikki Naginata Warrior Monks Citizenry) doesn't take effect.
If there is even a single garrison entry referring to a new unit, Shogun 2 won't even make it to the sega logo without crashing to the desktop.
I'm using PFM 2.4.1. Can anyone take a look in the pack file and tell me what i've done wrong?
-
December 13, 2012, 09:12 PM
#2
Re: [Help needed] Why is my mod broken?
you are missing the cdir_unit_qualities table bro, and i don't know if it makes a difference, but there's no unit description, just the name in the text. On top of that, there's a column titled "garrison availability" that needs to be changed to "True". I've made a garrison mod for my own use a while back and had some of the same issues. also make sure they all have their very own unique id's for the units
-
December 13, 2012, 09:18 PM
#3
Ordinarius
Re: [Help needed] Why is my mod broken?
What table is garrison availability in?
Edit: Found it. It's the Armed Citizenry column in the Units table. Changing all the values to true allowed the mod to load. +rep for you, thanks!
Note: the lack of cdir units table doesn't matter, apparently.
New question: why didn't the Naginata Warrior Monks Citizenry name change stick? Bah it doesn't matter, now I know what i'm doing and can clone the regular Naginata Warrior Monks instead of trying to rename Ikko Ikki.
Last edited by Charsi; December 13, 2012 at 09:40 PM.
-
December 13, 2012, 11:34 PM
#4
Re: [Help needed] Why is my mod broken?
i can explain the Naginata Warrior Monks Citizenry. See, when the units.loc is called something else, like yours is, it won't overwrite anything else. However, if you keep it's name units.loc it overwrites it. so, if you want it to rename them just change the name back to units.loc. now, idk how it will affect the new units, but i don't think it should
-
December 14, 2012, 07:08 AM
#5
Ordinarius
Re: [Help needed] Why is my mod broken?
Ah so to rename the unit i'd have to import all of units.loc. Yeah, I ended up cloning Naginata Warrior Monks into a garrison unit for all the buddhist clans.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules