[fixed]+noalert problem with 1.0.00

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

[fixed]+noalert problem with 1.0.00

Post by Enjay »

The following flashlight weapon does not alert monsters in 2.0.98 and earlier, but does in 1.0.00.

Code: Select all

ACTOR DoomFlashLightBeam
{
	Speed 100
	Mass 5
	+NOGRAVITY
	+NOCLIP
	+NOBLOCKMAP
	+DONTSPLASH
	Renderstyle NONE
     States 
     { 
     Spawn: 
        NONE AABBCCDDEE 1 
        Stop
	} 
}

ACTOR DoomFlashLight : Weapon 21046
{
Scale 0.2
+NOALERT
+DONTBOB
Weapon.SelectionOrder 4000
Inventory.PickupSound "misc/i_pkup" 
Inventory.PickupMessage "You got the Flashlight"
States 
{ 
Spawn: 
   NJTU A -1 
   LOOP 
Ready: 
   NJT1 A 1 A_WeaponReady 
   Goto Ready
Deselect: 
   NJT1 A 1 A_Lower 
   Loop
Select: 
   NJT1 A 1 A_Raise 
   Loop
Fire: 
   NJT1 A 0 A_PlaySound("DoomFlashlighton")
   NJT1 A 1 A_FireCustomMissile("DoomFlashLightBeam",0,0,0,0)
   goto Hold
Hold:
   NJT1 A 1 A_FireCustomMissile("DoomFlashLightBeam",0,0,0,0)
   NJT1 A 0 A_Refire
   NJT1 A 1 A_PlaySound("DoomFlashlightoff")
   Goto Ready
 } 
}
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Yet another 2.0.99 bug...
Locked

Return to “Closed Bugs”