Classes:PigPlayer
Players hit by a porkalator shot are temporarily turned into this. Upon morphing back to their original shape, their health is reset to the default for their class (usually 100). Using the chaos device puts an end to the transformation. Not to be confused with the pig class.
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Pig | |||
---|---|---|---|
Actor type | Player | Game | ![]() |
DoomEd Number | None | Class Name | PigPlayer |
Classes: PlayerPawn → PigPlayer
DECORATE definition
ACTOR PigPlayer : PlayerPawn native { Health 30 ReactionTime 0 PainChance 255 Radius 16 Height 24 Speed 1 +WINDTHRUST +NOSKIN -PICKUP PainSound "PigPain" DeathSound "PigDeath" Player.JumpZ 6 Player.Viewheight 28 Player.ForwardMove 0.96, 0.98 Player.SideMove 0.95833333, 0.975 Player.SpawnClass "Pig" Player.SoundClass "Pig" Player.DisplayName "Pig" Player.MorphWeapon "Snout" States { Spawn: PIGY A -1 Stop See: PIGY ABCD 3 Loop Pain: PIGY D 4 A_PigPain Goto Spawn Melee: Missile: PIGY A 12 Goto Spawn Death: PIGY E 4 A_Scream PIGY F 3 A_NoBlocking PIGY G 4 PIGY H 3 PIGY IJK 4 PIGY L -1 Stop Ice: PIGY M 5 A_FreezeDeath PIGY M 1 A_FreezeDeathChunks Wait } }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.