Chaos Serpent's in HeXen don't attack correctly

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Guest

Chaos Serpent's in HeXen don't attack correctly

Post by Guest »

The Chaos Serpent's in HeXen don't attack correctly in ZDoom. In ZDoom their fireball is incorrectly aimed directly at the players centre rather than being offset by the above centre spawn position of the fireball.
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Re: Chaos Serpent's in HeXen don't attack correctly

Post by TheDarkArchon »

IIRC, this was deliberate as the original programming meant the serpents were missing anything shorter than the original Hexen player classes, including custom classes.
bgraybr
Posts: 136
Joined: Tue Nov 30, 2010 7:52 pm

Re: Chaos Serpent's in HeXen don't attack correctly

Post by bgraybr »

If thats true, its a poor reason to change the original behavior. If modders want a shorter player class, then they can add a new Chaos Serpent with DECORATE and offset its attack however they want to.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Chaos Serpent's in HeXen don't attack correctly

Post by Graf Zahl »

This was changed because it was creating more problems than just that. Most importantly, the broken way Hexen used prevents them from hitting crouched players, which is a critical issue.
Guest

Re: Chaos Serpent's in HeXen don't attack correctly

Post by Guest »

What were those critical problems, if I may ask?
User avatar
Akira_98
Posts: 213
Joined: Sun Jun 27, 2010 2:45 pm
Location: AC District 7

Re: Chaos Serpent's in HeXen don't attack correctly

Post by Akira_98 »

Graf Zahl wrote:the broken way Hexen used prevents them from hitting crouched players, which is a critical issue.
Guest

Re: Chaos Serpent's in HeXen don't attack correctly

Post by Guest »

It surely should not matter if the Chaos Serpent can't shoot a crouched player (i.e. the missile always goes over the players head) as the original game had no crouching. The Serpent also can't shoot a pig player or bad guy, but that is surely a feature of the original game.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Chaos Serpent's in HeXen don't attack correctly

Post by wildweasel »

Graf Zahl wrote:This was changed because it was creating more problems than just that.
User avatar
Enjay
 
 
Posts: 26987
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Chaos Serpent's in HeXen don't attack correctly

Post by Enjay »

Reuben Drishchedge wrote:It surely should not matter if the Chaos Serpent can't shoot a crouched player (i.e. the missile always goes over the players head) as the original game had no crouching. The Serpent also can't shoot a pig player or bad guy, but that is surely a feature of the original game.
I disagree. Having 1 (er 2?) monsters that cannot hit crouched players when all others can is silly. OK, crouching was not in the original game but as a Zdoom feature, it should be properly supported (and is).

Also, this issue used to cause problems when Chaos serpents were imported into games other than Hexen (before it was possible to redefine them via DECORATE) and it could also cause problems with redefined players in Hexen.

The original system is the result of lazy or crude code anyway and, as soon as you became aware of it, it just seemed silly and an obvious kludge just to get the serpent's fireball to match up with the height of his mouth whilst sacrificing the logical functionality of the behaviour. Zdoom does it better and with the extra freedom allowed in Zdoom, the improvement is essential IMO.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Chaos Serpent's in HeXen don't attack correctly

Post by Graf Zahl »

Enjay wrote: The original system is the result of lazy or crude code anyway and, as soon as you became aware of it, it just seemed silly and an obvious kludge just to get the serpent's fireball to match up with the height of his mouth whilst sacrificing the logical functionality of the behaviour. Zdoom does it better and with the extra freedom allowed in Zdoom, the improvement is essential IMO.

The interesting thing here is that Doom 2 faced the same problem with the Revenant but guess what: Id found a solution that produces correct results.
User avatar
Enjay
 
 
Posts: 26987
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Chaos Serpent's in HeXen don't attack correctly

Post by Enjay »

Graf Zahl wrote:The interesting thing here is that Doom 2 faced the same problem with the Revenant but guess what: Id found a solution that produces correct results.
I had a sneaking suspicion/recollection that the revenant had a similar issue.

Wasn't the original mechanism something like the fireball was spawned at the normal default height then instantly raised to appear at shoulder height?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Chaos Serpent's in HeXen don't attack correctly

Post by Graf Zahl »

No. That's the mistake Hexen made.

Doom2 did it the other way around: It raised the revenant's z-position, spawned the missile and lowered him again. As a result the aim was calculated correctly.
Post Reply

Return to “Closed Bugs [GZDoom]”