Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Linkrulezall

Flashlight causes immense bleeding

Recommended Posts

I've got this flashlight that's about 90% working, however there's one problem. When you point the flashlight at an enemy, it causes them to bleed all over the place. Does anyone know how to fix this? Here is the code for the Fire and Hold states that's causing problems:

Fire:
SFLG A 0 A_PlaySoundEx("flashlight/click","Weapon")
SFLG A 0 A_PlaySoundEx("flashlight/hum","SoundSlot5",1)
SFLF A 0 A_Light2
SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam1")
SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam2")
SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam3")
SFLF A 0 BRIGHT A_Refire
SFLG A 0 A_PlaySoundEx("flashlight/click","Weapon")
SFLG A 0 A_StopSoundEx("SoundSlot5")
SFLF A 0 A_Light0
goto Ready
Hold:
SFLF A 0 A_Light2
SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam1")
SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam2")
SFLF A 1 A_FireBullets(0,0,1,0,"Lightbeam3")
SFLF A 0 BRIGHT A_Refire
SFLG A 0 A_PlaySoundEx("flashlight/click","Weapon")
SFLG A 0 A_StopSoundEx("SoundSlot5")
SFLF A 0 A_Light0
Goto Ready

The problem seems to be originating from the use of A_FireBullets. Is there some flag to change either on the light itself or on the enemies so that they won't bleed in the light like a vampire? (The DamageType is set to Flashlight)

Share this post


Link to post

Title and wobbly eyesight made me think this was going to be a very different topic.

Share this post


Link to post
Phml said:

Title and wobbly eyesight made me think this was going to be a very different topic.


LMAO. "Use more lube" ?

Share this post


Link to post

I didn't think to use +BLOODLESSIMPACT at the time, but +AXEBLOOD fixed the problem. Since flashlights that don't suck seem to be in short supply around here, maybe I should post it somewhere?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×