[UPDATE] Shrink Sphere
- Blue Shadow
- Topic Author
- Administrator
- Posts: 1129
Changes:
- Fixed: if hurt, the morphed player did not play the pain sound.
- Fixed: the sound lump's name of the *xdeath sound was misnamed.
- Replaced all instances of A_PlaySoundEx with A_PlaySound.
- Utilized inheritance for the shrink special effect actors, to reduce duplicate code.
- The shrink special effect actor faces the same direction as the player.
- Player's translation is transferred to the morphed actor.
- Optimized the sprites.
Download:
https://dl.dropboxusercontent.com/s/7f43go7rfzkwsb2/ShrinkSphere.zip?dl=0
Please Log in or Create an account to join the conversation.
- MagicWazard
- Moderator
- Posts: 808
Please Log in or Create an account to join the conversation.
- MagicWazard
- Moderator
- Posts: 808
Oddly, if you die in morphed form, then open up the console and type "Resurrect", you'll then assume the translation of the original player.
Please Log in or Create an account to join the conversation.
- Blue Shadow
- Topic Author
- Administrator
- Posts: 1129
Please Log in or Create an account to join the conversation.
- MagicWazard
- Moderator
- Posts: 808
Please Log in or Create an account to join the conversation.
- Blue Shadow
- Topic Author
- Administrator
- Posts: 1129
Edit: Okay, here is an idea: how about unmorphing upon death? It makes sense to me, since this is a powerup, and usually when you die, you lose your active powerups.
Please Log in or Create an account to join the conversation.
- MagicWazard
- Moderator
- Posts: 808
Also, does the ability to transfer translation to a morphed class need to become a feature request?
Please Log in or Create an account to join the conversation.
- Salahmander
- Cacodemon
- Posts: 114
MagicWazard wrote: But it begs the question, is the player really likely to resurrect without using console cheats anyways?
The only case where it CAN happen off the top of my head is multiplayer and if the map in the MAPINFO has the AllowRespawn flag set.
Please Log in or Create an account to join the conversation.
- MagicWazard
- Moderator
- Posts: 808
I think Respawning and Resurrecting would be treated differently in this case, though admittedly I don't know for sure. AllowRespawn is actually used for single-player mode; with that in mind, I guess the easy way to test this would be to make a map with the flag, but I don't have the time to try that out at the moment. Unless Blue Shadow or someone else beats me to it, I'll try that out in the next couple days or so to see what happens.Salahmander wrote: The only case where it CAN happen off the top of my head is multiplayer and if the map in the MAPINFO has the AllowRespawn flag set.
EDIT: I just remembered I already had a bunch of single-player maps created, so I just edited them to include AllowRespawn. In this case, if you die while shrunken, you will respawn at your normal size, along with your correct translation.
Please Log in or Create an account to join the conversation.
- Blue Shadow
- Topic Author
- Administrator
- Posts: 1129
I tried to do that, but it didn't work well. The player unmorphs but becomes half dead half alive; the player's sprite is set to spawn/idle instead of death, even the player's view height is adjust as if he/she is alive. But the fact is, the player is still dead. It looks like the morph system wasn't designed to handle such a case.MagicWazard wrote: Maybe if the player dies in shrunken form, then after a delay, he unmorphs after death
Anyways, I had reported the resurrect command bug, and if it's fixed we won't need to mess with that idea, I think.
I'll post a feature request and see. Don't hold your breath, though.Also, does the ability to transfer translation to a morphed class need to become a feature request?
For the time being, I'm putting this on hold.
Please Log in or Create an account to join the conversation.