group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
Killzone Struct Reference

ECS component: trigger volume that kills any player whose AABB overlaps it. More...

#include <Killzone.hpp>

Public Attributes

float damage = 100000.0f
 Damage applied per overlap tick. Default is lethal in one tick.

Detailed Description

ECS component: trigger volume that kills any player whose AABB overlaps it.

Authored in Blender with custom property entity_type = 4 on an object covering the lethal region; the map loader fills position from the Blender transform and ServerGame instantiates the entity.

The damage amount is intentionally far above the maximum effective health (armor + overshield) so the player always dies on contact.

Member Data Documentation

◆ damage

float Killzone::damage = 100000.0f

Damage applied per overlap tick. Default is lethal in one tick.


The documentation for this struct was generated from the following file: