Problem is : Firing FireArm(with A_FireBullets), sometimes just not hit.
This is code :
Code: Select all
Fire :
SCOP C 1 A_FireBullets(0,0,1,150,"M90Puff",FBF_NORANDOM,30000)
TNT1 AAA 0 A_FireBullets(0,0,1,150,"M90NotShownPuff",FBF_NORANDOM,30000)
Look this. It's working fine.
Code: Select all
SCOP A 1 A_FireBullets(0,0,1,10,"M40Puff",FBF_NORANDOM,20000)
TNT1 AAAAAAAAAAAA 0 A_FireBullets(0,0,15,"M40NotShownPuff",FBF_NORANDOM,20000)
But only that weapon does not working!
These are Bulletpuffs of them :
Code: Select all
actor NewPuff : BulletPuff
{
Renderstyle Add
-NONETID
+NOBLOCKMAP
+NOGRAVITY
-ALLOWPARTICLES
damagetype "Bullet"
+NOEXTREMEDEATH
+PUFFONACTORS
+PUFFGETSOWNER
decal RifleChip
States
{
Spawn:
TNT1 A 1
TNT1 A 0 A_JumpIfCloser(16,"Nothing")
TNT1 A 0 A_SpawnItemEx("GunImpactSmoke", 0, 0, 0, 0, 0, 0, 0, 128, 0)
TNT1 A 0 A_GiveToTarget("HitIndicator",1)
TNT1 A 0 A_PlaySound("effect/hit")
WPPU ABCDEF 1
WPPU GHI 1 A_FadeOut(0.01)
WPPU JKL 2 A_FadeOut(0.05)
WPPU MN 2 A_FadeOut(0.10)
Stop
Nothing :
TNT1 A 0
Stop
Crash :
TNT1 A 0
TNT1 A 0 A_SpawnItemEx("GunImpactSmoke", 0, 0, 0, 0, 0, 0, 0, 128, 0)
TNT1 A 0 A_PlaySound("effect/rico")
WPPU ABCDEF 1
WPPU GHI 1 A_FadeOut(0.01)
WPPU JKL 2 A_FadeOut(0.05)
WPPU MN 2 A_FadeOut(0.10)
Stop
}
}
actor M40Puff : NewPuff
{
DamageType "M40"
}
actor M90Puff : NewPuff
{
DamageType "M90"
}
What is the problem?
Is this Zandronum Bug? or may I did something wrong?
This is really serious to me...
Someone help plz!
