[Feature Request] Vanilla behavior for the Chaos Serpent

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

[Feature Request] Vanilla behavior for the Chaos Serpent

Postby sinisterseed » Sat Nov 23, 2019 8:53 am

Well, as the title implies, since there's now compatibility flags for a variety of things, I was thinking about finally making a topic for this.

I am aware that the behavioral change was deliberate in order to prevent custom players that were too short to be simply missed by the Serpents' fire attack, but this also had the side effect of making them stirring enemy infighting like crazy when in groups of enemies as they can no longer fire above them. It would make more vanilla Hexen wads feel a bit better and closer to the original game.

If possible, I think this would be best brought back in a similar fashion to how the Lost Soul finally had its vanilla behavior restored, through a compatibility flag/toggleable setting, so that depending on the circumstances, it can be either activated or disabled.
User avatar
sinisterseed
Raze/GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: nixchievousfox
Github ID: sinisterseed
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Feature Request] Vanilla behavior for the Chaos Serpent

Postby De-M-oN » Fri Nov 29, 2019 7:11 am

I think this would be best brought back in a similar fashion to how the Lost Soul finally had its vanilla behavior restored

What was changed on them?
User avatar
De-M-oN
 
Joined: 26 May 2008

Re: [Feature Request] Vanilla behavior for the Chaos Serpent

Postby Tartlman » Mon Dec 02, 2019 9:23 am

De-M-oN wrote:What was changed on them?

My guess is this:
In vanilla doom, lost souls have a bizarre behavior where they "forget" their target. You can read more about it here.
User avatar
Tartlman
shitposting with zscript
 
Joined: 11 Oct 2018
Location: meme hell
Discord: bogus#2947
Github ID: boogiebogus

Re: [Feature Request] Vanilla behavior for the Chaos Serpent

Postby Graf Zahl » Mon Dec 02, 2019 10:24 am

De-M-oN wrote:
I think this would be best brought back in a similar fashion to how the Lost Soul finally had its vanilla behavior restored

What was changed on them?



The original aiming code was a bit broken, it aimed from the normal projectile launch height to the center of the target but then just changed the z-position without adjusting the aiming. As a result they miss any target taller than 40 or so map units (can't remember the exact value) which most importantly meant they would never hit crouched players or small monsters.

In Hexen this barely mattered but in ZDoom it led to situations where this rendered the monster mostly useless.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [Feature Request] Vanilla behavior for the Chaos Serpent

Postby Warden » Mon Jun 07, 2021 2:57 pm

For anyone else that wants this, here's a Zscript mod that restores the vanilla fireball behavior:

Code: Select allExpand view
class ChocoDemon1 : Demon1 replaces Demon1
{
    states {
    Missile:
      DEMN E 5 A_FaceTarget;
      DEMN F 6 A_FaceTarget;
      DEMN G 5 A_DemonAttack("Demon1FX1");
      goto See;
    }
   
    void A_DemonAttack(String missiletype)
    {
        if (!target) return;
        let proj = SpawnMissile(target, missiletype);
        if (proj) {
            proj.AddZ(30, false);
        }
    }
}

class ChocoDemon2 : Demon2 replaces Demon2
{
    states {
    Missile:
      DEM2 E 5 A_FaceTarget;
      DEM2 F 6 A_FaceTarget;
      DEM2 G 5 A_DemonAttack("Demon2FX1");
      goto See;
    }
   
    void A_DemonAttack(String missiletype)
    {
        if (!target) return;
        let proj = SpawnMissile(target, missiletype);
        if (proj) {
            proj.AddZ(30, false);
        }
    }
}
Last edited by Warden on Tue Jun 08, 2021 10:50 am, edited 2 times in total.
Warden
 
Joined: 24 May 2020

Re: [Feature Request] Vanilla behavior for the Chaos Serpent

Postby Gez » Mon Jun 07, 2021 4:17 pm

How about using the adjusted method for targets less than 50 units in height, and the original code for taller targets?
Gez
 
 
 
Joined: 06 Jul 2007


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests