View Issue Details

IDProjectCategoryView StatusLast Update
0000416Gameplay + OpenGL[All Projects] Bugpublic2017-03-13 04:03
ReporterHolyHeadcrab 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000416: Physics-based weapons behaving incorrectly
Description[GZDoom 2.3.2] Gameplay mods that use physics-based projectiles, like thrown weapons, will not arc correctly. They may spawn too high or too low for the proper behavior, or fall too fast.
Steps To ReproduceUse any gameplay mod that has such weapons. For simplicity's sake, Kira's Bizarre Adventure (https://forum.zdoom.org/viewtopic.php?f=43&t=54918) Has a coin toss weapon that should show off well.

Autoaim and Smart Autoaim off. Compatibility settings at default.
TagsNo tags attached.

Relationships

Activities

HolyHeadcrab

HolyHeadcrab

2017-03-12 03:25

reporter   ~0000937

I've also included two webms that show the difference between versions. The first one is using
g2.2pre-1579, the second is using 2.3.2.

2.2pre-1579
2.3.2
_mental_

_mental_

2017-03-12 05:02

developer   ~0000938

The pitch parameter of A_FireCustomMissile() was inverted in 2.3.x and the function itself was deprecated.
Sorry but the mod needs to be updated.
Rachael

Rachael

2017-03-12 07:15

administrator   ~0000941

Last edited: 2017-03-12 07:24

View 3 revisions

This one seems tricky. A_FireCustomMissile should work exactly the same in all versions - if it worked differently before 2.3 then the issue is with 2.3 (and possibly newer). That being said, there has been a change in the engine somewhat recently regarding reversing the pitch because ZDoom had it backwards and it's affected a lot of things.

Feel free to correct me if I am wrong, though. >_>

_mental_

_mental_

2017-03-12 09:20

developer   ~0000944

I believe here is the topic from where this change is originated. It's fairy long but explains the situation with pitch inversion.
HolyHeadcrab

HolyHeadcrab

2017-03-12 10:18

reporter   ~0000945

Thank you for the responses! I'll just wait patiently until the mods I like playing are updated.
Is this the part where this gets closed?
Rachael

Rachael

2017-03-12 13:20

administrator   ~0000946

I'm going to wait for Graf to review this before closing it. It's quite possible that nothing will be done GZDoom-side, because it would be difficult to systematically track what mods were broken by the change.
Graf Zahl

Graf Zahl

2017-03-13 03:56

administrator   ~0000952

Last edited: 2017-03-13 04:02

View 2 revisions

Damnit! I have to use 2.1 as a baseline and this is indeed different.

From the look at it, I renamed the function but simply forgot to correct it so it remained broken all along, but the newly added wrapper still inverted the pitch.

Issue History

Date Modified Username Field Change
2017-03-12 03:18 HolyHeadcrab New Issue
2017-03-12 03:25 HolyHeadcrab Note Added: 0000937
2017-03-12 05:02 _mental_ Note Added: 0000938
2017-03-12 07:15 Rachael Note Added: 0000941
2017-03-12 07:17 Rachael Note Edited: 0000941 View Revisions
2017-03-12 07:24 Rachael Note Edited: 0000941 View Revisions
2017-03-12 09:20 _mental_ Note Added: 0000944
2017-03-12 10:18 HolyHeadcrab Note Added: 0000945
2017-03-12 13:20 Rachael Note Added: 0000946
2017-03-13 03:56 Graf Zahl Note Added: 0000952
2017-03-13 04:02 Graf Zahl Note Edited: 0000952 View Revisions
2017-03-13 04:03 Graf Zahl Status new => resolved
2017-03-13 04:03 Graf Zahl Resolution open => fixed