From 1227178098473fb26e96a7a9b5110185716a5ac5 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 28 Jan 2018 00:15:11 +1000 Subject: [PATCH 1/1] Add trigger_viewlocation to entity list --- scripts/entities.ent | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 -------- -- 2.39.2