Author Topic: Problem with .tbl/.tbm priority order  (Read 2439 times)

0 Members and 1 Guest are viewing this topic.

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Problem with .tbl/.tbm priority order
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:


And without the MV_Core:


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:


 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Problem with .tbl/.tbm priority order
Where exactly do you have everything?

Are you running using a mod.ini? If so post it.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Re: Problem with .tbl/.tbm priority order
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
Code: [Select]
[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;


 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Problem with .tbl/.tbm priority order
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.

Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Re: Problem with .tbl/.tbm priority order
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.

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: Problem with .tbl/.tbm priority order
TBMs will always override the default TBL values, regardless of where they are placed.  Putting the values you want in a TBM will work.

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: Problem with .tbl/.tbm priority order
you have misspelled primary list if nothing else? also, every Media VP file should be in the mediavps folder.
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.

 
Re: Problem with .tbl/.tbm priority order
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.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: Problem with .tbl/.tbm priority order
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.

 

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Re: Problem with .tbl/.tbm priority order
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?

  

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: Problem with .tbl/.tbm priority order
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:

 

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Re: Problem with .tbl/.tbm priority order
Then, for what reason do I have to make all that "secondarylist" stuff in the mod.ini at all?

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: Problem with .tbl/.tbm priority order
: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.