2022-08-19 05:56 EDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003010FSSCPbeamspublic2022-06-10 20:53
Assigned ToMjnMixael 
PlatformR10541OSWindowsOS Version7
Product Version3.7.1 
Target VersionFixed in Version22.0.0 
Summary0003010: Beams stay whilst ship casting them has been destroyed.
DescriptionI am aware of a ship being capable of shooting weapons whilsts it's in it's "Final detonation" sequence, but currently, beams are able to fully finish their firing sequence even though the ship firing has been destroyed. The beams "Stay on" for their predetermined time whilst the ship's model has already been reduced to fiery debris.
Additional InformationTested repeatedly in the "Rescue" mission of the "Incursion" campaign (as provided by the campaign restoration project")
TagsNo tags attached.
Attached Files




SmashMonkey (reporter)

Replicable. Inspection of beam.cpp shows that the check for beam firing only takes place during the beam warmup. There is no way to turn off the beams mid-firing (if the firing ship has been destroyed).


MageKing17 (developer)

There is code that is supposed to serve this purpose, in beam_move_all_pre():

        // check if parent object has died, if so then delete beam
        if (b->objp->type == OBJ_NONE) {
            // set next beam
            moveup = GET_NEXT(moveup);
            // delete current beam


The object's type should be set to OBJ_NONE when it's deleted, which should happen shortly after OF_SHOULD_BE_DEAD gets set, which should happen if the ship is either vaporized or finished exploding.

Is the problem that beams aren't stopping during the process of dying? Because that seems like intended behavior.


MjnMixael (manager)

Verified that ships upon final death have their beams deleted. Tested with the attached mission.

Press 1 to fire beam.
Press 2 to vaporize ship.
Press 3 to self destruct ship.

Recommend closing.

-Issue History
Date Modified Username Field Change
2014-02-18 14:59 Joshua New Issue
2014-08-17 00:38 Echelon9 Priority high => low
2015-05-22 01:04 SmashMonkey Note Added: 0016718
2015-05-22 01:35 MageKing17 Note Added: 0016720
2022-06-10 14:32 MjnMixael File Added: DestroyedBeamTest.fs2
2022-06-10 14:32 MjnMixael Note Added: 0017121
2022-06-10 14:55 z64555 Assigned To => MjnMixael
2022-06-10 14:55 z64555 Status new => closed
2022-06-10 14:55 z64555 Resolution open => fixed
2022-06-10 14:55 z64555 Fixed in Version => 22.0.0
2022-06-10 20:53 Goober5000 Status closed => resolved
+Issue History