bugfix: Destroyed GLA Demo units with the Demolitions upgrade now detonate nearby explosive units#144
Open
Stubbjax wants to merge 1 commit into
Open
Conversation
…onate nearby explosive units
xezon
approved these changes
Jul 12, 2026
xezon
left a comment
There was a problem hiding this comment.
Code correct. Documentation in INI would be good.
Side note: Maybe we should add sub faction labels like we have in the Committee repository.
|
Rationale text missing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This change causes GLA units with the Demolitions upgrade to detonate nearby explosive units upon death.
Details
When a GLA Demo unit dies after having researched the Demolitions upgrade, it lightly explodes and deals 50 damage to nearby enemies. This is shown in the video below.
DEMO.mp4
As of this change, if an enemy unit dies to this damage, it is now considered an
EXPLODEDdeath, and triggers any explosive death behaviours for the killed unit (e.g. Terrorists will detonate themselves).The primary impact of this change is that if an enemy Terrorist or Demo Bike is nearby and dies to this damage, they too will explode and potentially cause collateral damage in the process.
Rationale
This change is an effort towards consistent behaviour to streamline design language and mechanics.
Explosive units, such as Terrorists, generally explode via certain death types. These usually include
SUICIDED,CRUSHED,SPLATTED,LASERED,BURNEDandEXPLODED. For example, if a Terrorist dies due to being burned by fire, it explodes due to beingBURNED. It is thus expected that when a Terrorist dies to anything resembling an explosion, it explodes. This was counterintuitively not the case for the explosion deaths of GLA Demo units.Testing
Before
The enemy Terrorists die without detonating when Demo Jarmen Kell dies (not suicided)
BEFORE_EXP.mp4
After
The enemy Terrorists detonate and damage the Barracks when Demo Jarmen Kell dies (not suicided)
AFTER_EXP.mp4