Author Topic: Weapon Table problem  (Read 2449 times)

0 Members and 1 Guest are viewing this topic.

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
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
Quote
$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.
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
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.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
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.
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~

 

Offline Fury

  • The Curmudgeon
  • 213
Did you also set $Impact Explosion Radius?

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
If you haven't changed the name of the weapon it is possible your settings are being overwritten in mv_adveffects-wep.tbm
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
Did you also set $Impact Explosion Radius?
That appears to have fixed it. Thanks.
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~

 

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
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?
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
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.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
So in my case, take all the weapons I have done, and throw them into one xxx-shp.tbm file?
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
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.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline dragonsniper

  • 29
  • Master of the Irrelevant
    • Steam
Quote
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.
« Last Edit: January 23, 2010, 05:02:59 pm by dragonsniper »
Do or do not, there is no try...
~HLP Member and Modder~
          ~~2008-201x~~