MantisBT - Zandronum
View Issue Details
0001969Zandronum[All Projects] Suggestionpublic2014-10-21 06:462024-03-13 17:39
StrikerMan780 
 
normalminoralways
confirmedbackport later 
2.0-beta 
 
0001969: Backport Minor Fix/Change to SXF_SETMASTER from ZDoom Commit 7a62459
'http://zdoom.org/Changelog/7a62459/files [^]'
2.8
has duplicate 0004035closed  Allow monsters summoned by players to have AAPTR_MASTER point to their master player 
Issue History
2014-10-21 06:46StrikerMan780New Issue
2014-10-21 08:17StrikerMan780Note Added: 0010652
2014-10-21 08:18StrikerMan780Note Edited: 0010652bug_revision_view_page.php?bugnote_id=10652#r5836
2014-10-21 08:20StrikerMan780Note Edited: 0010652bug_revision_view_page.php?bugnote_id=10652#r5837
2014-10-21 08:21StrikerMan780Note Edited: 0010652bug_revision_view_page.php?bugnote_id=10652#r5838
2014-10-21 10:37DuskStatusnew => acknowledged
2014-10-21 10:37DuskResolutionopen => backport later
2016-01-21 15:20StrikerMan780Note Added: 0014145
2024-03-01 06:31Ru5tK1ngStatusacknowledged => confirmed
2024-03-02 18:24Ru5tK1ngRelationship addedrelated to 0004035
2024-03-02 18:25Ru5tK1ngRelationship deletedrelated to 0004035
2024-03-02 18:25Ru5tK1ngRelationship addedhas duplicate 0004035
2024-03-13 17:39StrikerMan780Note Added: 0023386

Notes
(0010652)
StrikerMan780   
2014-10-21 08:17   
(edited on: 2014-10-21 08:21)
I wouldn't normally ask this considering the policy, but this is literally a 4-line change, and comparing with the same source file in Zandronum, not much is different at all.

I need this as an actor in one of my projects uses the master field via SXF_SETMASTER, then once spawned, swaps the master to the Tracer Field, so I can use A_Fire.

(I came up with a clever method for fully functional bullet tracers that uses a combination of +PUFFGETSOWNER, and SXF_SETMASTER | SXF_TRANSFERPOINTERS. It ends up swapping the transferred Master field to the new actor's target, and the transferred target field to the new actor's Tracer, then using A_Fire to teleport the actor in front the player, and shooting a bullet tracer projectile directly at the new target, which is the puff.)

With the way things are now, I need to add the +ISMONSTER flag in order to get things to work, which I think could potentially cause issues.

(0014145)
StrikerMan780   
2016-01-21 15:20   
Torr, seriously consider backporting this now that we're at an equivalent to ZDoom 2.7.1.

Having to use +ISMONSTER for SXF_SETMASTER to work is severely breaking some things as I predicted. It causes puffs to not create splashes and introduces some other strange behavior, and if you decided to upgrade the (G)ZDoom base even further, they might not end up spawning at all if sv_nomonsters is set to true. (Which is undesired behavior.)
(0023386)
StrikerMan780   
2024-03-13 17:39   
Needing this now, more than ever. I have an actor that spawns another actor I need to kill with A_KillChildren, but this actor can't be a monster for many reasons.