Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004244Zandronum[All Projects] Bugpublic2024-05-10 04:112024-10-26 05:03
ReporterCodesphere 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusfeedbackResolutionopen 
PlatformMicrosoftOSWindowsOS Version10
Product Version3.1 
Target Version3.2Fixed in Version 
Summary0004244: Pitch for custom Decorate actors does not transfer when a map reset is initiated
DescriptionIf a custom actor created in DECORATE code and given a DoomEdNum is placed into a map, and then given a Pitch value (from the UDMF map format), that pitch value will be lost when the map is reset by any means, including the ACS command ResetMap(), as well as any countdown expiration for gamemodes which then reset the map such as Survival.
Steps To ReproduceAttached is a sample wad file that can reliably reproduce the bug.

- Load up the wad file and set the game parameters in the console to one that supports map resets (I used "survival 1" in my tests)

- Go to map01. There is a Print message that appears displaying the current pitch value of the custom actor placed in the map.

- The switch on the left changes the camera to that of a custom actor from Decorate that was placed in the map with a 45-degree pitch value (EdNum 7950). Simply move the player to reset the camera.

- Press the switch on the right to call ResetMap(). Alternatively, allow the game mode's countdown timer to expire and the map to reset on its own.

- Behold, the actor's pitch value is now 0.
Additional InformationThis does not seem to affect actors already built into the game, only custom Decorate actors. I tried this with the brown stalagmite actor earlier and it actually worked fine, but once I placed a custom actor instead, it broke. I even went so far as to make the custom actor a complete clone of said stalagmite actor, just with a custom DoomEdNum, and it still broke. So it seems to be something with Decorate actors in particular.

If you check the Decorate code within the Wad file, the commented out portions are some of the various flags and such that I originally used on the actor...but even just giving it some basic properties like Height and Radius, and making it Solid, and it still does not receive pitch upon resetting the map.
Attached Fileszip file icon PitchBug.zip [^] (1,904 bytes) 2024-05-10 04:11

- Relationships

-  Notes
User avatar (0023660)
Codesphere (reporter)
2024-05-10 04:13

I should have mentioned this as well, but this occurs in both Zandronum 3.1 as well as the latest 3.2 beta.
User avatar (0024027)
Kaminsky (developer)
2024-09-09 03:01

This issue's being addressed in this merge request:'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/182 [^]'
User avatar (0024092)
Kaminsky (developer)
2024-10-24 15:59

This commit was pushed into the repository:'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/b026d28c6ce4b5d693fb6e5a9579d98187419134 [^]'
User avatar (0024102)
unknownna (updater)
2024-10-26 05:03

I tested it, and the view of the camera is still at 0 before & after map resets online. It works properly offline however.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2024-05-10 04:11 Codesphere New Issue
2024-05-10 04:11 Codesphere File Added: PitchBug.zip
2024-05-10 04:13 Codesphere Note Added: 0023660
2024-05-14 03:14 unknownna Status new => confirmed
2024-09-09 03:01 Kaminsky Note Added: 0024027
2024-09-09 03:01 Kaminsky Status confirmed => needs review
2024-09-09 03:01 Kaminsky Target Version => 3.2
2024-10-24 15:59 Kaminsky Note Added: 0024092
2024-10-24 15:59 Kaminsky Status needs review => needs testing
2024-10-26 05:03 unknownna Note Added: 0024102
2024-10-26 05:03 unknownna Status needs testing => feedback






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker