Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: dragonsniper on January 21, 2010, 08:32:16 pm
-
I'm having some trouble figuring a weapon table related problem out. So, I have my table, everything works and all, and lower down there is this
$Impact Explosion: none
I would like a certain effect (let's say an explosion .ani effect) to play on a weapon impact. So I put the name of the .ani file in place of "none" and try it ingame, but it doesn't seem to work (the chosen effect doesn't play...) I also tried editing the weapons_expl.tbl by adding the explosion names into that, then changing the "$Impact Explosions" field, but that didn't seem to solve it either. Any help would be appreciated.
-
http://www.hard-light.net/wiki/index.php/Weapons.tbl#.24Impact_Explosion:
Says that the explosion needs to be defined in Weapon_expl.tbl
Also, please run a debug build and post the log, with that weapon firing.
-
Says that the explosion needs to be defined in Weapon_expl.tbl
Also, please run a debug build and post the log, with that weapon firing.
I've read through that, and did what it said, however it didn't seem to make any difference. As for the debug build, I'll get it as soon as possible.
-
Did you also set $Impact Explosion Radius?
-
If you haven't changed the name of the weapon it is possible your settings are being overwritten in mv_adveffects-wep.tbm
-
Did you also set $Impact Explosion Radius?
That appears to have fixed it. Thanks.
-
One more question regarding tables. Is it possible (in a not so painful manner) to remove the FS1 weapons so that I only have my own custom weapons appear in the weapons loadout section?
-
You would need to have a weapons.tbl in your mod folder (or rather, the highest priority location you can find). That tbl needs to contain all weapons you want in there, because deleting entries is not easily possible when using tbms.
-
So in my case, take all the weapons I have done, and throw them into one xxx-shp.tbm file?
-
No. Take all the weapons you want, and put them into a weapons.tbl file in your mod directory.
Oh, and read the wiki page, please? If you put weapons into a -shp.tbm you will get a very confused parser.
-
No. Take all the weapons you want, and put them into a weapons.tbl file in your mod directory.
Ok, thanks. I'll give this a try.
EDIT: That seemed to do it. Thanks for the help.