Author Topic: laser incineration glitch  (Read 2162 times)

Hyper2Snyper

  • Guest
laser incineration glitch
« on: December 24, 2017, 05:36:52 am »
I am trying to make a small laser pistol that has a clip since it takes up a 1x1 area. but when I fire it it makes it look like an incendiary.

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: laser incineration glitch
« Reply #1 on: December 24, 2017, 05:42:35 am »
You need to give the ammunition a hitAnimation - it's just pulling a few of sprites from HIT.PCK (or whatever the .PCK that contains bullet hits is).  If you want it to look like a laser hit, checkout the ruleset example for the laser pistol, and put things like the hitSound/hitAnimation/power on the clip item.

Hyper2Snyper

  • Guest
Re: laser incineration glitch
« Reply #2 on: December 24, 2017, 05:43:20 am »
oh so I cant have the hit animation on the weapon?

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: laser incineration glitch
« Reply #3 on: December 24, 2017, 07:50:24 am »
You can, if the weapon uses itself as ammunition - this is the case for the standard laser weapons.  Otherwise the hitAnimation on the clip is used instead.