From 85655b133ffec214bf1f83c802db1763ae6065b1 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Thu, 24 Oct 2019 12:26:24 -0500 Subject: [PATCH] Added spheres to env_fog_controller, changed npc_cscanner entry + added custom flight speed, gave a frustum to point_camera --- base.fgd | 2 +- halflife2.fgd | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/base.fgd b/base.fgd index aa6f1b9..59e3718 100644 --- a/base.fgd +++ b/base.fgd @@ -2086,7 +2086,7 @@ input Ignite(void) : "Ignite the target entity." ] -@PointClass base(Targetname, DXLevelChoice, Angles) iconsprite("editor/fog_controller.vmt") color(255 255 255) = env_fog_controller : +@PointClass base(Targetname, DXLevelChoice, Angles) iconsprite("editor/fog_controller.vmt") sphere(fogstart) sphere(fogend) color(255 255 255) = env_fog_controller : "An entity that controls the fog and view distance in the map." [ // Inputs diff --git a/halflife2.fgd b/halflife2.fgd index 318c629..4c77a6a 100644 --- a/halflife2.fgd +++ b/halflife2.fgd @@ -1902,11 +1902,13 @@ 65536 : "[65536] No Dynamic Light" : 0 131072: "[131072] Strider Scout Scanner" : 0 ] - - spotlightlength(integer) : "SpotlightLength" : 500 - spotlightwidth(integer) : "SpotlightWidth" : 50 - spotlightdisabled(choices) : "SpotlightDisabled" : 0 = + CustomFlightSpeed(float) : "Custom Flight Speed" : "0" : "Overrides the scanner's default speed. 0 = use default" + + spotlightlength(integer) : "Spotlight Length" : 500 + spotlightwidth(integer) : "Spotlight Width" : 50 + + spotlightdisabled(choices) : "Spotlight Disabled" : 0 = [ 0 : "No" 1 : "Yes" @@ -1940,7 +1942,7 @@ input DisableSpotlight(void) : "DisableSpotlight" input InspectTargetPhoto(target_destination) : "Tells the scanner to photograph the given entity, named by classname or by target name. !activator or !player works here also." input InspectTargetSpotlight(target_destination) : "Tells the scanner to spotlight the given entity, named by classname or by target name. !activator or !player works here also." - input InputSetFlightSpeed(integer) : "Sets the flight speed of the scanner" + input SetFlightSpeed(integer) : "Sets the flight speed of the scanner" input InputShouldInspect(integer) : "Set whether should inspect or not" input SetFollowTarget(target_destination) : "Set target to follow until told otherwise" input ClearFollowTarget(void) : "Stop following our target" @@ -4926,8 +4928,10 @@ // Camera/monitor entities // //------------------------------------------------------------------------- -@PointClass base(Targetname, Parentname, Angles) studioprop("models/editor/camera.mdl") = point_camera : "Camera" +@PointClass base(Targetname, Parentname, Angles) studioprop("models/editor/camera.mdl") frustum(FOV,-1,128,250 250 250,-1) = point_camera : "Camera" [ + // MAPBASE TODO: sphere(fogstart) sphere(fogend) seems distracting. Should we add it in anyway? + spawnflags(Flags) = [ 1 : "[1] Start Off" : 0