GZDoom crashes when i'm picking my decorate weapon! GZDOOM version 0-9-21
ACTOR Cyberdemongun : RocketLauncher 20002
{
  Weapon.SelectionOrder 350
  Weapon.AmmoGive 5
  Weapon.AmmoUse 1
  States
  {
  Spawn:
    CYRS A -1
    LOOP
  Ready:
    CYRO A 0 A_WeaponReady
    LOOP
  Deselect:
    CYRO A 0 A_Lower
  Select:
    CYRO A 0 A_Raise
  Fire:
    CYRO A 0 A_JumpIfNoAmmo(1)
    CYRO B 0 A_GunFlash
    Goto Ready
  Flash:
    CYRF A 0 A_CyberAttack
    stop
  }
}
gzdoom crashes when decorate weapon isn't assigned to keyconf??? or that's bug
When it's picked up fires a cyberdemon missile which aren't seen and gzdoom crashes it's my decorate fault or fault of gzdoom?
			
			
									
						
										
						DECORATE bug
Moderator: Graf Zahl
- 
				TheDarkArchon
														 - Posts: 1000
 - Joined: Wed Jul 06, 2005 11:58
 - Location: What's that fucking smell
 
- 
				Graf Zahl
														 - GZDoom Developer

 - Posts: 7148
 - Joined: Wed Jul 20, 2005 9:48
 - Location: Germany
 
- 
				Zeg-Vok
														 - Posts: 233
 - Joined: Wed Sep 21, 2005 18:04
 - Location: Up the creek without a paddle
 
Re: DECORATE bug
I think this should work
ACTOR Cyberdemongun : Weapon 20002
{
Obituary "%o was blown to bits by %k's Cyberdemon Gun."
Inventory.PickupMessage "You grabbed a Cyberdemon Gun!"
Weapon.SelectionOrder 350
Weapon.AmmoType "RocketAmmo"
Weapon.AmmoGive 5
Weapon.AmmoUse 1
States
{
Spawn:
CYRS A 1
LOOP
Ready:
CYRO A 1 A_WeaponReady
LOOP
Deselect:
CYRO A 1 A_Lower
Loop
Select:
CYRO A 1 A_Raise
Loop
Fire:
CYRO B 12 A_FireCustomMissile("Rocket", 0, 0, 0, 0)
Goto Ready
}
}
			
			
									
						
										
						ACTOR Cyberdemongun : Weapon 20002
{
Obituary "%o was blown to bits by %k's Cyberdemon Gun."
Inventory.PickupMessage "You grabbed a Cyberdemon Gun!"
Weapon.SelectionOrder 350
Weapon.AmmoType "RocketAmmo"
Weapon.AmmoGive 5
Weapon.AmmoUse 1
States
{
Spawn:
CYRS A 1
LOOP
Ready:
CYRO A 1 A_WeaponReady
LOOP
Deselect:
CYRO A 1 A_Lower
Loop
Select:
CYRO A 1 A_Raise
Loop
Fire:
CYRO B 12 A_FireCustomMissile("Rocket", 0, 0, 0, 0)
Goto Ready
}
}
- 
				DoomRater
														 - Posts: 397
 - Joined: Tue Jul 19, 2005 4:14
 - Location: Programmer's Room, talking to Will Harvey
 
