Hey Guys..... I need help to understand why my mod does not work on WH2 Mortal Empires.
The mod is for the Wood Elves, is that every time the Oak of Ages is improved, it gives us as a reward two new items for Generals, Heroes or Lords. In total add 6 new items.
This mod I did for WH1 and it worked fine. Now I wanted to adapt it to WH2 Mortal Empires, making the changes that were needed (multiple tables), but the game never starts (without giving an error or something else).
For the tests I did, I affirm that the problem must be in the definition of the Ancillaries Tables, since I made several tests and when I change my items for others of the game, it starts without error.
So that they can understand better I will leave a link with the mod so they can see it.
I leave a link to the mod of WH1 (works) and another with the WH2.
If you can tell me what I did wrong or what I did not do, I would appress you
To make the Mod use PFM 5.0 with Schema_104.
I apologize for my poor English, since it is not my native language.
Thank you very much
WH1 Mod:
https://drive.google.com/open?id=0B7FHJlSIFFxLNE14NUdTMERZZUUWH2 Mod:
https://drive.google.com/open?id=0B7FHJlSIFFxLVXhlc1JwY2E0LXM
Comments
I would recommend that you try to rebuild the mod using the Assembly kit. A small number of database entries changed slightly in game 2 so you might be referencing non-existent db entries (oir missing out on new tables entirely).
PFM is fantastic, but the official tools are really good for db editing because they won't let you save your changes to a table if it's invalid.
Rifts & Ruins cause corruption: http://steamcommunity.com/sharedfiles/filedetails/?id=796161746
Early Gyrocopters: http://steamcommunity.com/sharedfiles/filedetails/?id=792356211
Chivalry Ain't Easy: http://steamcommunity.com/sharedfiles/filedetails/?id=876869222
Outposts for All: http://steamcommunity.com/sharedfiles/filedetails/?id=907418812
Trait Descriptions: http://steamcommunity.com/sharedfiles/filedetails/?id=952084679
Summon the Elector Counts: http://steamcommunity.com/sharedfiles/filedetails/?id=1131334648
- Report
0 · Disagree AgreeLook at these pictures:
https://drive.google.com/open?id=0B7FHJlSIFFxLZ3JMYkoyV3Eyanc
https://drive.google.com/file/d/0B7FHJlSIFFxLWXphbkY1S1VhbFE/view?usp=sharing
Considering I am a newbie in modding, there are many things that I do not know. I use PFM because it seems more intuitive to me.
Do you think the problem could be in using the PFM?
Keep in mind that I've already made small mods with PFM and they all work.
In the following link you will find all the extracted tables:
https://drive.google.com/open?id=0B7FHJlSIFFxLeU9ZWWxBM1NDTGM
thank you very much
- Report
0 · Disagree AgreeI would recommend you make your db changes in official tools, then export it into a pack file, which you then fix up in PFM.
The official tools also have useful features to see how everything is connected - right click a database field to "see references" and "show schema" that shows you the various tables are connected to the fields in the current table you are currently in.
As for digging around in more detail - unfortunately I can't right now - trying to figure out my own mod issues
Rifts & Ruins cause corruption: http://steamcommunity.com/sharedfiles/filedetails/?id=796161746
Early Gyrocopters: http://steamcommunity.com/sharedfiles/filedetails/?id=792356211
Chivalry Ain't Easy: http://steamcommunity.com/sharedfiles/filedetails/?id=876869222
Outposts for All: http://steamcommunity.com/sharedfiles/filedetails/?id=907418812
Trait Descriptions: http://steamcommunity.com/sharedfiles/filedetails/?id=952084679
Summon the Elector Counts: http://steamcommunity.com/sharedfiles/filedetails/?id=1131334648
- Report
0 · Disagree AgreeBad news : the latest PFM doesn't handle the new ancillaries table. The good news : you can edit yourself the xml schema and make it work, as I did for my WE followers mod.
Basically there is a new boolean entry in the table at the end. So take your PFM, open the max version file and increment the verion of the ancillary table by one. We'll be adding this newer one in the master schema.
In the master schema xml file, search for the ancillary table, copy the latest version (should be 15), change it to 16, and in the inside nodes, add a last entry with a boolean type.
Now, when you open the anciallary table in PFM from the new data.pack, it should not be empty. You'll have to reedit the value by hand, because the old versions from your mod is in WH1 format.
- Report
0 · Disagree AgreeThe information you have given me is very good, since I am a newbie in modding.
Regarding the problem, I already solved it. It has nothing to do with the PFM, but CA changed the name of many "effects" in the table "ancillary_to_effects_tables", when that change the game starts and the mod worked correctly.
By the way, since I'm a newbie, I always look at other mods, to understand how everything works. Your mod "Followers of the Woods" not only helped me but I have installed them in WHM1 and WHM2, and I like that they do not forget the Woood Elves.
Thank you very much for the information
- Report
0 · Disagree AgreeGlad you like my mod, it features too the only way I've found to add follower drops in the game because followers aren't included as random rewards like the other ancillaries, so you have to use drop chance scripts as I've done.
- Report
1 · Disagree Agree- Report
0 · Disagree Agree- Report
0 · Disagree Agree