Add hit markers and metal explosion for turrets #25
Reference in New Issue
Block a user
Delete Branch "LeSerjant/major_tom:fix/turret-hit-markers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Turrets now emit orange-white spark particles when taking non-lethal damage, giving clear visual feedback on hits. On death, turrets get a dedicated metal explosion effect (shrapnel, hot sparks, flash, smoke) instead of the generic death puff, with stronger screen shake.
Changes:
particle_emit_hit_sparks(): 8 fast orange-white sparks + 3 brief white flash particles on non-lethal turret damageparticle_emit_metal_explosion(): 16 silver shrapnel + 10 hot orange sparks + 5 white flash + 8 smoke particles on turret deathdamage_entity()in level.c now branches for turret types: hit sparks on survive, metal explosion on death, stronger screen shake (3.5 vs 2.0)Both ENT_TURRET and ENT_LASER_TURRET are covered.
Closes #14
99648a71cato27dc726839