Added spheres to env_fog_controller, changed npc_cscanner entry + added custom flight speed, gave a frustum to point_camera

This commit is contained in:
Blixibon 2019-10-24 12:26:24 -05:00
parent 40bfb8067f
commit 85655b133f
2 changed files with 11 additions and 7 deletions

View File

@ -2086,7 +2086,7 @@
input Ignite(void) : "Ignite the target entity." 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." "An entity that controls the fog and view distance in the map."
[ [
// Inputs // Inputs

View File

@ -1903,10 +1903,12 @@
131072: "[131072] Strider Scout Scanner" : 0 131072: "[131072] Strider Scout Scanner" : 0
] ]
spotlightlength(integer) : "SpotlightLength" : 500 CustomFlightSpeed(float) : "Custom Flight Speed" : "0" : "Overrides the scanner's default speed. 0 = use default"
spotlightwidth(integer) : "SpotlightWidth" : 50
spotlightdisabled(choices) : "SpotlightDisabled" : 0 = spotlightlength(integer) : "Spotlight Length" : 500
spotlightwidth(integer) : "Spotlight Width" : 50
spotlightdisabled(choices) : "Spotlight Disabled" : 0 =
[ [
0 : "No" 0 : "No"
1 : "Yes" 1 : "Yes"
@ -1940,7 +1942,7 @@
input DisableSpotlight(void) : "DisableSpotlight" 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 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 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 InputShouldInspect(integer) : "Set whether should inspect or not"
input SetFollowTarget(target_destination) : "Set target to follow until told otherwise" input SetFollowTarget(target_destination) : "Set target to follow until told otherwise"
input ClearFollowTarget(void) : "Stop following our target" input ClearFollowTarget(void) : "Stop following our target"
@ -4926,8 +4928,10 @@
// Camera/monitor entities // 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) = spawnflags(Flags) =
[ [
1 : "[1] Start Off" : 0 1 : "[1] Start Off" : 0