View Issue Details

IDProjectCategoryView StatusLast Update
0000100Gameplay + OpenGL[All Projects] Bugpublic2017-01-22 05:26
Assigned To 
Status resolvedResolutionfixed 
Summary0000100: Strife Inquisitor slows down
DescriptionWhen the Inquisitor first appears, it moves quickly and behaves normally but it very quickly slows down to the point that it can hardly move. I think it might be something to do with the flight code but it affects both walking and flying.
Steps To ReproduceSummon an Inquisitor and watch it or watch this video:
TagsNo tags attached.





2017-01-21 20:11

reporter   ~0000191

Last edited: 2017-01-21 20:12

View 2 revisions

My guess it's the zscript for A_InquisitorJump. By my reading of the Wiki, this is supposed to reduce horizontal velocity to 2/3 normal (I can't figure out where it gets restored to normal though - if it needs to be). Anyway, it seems to be reducing the speed every time the enemy jumps/flies and so after a few jumps, the speed has become very slow or effectively 0.

Commenting out the line that does the speed reduction prevents the slowdown but, obviously, there is an impact on the behaviour elsewhere (it flies too fast).



2017-01-22 02:49

reporter   ~0000199

I took a look at the old, now non-existent version and noticed that 'speed' is a local variable. I think the Inquisitor's 'Speed' property was never meant to be altered directly.

Is ZScript case insensitive? If it is, maybe it's best to use a local variable called 'flyspeed' or similar?

Issue History

Date Modified Username Field Change
2017-01-21 18:57 Enjay New Issue
2017-01-21 20:11 Enjay Note Added: 0000191
2017-01-21 20:12 Enjay Note Edited: 0000191 View Revisions
2017-01-22 02:49 FishyClockwork01 Note Added: 0000199
2017-01-22 05:26 Graf Zahl Status new => resolved
2017-01-22 05:26 Graf Zahl Resolution open => fixed