From: Mario Date: Tue, 23 Apr 2013 14:53:11 +0000 (+1000) Subject: Add tower defense entities X-Git-Tag: xonotic-v0.8.0~19^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fdb4fd18d9c87dae95559f26dc48bef96c0abc67;p=xonotic%2Fxonotic-maps.pk3dir.git Add tower defense entities --- diff --git a/scripts/entities.ent b/scripts/entities.ent index 806bc427..9090bddc 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -1119,6 +1119,46 @@ The sound name may also be of the form *soundname, and in that case the respecti the sound is played to the activator only when triggered (cannot be combined with LOOPED_ON and LOOPED_OFF) + +Entity that controls some tower defense functions +-------- KEYS -------- +maximum monster waves +starting wave monster count +starting wave +don't game over if only 1 generator was destroyed and another is still alive +maximum spawned turrets per player +delay between combat phases +monster running speed +monster walking speed +delay between monster spawns +maximum alive monsters (spawning will be delayed until some monsters are killed) +monsters won't attack turrets +-------- SPAWNFLAGS -------- + + + +The base generator. Must be protected from waves of monsters to win the match +-------- KEYS -------- +generator health +-------- SPAWNFLAGS -------- + + + +Monster waypoint. Must be linked from monster_swarm spawnpoint to the generator via other td_waypoint entities +-------- KEYS -------- +point to next td_waypoint, or to generator targetname +alternative path, randomly chosen if target exists +name that identifies this entity so it can be targeted +-------- SPAWNFLAGS -------- + + + +Monster spawnpoint in Tower Defense +-------- KEYS -------- +point to a td_waypoint, or to generator targetname +-------- SPAWNFLAGS -------- + + Acts as an intermediary for an action that takes multiple inputs. After the counter has been triggered "count" times, it will fire all of its targets and remove itself.