Log in

View Full Version : Disappeared mod!



EatYerGreens
04-01-2007, 15:53
I am very annoyed with myself at the moment. I was doing various test runs and everything was going swimmingly. (see kings and facshields thread (https://forums.totalwar.org/vb/showthread.php?t=80380) )

My next move was going to be tests to see if I could get hero kings, other than the first one on the list, to come out with their proper stats and VnVs.

However, I hadn't quite completed the AddNewFaction tutorial and set about the final task - creating the Textures\Men\Custom0....Custom6 folders and altering my custom UNIT_PROD file to use these, instead of the defaults.

I now find that, when I run MTW, my mod no longer appears on the era selection menu!


So the situation is that my 'EYG' prod files call for Custom0-Custom6 on numerous units but the default Crusader_BUILD\UNIT_PROD files are still in their original state.

I'm guessing that the game has to read various important files at startup because the strings which display on the era selection menu are in there. Could it be that it doesn't like the 'hybrid' state the game is currently in?

Do I have to alter the Crusader and Vikings prod files to also reference the custom0-6 terxtures or something?

R'as al Ghul
04-01-2007, 18:37
I now find that, when I run MTW, my mod no longer appears on the era selection menu!
This usually points at a problem in your startpos file. The one that doesn't appear.



So the situation is that my 'EYG' prod files call for Custom0-Custom6 on numerous units but the default Crusader_BUILD\UNIT_PROD files are still in their original state.

Do I have to alter the Crusader and Vikings prod files to also reference the custom0-6 terxtures or something?

No. They have nothing to do with each other, meaning they don't influence each other. Changes in your own prod files or startpos have no effect on the vanilla game. Also, what would you reference?


I'm guessing that the game has to read various important files at startup because the strings which display on the era selection menu are in there. Could it be that it doesn't like the 'hybrid' state the game is currently in?
I can imagine that if your errorfree startpos points at erroneous prod files, you'd miss the era in the menu.
If your own startpos has no errors and points at unchanged vanilla prod files it should work.
That it does not indicates that your startpos file is wrong, after all.

Hope that helps.

R'as

EatYerGreens
04-01-2007, 19:16
Thanks R'as

Panic over already, though.

It was a single spelling error in my MakeUnit:: entries.

I habitually pronounce "shield" as "she-ild", instead of "sheeld", so I occasionally mis-spell it as "sheild", so a "RoundSheildSpearmen" had snuck in. I should have stuck with cut'n'paste from other, valid, entries (also to get the number of tabs correct), shouldn't I?


I only managed to trace this fault because I began again, working through the tutorial, on fresh copies of the master files and when I finally arrived at the "King Roman numeral" stage, I could see the starting units (1 spear, 1 RK) and that clued me in to exactly where the fault was.

Having repaired my "EYG_" startpos and re-instated the PROD files containing the references to CUSTOM0-6 folders, everything works okay again.

Phew!

Only 6 or 7 hours wasted... :wall: