View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0000416 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-03-12 03:18 | 2017-03-13 04:03 | 
| Reporter | HolyHeadcrab | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | resolved | Resolution | fixed | ||
| Summary | 0000416: 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 Reproduce | Use 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.  | ||||
| Tags | No tags attached. | ||||
| 
	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  | 
|
| 
	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.  | 
|
| 
	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. >_>  | 
|
| I believe here is the topic from where this change is originated. It's fairy long but explains the situation with pitch inversion. | |
| 
	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?  | 
|
| 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. | |
| 
	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.  | 
|
| 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 |