Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: SF-Junky on November 16, 2008, 07:05:04 am
-
Hello, here I am again with one of my nice little problems:
In my StormFront12 mod, I've recently changed some of the weapons descruptioned displayed in the weapons loadout menu before you launch a mission. But for some reason the game doesn't show the changes, it always shows what the mv_tech-wep.tbm in the MV_Core.vp shows. Only if I remove the MV_Core.vp it shows what I wrote in my weapons.tbl.
With MV_Core in my main folder:
(http://sebastian.ramrod-network.de/Freespace/images/RandomScreen02a.gif)
And without the MV_Core:
(http://sebastian.ramrod-network.de/Freespace/images/RandomScreen02b.gif)
I don't understand this. I thought any .tbl which is in a mod folder is prioritized higher than those in the main folder - especially if they're not even packed in a vp. :confused:
-
Where exactly do you have everything?
Are you running using a mod.ini? If so post it.
-
Where exactly do you have everything?
The .tbl is in StormFront12/data/tables of course, the VP_Core.vp in the FS2 main folder.
Mod.ini
[launcher]
image255x112 = StormFront12-Logo.bmp;
infotext = The Storm Front Saga - Episodes I & II;
website = http://sebastian.ramrod-network.de/Freespace/Junk-Productions.html;
forum = ;
[multimod]
primrylist = StormFront12;
secondarylist = mediavps;
-
Is that mod.ini in your StormFront12 foilder or in the main FS2 one? Cause it should be in the StormFront12 one.
Either way remove the entire primarylist line and try that again.
-
Done, doesn't work. There are also no other unpacked weapons.tbls or .tbms in the main dir/data/tables order which could be prioritized higher.
-
TBMs will always override the default TBL values, regardless of where they are placed. Putting the values you want in a TBM will work.
-
you have misspelled primary list if nothing else? also, every Media VP file should be in the mediavps folder.
-
TBMs will always override the default TBL values, regardless of where they are placed. Putting the values you want in a TBM will work.
Not exactly correct when it comes to mods at least. For example, I've got a ship with 12 turrets. I added a mod that replaces this ship but with only 11 turrets (included a tbm entry). FRED will complain about the missing 12th turret. It looks like it loads the original entries, then overrides any of those entries with the tbm. If the entry isn't in the tbm then it'll use the original one.
-
Well, subsystems aren't handled as a whole, but rather are handled individually. So a given subsystem's values will always be overridden by a TBM, but once a subsystem is declared, it will always be there.
-
It also doesn't make any difference wether I put the Mediavps into an extra folder or just the main folder. I really don't understand this. Why aren't the .tbls of my mod prioritized higher? For what reason do I have to make all that "secondarylist" stuff in the mod.ini at all? If the mediavps are read first anyway?
-
It also doesn't make any difference wether I put the Mediavps into an extra folder or just the main folder. I really don't understand this. Why aren't the .tbls of my mod prioritized higher?
Because TBMs ALWAYS OVERRIDE TBLs
It doesn't matter where they are placed, weapons.tbl will always be overridden by TBMs. Did you read my first post in this thread? :wtf:
-
Then, for what reason do I have to make all that "secondarylist" stuff in the mod.ini at all?
-
:wtf: So that the launcher can use your mod's dependencies. Understand that this is much bigger than a matter of TBMs and TBLs. There are plenty of effects, maps, models, etc that you want to be loaded in order. All of the mod's stuff will override the mediavp stuff. TBMs vs TBLs are a special case. Also, if you put data you need into a TBM, it should work fine.