#  ![](https://www.realm667.com/media/kunena/topic_icons/realm667_repo/user/rep_approved.png) \[UPDATE\] Shrink Sphere

##

- **Blue Shadow**
- ![Blue Shadow's Avatar](https://www.realm667.com/media/kunena/core/svg/person.svg) Topic Author
- Administrator
- ![Administrator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 1131
-
-
-

   10 years 2 weeks ago [\#4352](#4352) by Blue Shadow  Replied by *Blue Shadow* on topic *[\[UPDATE\] Shrink Sphere](https://www.realm667.com/forum/closed-submissions/740-update-shrink-sphere?start=10#4352 "Updated submission:

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")*

 Okay, unless there are other suggestions, I consider this ready.

Note that a very recent development build of either ZDoom or GZDoom is required.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NDAtdXBkYXRlLXNocmluay1zcGhlcmU/c3RhcnQ9MTA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **MagicWazard**
- ![MagicWazard's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar517.png)
- Moderator
- ![Moderator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 808
-
-
-
-

   10 years 2 weeks ago [\#4355](#4355) by MagicWazard  Replied by *MagicWazard* on topic *[\[UPDATE\] Shrink Sphere](https://www.realm667.com/forum/closed-submissions/740-update-shrink-sphere?start=10#4355 "Updated submission:

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")*

> Blue Shadow wrote: Note that a very recent development build of either ZDoom or GZDoom is required.

Is this why "Script error, "ShrinkSphere.zip:shrinksphere.wad:DECORATE" line 34: Bad syntax." appears when running on the most recent official GZDoom build? I assume "PowerMorph.MorphStyle (MRF_TRANSFERTRANSLATION)" is the culprit?

But anyways, with a development build, it seems to work perfectly. Not only does the translation carry over to the morph, but after resurrecting using the console, the "timer" on the morph continues to count down correctly, so the player will eventually unmorph.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NDAtdXBkYXRlLXNocmluay1zcGhlcmU/c3RhcnQ9MTA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **Blue Shadow**
- ![Blue Shadow's Avatar](https://www.realm667.com/media/kunena/core/svg/person.svg) Topic Author
- Administrator
- ![Administrator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 1131
-
-
-

   10 years 2 weeks ago [\#4357](#4357) by Blue Shadow  Replied by *Blue Shadow* on topic *[\[UPDATE\] Shrink Sphere](https://www.realm667.com/forum/closed-submissions/740-update-shrink-sphere?start=10#4357 "Updated submission:

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")*

> MagicWazard wrote: Is this why "Script error, "ShrinkSphere.zip:shrinksphere.wad:DECORATE" line 34: Bad syntax." appears when running on the most recent official GZDoom build? I assume "PowerMorph.MorphStyle (MRF\_TRANSFERTRANSLATION)" is the culprit?

Yes, the transfer translation feature got added and the resurrect bug was fixed a few days ago.

> \[...\] after resurrecting using the console, the "timer" on the morph continues to count down correctly, so the player will eventually unmorph.

Unmorphing happens the moment you resurrect, without delays.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NDAtdXBkYXRlLXNocmluay1zcGhlcmU/c3RhcnQ9MTA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **MagicWazard**
- ![MagicWazard's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar517.png)
- Moderator
- ![Moderator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 808
-
-
-
-

   10 years 2 weeks ago [\#4358](#4358) by MagicWazard  Replied by *MagicWazard* on topic *[\[UPDATE\] Shrink Sphere](https://www.realm667.com/forum/closed-submissions/740-update-shrink-sphere?start=10#4358 "Updated submission:

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")*

 Cool. Well, I've gone ahead and uploaded the update. Thank you for this!

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NDAtdXBkYXRlLXNocmluay1zcGhlcmU/c3RhcnQ9MTA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

[Powered by](https://www.realm667.com/forum/credits) [Kunena Forum](https://www.kunena.org)
