X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=blobdiff_plain;f=scripts%2Fentities.ent;h=463822617782c8d70e546ca81e7abbcb143be0e7;hp=b3b516835967177c0bc53619b9ab29ab7b986a57;hb=1227178098473fb26e96a7a9b5110185716a5ac5;hpb=3a21b360bec3b0be9c42c58b2c61f4d45e8bce84 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 --------