Skip to content

Ramp up HVLI damage over 1U#2855

Open
dkapell wants to merge 3 commits intodaid:masterfrom
dkapell:hvli_delay
Open

Ramp up HVLI damage over 1U#2855
dkapell wants to merge 3 commits intodaid:masterfrom
dkapell:hvli_delay

Conversation

@dkapell
Copy link
Copy Markdown
Contributor

@dkapell dkapell commented Apr 12, 2026

For Legacy Compatibility, this PR restores the damage ramp-up for HVLI missiles in a way that I believe is extensible if missile type config gets pulled out of the C++ code.

This adds a initial_lifetime member to the LifeTime component to calculate how long an entity has existed.
This adds a 'full_damage_after` member to the ExplodeOnTouch component, which is used to calculate lifetime before full damage is applied.

For HVLI, the full_damage_after is calculated based on the time for the projectile to travel 1000 units (1U), based on tube size.

@dkapell dkapell marked this pull request as ready for review April 12, 2026 02:42
@dkapell dkapell changed the title Ramp up HVLI damage over 2U Ramp up HVLI damage over 1U Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant