Author Topic: .tbm's being an ass  (Read 1190 times)

0 Members and 1 Guest are viewing this topic.

.tbm's being an ass
Can someone explain why when I put a weapons-wep.tbm into my data/tables folder, with the properties section of it being identical to the .tbl files in every way except instead of filetype: TBL (.tbl) it says filetype: TBM (.tbm), it STILL has absolutely no effect in the game? :hopping:
"I only miss what I don't hit."
Show me something that beats 87 BF reds and I'll show you Hateful Lies!!!

 

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Re: .tbm's being an ass
You need to add something to the start and end, IIRC.
Gettin' back to dodgin' lasers.

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: .tbm's being an ass
Make sure the format is as follows:

Code: [Select]
#Primary Weapons

$Name: My Awesome Laz0r
... [rest of entry]

$Name: My Other Awesome Laz0r
...

#End

#Secondary Weapons

$Name: My Awesome Missile
...

#End

And, of course, you can remove the primary or secondary weapons section if there are no weapons of that type ;)

 
Re: .tbm's being an ass
Well it seems I forgot #end but now all the enemies have them and my teammantes can no longer equip them. They also cease to appear in the weapon loadout section and in FRED...
"I only miss what I don't hit."
Show me something that beats 87 BF reds and I'll show you Hateful Lies!!!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: .tbm's being an ass
You added a weapon.. Did you add that weapon to the allowed weapons for the ship you were flying? Did you add the weapon the mission's list of allowed weapons?
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Re: .tbm's being an ass
It was already there, I just moved it to a .tbm.
"I only miss what I don't hit."
Show me something that beats 87 BF reds and I'll show you Hateful Lies!!!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: .tbm's being an ass
Do you have the required fields in the tbm file?

In wep.tbm #Primary Weapons and #End (and/or same with secondary weapons)...

What is the exact name of the tbm file?
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Re: .tbm's being an ass
Yes I did. For some reason however, I've managed to fix it by moving the .tbm below the weapons.tbl.....not sure why it works but it works! :rolleyes:
"I only miss what I don't hit."
Show me something that beats 87 BF reds and I'll show you Hateful Lies!!!