Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: jdh300x on June 13, 2012, 07:25:41 am
-
Thankyou droid and headde for all that help in getting me my model together.
It is simply a box, with an orion turret on it.
I converted it to pof, and created a table file for it (it is a sentry gun, so i copied the .tbl file from the watchdog)
I put both the table file and pof in the correct folder, but now the game is not reading them. What are some common mistakes that i might be making?
And yes, i have no mods selected when i attempt this.
-
Log. (http://www.hard-light.net/forums/index.php?topic=56279.msg1180359#msg1180359)
-
Thankyou droid and headde for all that help in getting me my model together.
It is simply a box, with an orion turret on it.
I converted it to pof, and created a table file for it (it is a sentry gun, so i copied the .tbl file from the watchdog)
I put both the table file and pof in the correct folder, but now the game is not reading them. What are some common mistakes that i might be making?
And yes, i have no mods selected when i attempt this.
What exactly do you mean by "the game is not reading them"?
Which folder particularly did you put the pof and table into? It's good practice to create a mod folder for your tests and put the pof and table into the /models and /tables folders respectively. Then just select your mod in the launcher to test with it. You can create a simple mod.ini (http://www.hard-light.net/wiki/index.php/Mod.ini) to reference the MediaVPs with it if you wish.
Also, you should probably use a modular table file (ending in .tbm instead of .tbl) for the ship so you don't have to copy the entire ships.tbl over.
-
Hmm, could be your table...does the name of your table have the "-shp" tag at the end? Your filename should be like so "MySentryturrent-shp.tbm". Also note it should be .tbm not .tbl. Not to mention. check whether your table as the "#Ship Classes" and "#End" tags.
Otherwise post a debug log....
-
It does have the #ship classes and #End things. I also have it as a .tbm file as well. But what is this -shp thing.
I have never heard of this in a tutorial before?
-
the -shp thing at the end is what did it. I didnt have it.
It works now, so thankyou very much.
Now all i need is to texture and i will have a working cube sentry thing!!!
-
the -shp tells the game what type of TBM it is, -shp means add to ships.tbl, -wep for weapons.tbl, etc.
-
Most of the time my custom tbm's didn't work, mainly becoz of the "-shp" thing or because it was missing the hash tags... :nono:
-
If you haven't already take a look through
http://www.hard-light.net/wiki/index.php/Ships_and_General_Mod_Creation