X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=scripts%2Fentities.ent;h=c3c83d16f5494b0a86ef261030a0e8161510bfb9;hb=6b609484c4af0e5a064f87595675808e2ac67643;hp=73ddc17aad154b69d7b6de9846d48adb6a7a932a;hpb=a2be1e14f9b34fc52a7ab743816cb6f8e5d606ea;p=xonotic%2Fxonotic-maps.pk3dir.git diff --git a/scripts/entities.ent b/scripts/entities.ent index 73ddc17a..c3c83d16 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -1141,7 +1141,6 @@ The sound name may also be of the form *soundname, and in that case the respecti -------- SPAWNFLAGS -------- the sound is looped and initially plays (the sound file MUST have the LOOP_START vorbis comment then!). It can be toggled by a trigger. the sound is looped and initially does not play (the sound file MUST have the LOOP_START vorbis comment then!). It can be toggled by a trigger. -the sound plays with no attenuation (same as setting atten to -1) the sound is played to the activator only when triggered (cannot be combined with LOOPED_ON and LOOPED_OFF) @@ -1156,7 +1155,7 @@ Monster spawnpoint for Invasion 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. +After the counter has been triggered "count" times, it will fire all of its targets. -------- KEYS -------- how many times this needs to be triggered to activate its targets trigger all entities with this targetname when triggered @@ -1166,6 +1165,7 @@ After the counter has been triggered "count" times, it will fire all o remove all entities with this targetname when triggered -------- SPAWNFLAGS -------- don't print a "2 more to go..."-like message when triggered +fire at every count (behaves like trigger_multiple with limited shots) @@ -1718,6 +1718,20 @@ You may want to target this by a race checkpoint, a teleporter, or a trigger_mul the items listed will get removed from the player + +Kills whoever activates this target +-------- KEYS -------- +used to trigger this +message to print + + + +CAMPAIGN ONLY!!!! Warp to another campaign level +-------- KEYS -------- +used to trigger this +index of the campaign level to warp to (starting from 1), 0 for next level + + Spawns or modifies an entity when triggered. The entity field list is a single string of the form: @@ -1909,11 +1923,25 @@ modeldisabled="models/weapons/g_hookgun.md3" Any object touching this will be healed. -------- KEYS -------- -health to give per second (default 10) +health to give per heal (default 10) max health this trigger will give (default 200) +delay between the heals in seconds (default 1) sound file to play (use misc/null.wav to make it silent), default = item_health_medium sound +-------- SPAWNFLAGS -------- +play the sound even if the player is fully healed + +Target version of trigger_heal. Heals the activator. +-------- KEYS -------- +health to give per heal (default 10) +max health this target will give (default 200) +delay between the heals in seconds (default 1) +sound file to play (use misc/null.wav to make it silent), default = item_health_medium sound +-------- SPAWNFLAGS -------- +play the sound even if the player is fully healed + + the Sniper Rifle. -------- KEYS -------- @@ -2335,23 +2363,26 @@ When triggered, its effect is turned off until triggered again. An area where gravity differs from the rest of the map. This acts as a modifier over the normal gravity (sv_gravity). e.g.: 0.5 is half the normal gravity, 2 is twice the normal gravity. -------- KEYS -------- -gravity offset in this area, defaults to 0 if not set +gravity multiplier in this area, defaults to 0 if not set sound to play when an entity enters the gravity zone, leave empty to disable -you can use this to target the gravity zone with a trigger, which will toggle it when activated +you can use this to target the gravity zone with a relay to (de)activate the gravity multiplier -------- SPAWNFLAGS -------- entities keep their gravity after leaving the gravity zone -when targeted, the gravity zone starts off and is enabled upon triggering +when targeted, the gravity zone starts disabled Activates all targets List of currently supported target ents: trigger_conveyor +trigger_gravity trigger_hurt trigger_heal trigger_impulse trigger_push trigger_teleport +target_heal +target_kill func_rotating func_bobbing func_button @@ -2369,11 +2400,14 @@ misc_laser Deactivates all targets List of currently supported target ents: trigger_conveyor +trigger_gravity trigger_hurt trigger_heal trigger_impulse trigger_push trigger_teleport +target_heal +target_kill func_rotating func_bobbing func_button @@ -2391,11 +2425,14 @@ misc_laser Toggles all targets de/active List of currently supported target ents: trigger_conveyor +trigger_gravity trigger_hurt trigger_heal trigger_impulse trigger_push trigger_teleport +target_heal +target_kill func_rotating func_bobbing func_button @@ -2416,7 +2453,11 @@ When no chmap key is set, the entity just ends the match when triggered. The pla The name other entities can use to target this entity Map file to switch to, leave empty to make this entity just end the match Switch to this gametype. If empty, the same gametype stays +fraction of players (excludes bots) that need to trigger this entity to change the level when MULTIPLAYER is set (default: 0.7) +-------- SPAWNFLAGS -------- +makes this entity only change level when a fraction of the players triggered it + Fast firing moderate damage bullet (hitscan) turret. -------- KEYS --------