Severed bunny head
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > DECORATE bumming me out
 
Author
All times are GMT. The time now is 14:15. Post New Thread    Post A Reply
Krispy
Senior Member


Posts: 1092
Registered: 02-12


I've been hard at work on a project of mine, which you should totally map for, except there's this odd thing about one of the classes. When the "seeker" dies, his body immediately respawns in that place, and although the player is dead and can only spectate, his corpse keeps running in place. This is causing problems with scripts too. Here's the code:
code:
actor SeekerPlayer : DoomPlayer { +NOSKIN -PICKUP Speed 1 Health 100 Radius 16 Height 56 Mass 100 PainChance 255 Player.DisplayName "Seeker" Player.CrouchSprite "PLYC" Player.StartItem "Pistol" Player.StartItem "Fist" Player.StartItem "Clip", 50 Player.WeaponSlot 1, Fist, Chainsaw Player.WeaponSlot 2, Pistol Player.WeaponSlot 3, Shotgun, SuperShotgun Player.WeaponSlot 4, Chaingun Player.WeaponSlot 5, RocketLauncher Player.WeaponSlot 6, PlasmaRifle Player.WeaponSlot 7, BFG9000 Player.ColorRange 112, 127 States { Spawn: PLAY A -1 Loop See: PLAY ABCD 4 Loop Missile: PLAY E 12 Goto Spawn Melee: PLAY F 6 BRIGHT Goto Missile Pain: PLAY G 4 PLAY G 4 A_Pain Goto Spawn Death: PLAY H 0 A_PlayerSkinCheck("AltSkinDeath") Death1: PLAY H 10 PLAY I 10 A_PlayerScream PLAY J 10 A_NoBlocking PLAY KLM 10 PLAY N -1 Stop XDeath: PLAY O 0 A_PlayerSkinCheck("AltSkinXDeath") XDeath1: PLAY O 5 PLAY P 5 A_XScream PLAY Q 5 A_NoBlocking PLAY RSTUV 5 PLAY W -1 Stop AltSkinDeath: PLAY H 6 PLAY I 6 A_PlayerScream PLAY JK 6 PLAY L 6 A_NoBlocking PLAY MNO 6 PLAY P -1 Stop AltSkinXDeath: PLAY Q 5 A_PlayerScream PLAY R 0 A_NoBlocking PLAY R 5 A_SkullPop PLAY STUVWX 5 PLAY Y -1 Stop } } actor SeekerSwitch : PowerupGiver { powerup.type "Seeker" powerup.duration 105000 //long time +INVENTORY.AUTOACTIVATE +INVENTORY.ALWAYSPICKUP Inventory.MaxAmount 1 } actor PowerSeeker : PowerMorph { PowerMorph.PlayerClass "SeekerPlayer" PowerMorph.MorphStyle (MRF_FULLHEALTH|MRF_ADDSTAMINA|MRF_NEWTIDBEHAVIOUR|MRF_WHENINVULNERABLE) }


Also for some reason the player doesn't make any pain sounds.

Old Post 11-08-12 01:16 #
Krispy is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 14:15. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > DECORATE bumming me out

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Message Board Statistics