Files
fs2open.github.com/code
wookieejedi c307ef7600 Allow ship debris pieces hitpoints depend on radius (#6771)
* Allow ship debris pieces hitpoints depend on radius

Currently, ship debris pieces have their hitpoints set via a Max and Min range. This constricts modders by needing all debris pieces to have somewhat the same size, otherwise the uniform random hitpoints assignment will could make small pieces much stronger than big pieces.

This PR adds a new field `+Hitpoints Radius Multiplier:` which is just a value that multiplies the debris radius, this value, and the debris hitpoints to calculate a final hitpoints value for the spawned debris piece.

This multiplier thus allows modders to have debris pieces that are very large have much strong hitpoints then debris pieces that are very small.

* incorporate feedback fix

* match other logical checks
2025-06-13 12:43:08 -04:00
..
2025-06-12 14:46:20 -04:00
2025-06-08 14:37:12 -04:00
2024-10-09 14:39:34 -04:00
2018-07-15 19:37:24 +02:00
2025-06-10 14:45:50 -04:00
2025-06-10 14:45:50 -04:00
2024-12-16 18:12:30 +01:00
2025-06-12 14:46:20 -04:00
2025-05-26 07:40:08 -04:00
2025-06-03 00:46:27 +02:00
2025-05-10 01:15:46 -04:00
2025-04-23 21:25:07 -04:00
2025-05-08 02:50:29 -04:00
2025-05-17 00:27:00 -04:00
2024-11-22 20:12:17 -05:00
2025-02-01 13:26:28 +01:00
2016-07-22 12:07:19 +02:00