Leaves spawned from LeafSpawner move East [Hexen]

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Leaves spawned from LeafSpawner move East [Hexen]

Re: Leaves spawned from LeafSpawner move East [Hexen]

by _mental_ » Sat Dec 09, 2017 3:59 am

Angle was ignored indeed, thanks for finding the culprit. Fixed in 8176951.

Re: Leaves spawned from LeafSpawner move East [Hexen]

by Rip and Tear » Wed Dec 06, 2017 6:00 pm

I have identified the source of the issue, it is a missing angle argument in this line of ZScript

Code: Select all

mo.Thrust(random[LeafSpawn]() / 128. + 3);
hexenspecialdecs.txt, line 461

Leaves spawned from LeafSpawner move East [Hexen]

by Rip and Tear » Wed Dec 06, 2017 5:28 pm

All leaves spawned from a LeafSpawner have an initial eastward velocity, regardless of the orientation of the LeafSpawner thing.

The easiest way to see this is to start MAP01 of Hexen and walk to the tree directly to the right.

This behavior could not be observed in Chocolate Hexen.

(Tested in GZDoom 3.2.3)

Top