Skip to content

Conversation

@Kitsune44
Copy link
Contributor

@Kitsune44 Kitsune44 commented Nov 3, 2025

Weapons & Environment: Revised gas and radiation volume effects.


Description

Fixes the detection logic for radiation volumes.
Previously, the code only used the bounding box for trigger checks, ignoring the intended cylindrical effect.
This update correctly detects entities within the hemisphere inscribed in the box, whose flat base lies on the box's bottom face, ensuring that damage and effects are applied properly for all affected entities.
This update introduces proper detection of marines inside a cylinder inscribed in a cube, in accordance with the original developers’ intention, while leaving alien detection unchanged as a compromise.


Affected Entities and Effects

  • All entities using radiation volumes (asw_radiation_volume.cpp)
    • TG-05 Gas Grenades
    • Radioactive/Toxic barrel

Testing / Verification

  • Verified in-game that entities are correctly affected.

@Kitsune44 Kitsune44 requested a review from BenLubar November 3, 2025 02:55
@Kitsune44 Kitsune44 added the enhancement New feature or request label Nov 3, 2025
@Kitsune44 Kitsune44 marked this pull request as draft November 3, 2025 07:50
@Kitsune44 Kitsune44 marked this pull request as ready for review November 4, 2025 17:33
@Kitsune44 Kitsune44 marked this pull request as draft November 4, 2025 17:36
@Kitsune44 Kitsune44 marked this pull request as ready for review November 4, 2025 20:12
@BenLubar BenLubar merged commit efcca99 into ReactiveDrop:reactivedrop_beta Nov 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants