[Update] Possession Sphere
- Salahmander
-
Topic Author
- Wicked
-
Less
More
- Posts: 213
3 months 1 week ago #12873
by Salahmander
[Update] Possession Sphere was created by Salahmander
12/09/2025 - DeVloek:
- Rewrote the ACS and most of the DECORATE from scratch in Zscript
- The ghost no longer targets barrels and now passes through them
- The ghost is no longer destroyed when hitting surfaces, instead it bounces off and is destroyed after 20 seconds
- Improved seeker code, now the ghost seeks new targets when the current target is already possessed or shouldn't be affected otherwise
- Slightly increased the ghost's speed, homing range and turn angle
- Added a "maxcharges" property to the ghost. Now it can continue seeking out monsters to possess until all charges are used
- Added an "allowbosses" property to the ghost, this determines if monsters with the BOSS flag should be affected or not
- Added dynamic possession duration based on monster health (can be toggled off so the original 45s duration is used for all monsters)
- Monsters now always play their SeeSound when aquiring new targets after being possessed or waking up from possession.
- The possession indicators are now particles instead of actors
- Added dynamic lights to the ghost projectile and possessed monsters
- Adjusted ghost sprite offsets to make it look less jittery when flying
- PNGcrushed sprites
- Added MAPINFO with a DoomEdNum
- Rewrote the ACS and most of the DECORATE from scratch in Zscript
- The ghost no longer targets barrels and now passes through them
- The ghost is no longer destroyed when hitting surfaces, instead it bounces off and is destroyed after 20 seconds
- Improved seeker code, now the ghost seeks new targets when the current target is already possessed or shouldn't be affected otherwise
- Slightly increased the ghost's speed, homing range and turn angle
- Added a "maxcharges" property to the ghost. Now it can continue seeking out monsters to possess until all charges are used
- Added an "allowbosses" property to the ghost, this determines if monsters with the BOSS flag should be affected or not
- Added dynamic possession duration based on monster health (can be toggled off so the original 45s duration is used for all monsters)
- Monsters now always play their SeeSound when aquiring new targets after being possessed or waking up from possession.
- The possession indicators are now particles instead of actors
- Added dynamic lights to the ghost projectile and possessed monsters
- Adjusted ghost sprite offsets to make it look less jittery when flying
- PNGcrushed sprites
- Added MAPINFO with a DoomEdNum
Please Log in or Create an account to join the conversation.
- Gothic
-
- Moderator
-
Less
More
- Posts: 1329
2 months 2 weeks ago #12936
by Gothic
Replied by Gothic on topic [Update] Possession Sphere
Update pending
I added an extra check for time freeze effects:
I added an extra check for time freeze effects:
Code:
void PossessionParticle(string tx, double offs)
{
if(!isFrozen())
{
TextureID ptx = TexMan.CheckForTexture(tx);
owner.A_SpawnParticleEx("FFFFFF",ptx,
style: STYLE_Add,
flags: SPF_FULLBRIGHT,
lifetime: 25,
size: 20,
xoff: cos(EffectTics*8+offs)*owner.radius,
yoff: sin(EffectTics*8+offs)*owner.radius,
zoff:owner.height,
startalphaf:0.5,fadestepf:-1,sizestep:-0.5);
}
}
Please Log in or Create an account to join the conversation.
- Blue Shadow
-
- Administrator
-
Less
More
- Posts: 1131
2 months 1 week ago #12950
by Blue Shadow
Replied by Blue Shadow on topic [Update] Possession Sphere
As the original author of this, I object.
I prefer to handle my own submissions myself. Also, as the update went beyond converting code to ZScript and re-packaging the thing as a pk3, I should've been contacted for permission.
I prefer to handle my own submissions myself. Also, as the update went beyond converting code to ZScript and re-packaging the thing as a pk3, I should've been contacted for permission.
Please Log in or Create an account to join the conversation.
- Salahmander
-
Topic Author
- Wicked
-
Less
More
- Posts: 213
2 months 1 week ago - 2 months 1 week ago #12951
by Salahmander
Replied by Salahmander on topic [Update] Possession Sphere
My apologies, I thought it would've been okay since it's generally keeping the funtion similar. I'm guessing the update is being pulled? Also, for the PK3 and ZScript conversions, should I leave it or just leave yours?
Last edit: 2 months 1 week ago by Salahmander.
Please Log in or Create an account to join the conversation.
- Blue Shadow
-
- Administrator
-
Less
More
- Posts: 1131
2 months 1 week ago #12955
by Blue Shadow
I'm in no position to answer the other questions since I don't maintain the repository anymore.
Replied by Blue Shadow on topic [Update] Possession Sphere
I don't know what other people's policy about their submissions is. For myself, unless I say otherwise or give explicit permission for modification, my submissions are off limits.Also, for the PK3 and ZScript conversions, should I leave it or just leave yours?
I'm in no position to answer the other questions since I don't maintain the repository anymore.
Please Log in or Create an account to join the conversation.
