Some editing questions for Hexen's weapons

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
ReaperAA
Posts: 51
Joined: Fri Oct 19, 2018 8:27 am
Graphics Processor: nVidia with Vulkan support
Contact:

Some editing questions for Hexen's weapons

Post by ReaperAA »

I posted these questions on Doomworld some weeks ago, but couldn't get the answer there so I ask here.

1) How to make Hexen's Arc of Death not push back enemies
In Hexen, Arc of Death (Mage's 3rd weapon) has a small pushback when the lighting hits an enemy. This sometimes causes the lighting to end prematurely when it pushes an enemy to a wall. I want to remove/reduce the pushback for this reason.

I tried to add the +NODAMAGETHRUST flag to the inherited projectile actors (i.e LightningZap, LightningFloor and LightningCeiling) but that didn't work. Removing that flag and trying with a negative ProjectileKickback value also didn't work. One thing I have noticed is that when I increase the speed of the projectiles, the lighting pushed back enemies even more. So lowering the speed could reduce the pushback. However I don't want to lower the speed.

2) How to make Hexen's frozen enemies shatter with a key (of my choosing).
In Hexen, it is annoying to be forced to switch to another weapon when I freeze enemies using frostshards. I am looking for a way to somehow make Hexen's frozen enemies shatter with a key using Decorate/ACS. Ideally I would like if the key could be same as the "use" key, but some other dedicated key could also work.
User avatar
ReaperAA
Posts: 51
Joined: Fri Oct 19, 2018 8:27 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Some editing questions for Hexen's weapons

Post by ReaperAA »

I forgot to mention that I would ideally like to do this in Decorate/ACS, but if not then ZScript could do.
Blue Shadow
Posts: 5039
Joined: Sun Nov 14, 2010 12:59 am

Re: Some editing questions for Hexen's weapons

Post by Blue Shadow »

ReaperAA wrote:In Hexen, it is annoying to be forced to switch to another weapon when I freeze enemies using frostshards.
This could be solved by setting the [wiki=Actor_flags#ICESHATTER]ICESHATTER[/wiki] flag on the shard projectile actor.
User avatar
ReaperAA
Posts: 51
Joined: Fri Oct 19, 2018 8:27 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Some editing questions for Hexen's weapons

Post by ReaperAA »

Blue Shadow wrote:
ReaperAA wrote:In Hexen, it is annoying to be forced to switch to another weapon when I freeze enemies using frostshards.
This could be solved by setting the [wiki=Actor_flags#ICESHATTER]ICESHATTER[/wiki] flag on the shard projectile actor.
Thanks. This seems more or less the type of solution I was looking for. :mrgreen:

Atleast one of my questions is answered.
Post Reply

Return to “Scripting”