Weapon Piece help...

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Weapon Piece help...

Post by chaoscentral »

seeing as how Im not getting any help on the zdoom 96x thread... might as well ask here. Can some one please tell me why zdoom crashes when you put this in decorate........

Code: Select all

ACTOR BFGPiece : WeaponPiece 20020 
{ 
   WeaponPiece.Weapon "BFG1000" 
   WeaponPiece.Number 1 
   Inventory.PickupSound "misc/w_pkup" 
   Inventory.PickuMessage "You got a piece of the BFG" 
   States 
   { 
   Spawn: 
      AMMO A -1 
      Loop 
   Pickup: 
      TNT1 A 0 
      Stop 
   } 
} 

ACTOR BFGPiece2 : BFGPiece 20022 
{ 
   WeaponPiece.Number 2 
} 

ACTOR BFG1000 : BFG9000 20021 
{ 
   Health 2 
}
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Because there's a bug in the code that prevents you from using inherited weapons for weapon pieces. Fixed for the next version.
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Post by chaoscentral »

so its fixed in the 07/29 version?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

No, for the next version.
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Post by chaoscentral »

k... yay something to look forward too!!!!!
Locked

Return to “Editing (Archive)”