Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Warp Shadow on June 18, 2008, 08:45:15 pm
-
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:
-
You need to add something to the start and end, IIRC.
-
Make sure the format is as follows:
#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 ;)
-
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...
-
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?
-
It was already there, I just moved it to a .tbm.
-
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?
-
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: