From: Mario Date: Sat, 27 Jan 2018 14:15:11 +0000 (+1000) Subject: Add trigger_viewlocation to entity list X-Git-Tag: xonotic-v0.8.5~138 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1227178098473fb26e96a7a9b5110185716a5ac5;p=xonotic%2Fxonotic-maps.pk3dir.git Add trigger_viewlocation to entity list --- diff --git a/scripts/entities.ent b/scripts/entities.ent index b3b51683..46382261 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -1610,6 +1610,29 @@ Triggers once when the game starts, then no longer does anything. wait so many seconds before triggering + +A brush that when entered changes the player's view to a position between target and target2, useful for side-scrolling stages +-------- KEYS -------- +should point to a target_viewlocation_start entity +should point to a target_viewlocation_end entity +-------- SPAWNFLAGS -------- +allow regular aiming and movement while forcing the camera between the viewlocation points +show a crosshair on screen and allow 2d aiming instead of only forward +allow moving up and down as well in side-scrolling mode, useful for brawlers + + + +Starting position for the area of viewing in a view location area, viewing position is bounded between this and a target_viewlocation_end +-------- KEYS -------- +the trigger_viewlocation should point its target to this. + + + +Ending position for the view location area, should be higher up but on the same plane as the target_viewlocation_start +-------- KEYS -------- +the trigger_viewlocation should point its target2 to this. + + Makes one entity follow another. Will not work with all entities. -------- KEYS --------