mirror of
https://github.com/mapbase-source/source-fgds.git
synced 2024-12-28 08:45:27 +03:00
Added env_instructor_hint, info_target_instructor_hint, and point_glow
This commit is contained in:
parent
5d9d3f2d03
commit
0722b16f1b
171
base.fgd
171
base.fgd
@ -9287,3 +9287,174 @@
|
||||
|
||||
input ApplyImpulse(void) : "Apply impulse to touching entities"
|
||||
]
|
||||
|
||||
@PointClass base(Targetname) sphere(hint_range) iconsprite("editor/env_instructor_hint.vmt") = env_instructor_hint : "An entity that allows for creation and control of instructor lessons by map logic"
|
||||
[
|
||||
hint_replace_key(string) : "Replace Key" : : "Unique name so that messages with the same key will replace each other."
|
||||
hint_target(target_destination) : "Target Entity" : : "The entity to show this hint on top of. The entity used must exist on the client, info_target_instructor_hint can be parented to server only entities for this purpose."
|
||||
hint_static(Choices) : "Positioning" : 0 : "Either show at the position of the Target Entity. Or show the hint directly on the hud at a fixed position." =
|
||||
[
|
||||
0 : "Follow the Target Entity"
|
||||
1 : "Show on the hud"
|
||||
]
|
||||
|
||||
hint_allow_nodraw_target(Choices) : "Allow invisible target" : 1 : "Do we allow the hint to follow entites with nodraw set?" =
|
||||
[
|
||||
0 : "End immediately on nodraw"
|
||||
1 : "Yes"
|
||||
]
|
||||
|
||||
hint_caption(string) : "Caption" : : "The text of your hint."
|
||||
hint_activator_caption(string) : "Activator Caption" : : "The text of your hint shown to only the activating player."
|
||||
hint_color(color255) : "Caption Color" : "255 255 255" : "The color of the caption text"
|
||||
hint_forcecaption(Choices) : "Force caption" : 0 : "Do we show the caption text even if the hint is occluded by a wall?" =
|
||||
[
|
||||
0 : "No"
|
||||
1 : "Show when occluded"
|
||||
]
|
||||
|
||||
hint_icon_onscreen(Choices) : "Onscreen Icon" : "icon_tip" : "The icon to use when the hint is within the player's view." =
|
||||
[
|
||||
"icon_bulb" : "icon_bulb"
|
||||
"icon_caution" : "icon_caution"
|
||||
"icon_alert" : "icon_alert"
|
||||
"icon_alert_red" : "icon_alert_red"
|
||||
"icon_tip" : "icon_tip"
|
||||
"icon_skull" : "icon_skull"
|
||||
"icon_no" : "icon_no"
|
||||
"icon_run" : "icon_run"
|
||||
"icon_interact" : "icon_interact"
|
||||
"icon_button" : "icon_button"
|
||||
"icon_door" : "icon_door"
|
||||
"icon_arrow_plain" : "icon_arrow_plain"
|
||||
"icon_arrow_plain_white_dn" : "icon_arrow_plain_white_dn"
|
||||
"icon_arrow_plain_white_up" : "icon_arrow_plain_white_up"
|
||||
"icon_arrow_up" : "icon_arrow_up"
|
||||
"icon_arrow_right" : "icon_arrow_right"
|
||||
"icon_fire" : "icon_fire"
|
||||
"icon_present" : "icon_present"
|
||||
"use_binding" : "show key bindings"
|
||||
|
||||
"icon_health" : "(HL2) icon_health"
|
||||
"icon_battery" : "(HL2) icon_battery"
|
||||
"icon_frag" : "(HL2) icon_frag"
|
||||
"icon_cmbball" : "(HL2) icon_cmbball"
|
||||
"icon_hl2" : "(HL2) icon_hl2"
|
||||
"icon_gravgun" : "(HL2) icon_gravgun"
|
||||
"icon_bugbait" : "(HL2) icon_bugbait"
|
||||
"icon_rocket" : "(HL2) icon_rocket"
|
||||
"icon_combine" : "(HL2) icon_combine"
|
||||
"icon_lambda" : "(HL2) icon_lambda"
|
||||
"icon_squad" : "(HL2) icon_squad"
|
||||
"icon_squad_medic" : "(HL2) icon_squad_medic"
|
||||
"icon_ammo" : "(HL2) icon_ammo"
|
||||
"icon_flashlight" : "(HL2) icon_flashlight"
|
||||
"icon_pistol" : "(HL2) icon_pistol"
|
||||
]
|
||||
|
||||
hint_icon_offscreen(Choices) : "Offscreen Icon" : "icon_tip" : "The icon to use when the hint is outside the player's view." =
|
||||
[
|
||||
"icon_bulb" : "icon_bulb"
|
||||
"icon_caution" : "icon_caution"
|
||||
"icon_alert" : "icon_alert"
|
||||
"icon_alert_red" : "icon_alert_red"
|
||||
"icon_tip" : "icon_tip"
|
||||
"icon_skull" : "icon_skull"
|
||||
"icon_no" : "icon_no"
|
||||
"icon_run" : "icon_run"
|
||||
"icon_interact" : "icon_interact"
|
||||
"icon_button" : "icon_button"
|
||||
"icon_door" : "icon_door"
|
||||
"icon_arrow_plain" : "icon_arrow_plain"
|
||||
"icon_arrow_plain_white_dn" : "icon_arrow_plain_white_dn"
|
||||
"icon_arrow_plain_white_up" : "icon_arrow_plain_white_up"
|
||||
"icon_arrow_up" : "icon_arrow_up"
|
||||
"icon_arrow_right" : "icon_arrow_right"
|
||||
"icon_fire" : "icon_fire"
|
||||
"icon_present" : "icon_present"
|
||||
|
||||
"icon_health" : "(HL2) icon_health"
|
||||
"icon_battery" : "(HL2) icon_battery"
|
||||
"icon_frag" : "(HL2) icon_frag"
|
||||
"icon_cmbball" : "(HL2) icon_cmbball"
|
||||
"icon_hl2" : "(HL2) icon_hl2"
|
||||
"icon_gravgun" : "(HL2) icon_gravgun"
|
||||
"icon_bugbait" : "(HL2) icon_bugbait"
|
||||
"icon_rocket" : "(HL2) icon_rocket"
|
||||
"icon_combine" : "(HL2) icon_combine"
|
||||
"icon_lambda" : "(HL2) icon_lambda"
|
||||
"icon_squad" : "(HL2) icon_squad"
|
||||
"icon_squad_medic" : "(HL2) icon_squad_medic"
|
||||
"icon_ammo" : "(HL2) icon_ammo"
|
||||
"icon_flashlight" : "(HL2) icon_flashlight"
|
||||
"icon_pistol" : "(HL2) icon_pistol"
|
||||
]
|
||||
|
||||
hint_nooffscreen(Choices) : "Show offscreen" : 0 : "When the hint is offscreen, do we show an icon and arrow?" =
|
||||
[
|
||||
0 : "Show"
|
||||
1 : "Don't show"
|
||||
]
|
||||
|
||||
hint_binding(string) : "Bound Command" : : "If using 'show key bindings' for the onscreen icon, this field should be the command we want to show bindings for"
|
||||
hint_icon_offset(float) : "Icon Height Offset" : 0 : "A height offset from the target entity's origin to display the hint"
|
||||
hint_pulseoption(Choices) : "Size Pulsing" : 0 : "The icon size can pulsate" =
|
||||
[
|
||||
0 : "No Pulse"
|
||||
1 : "Slow Pulse"
|
||||
2 : "Fast Pulse"
|
||||
3 : "Urgent Pulse"
|
||||
]
|
||||
|
||||
hint_alphaoption(Choices) : "Alpha Pulsing" : 0 : "The icon alpha can pulsate" =
|
||||
[
|
||||
0 : "No Pulse"
|
||||
1 : "Slow Pulse"
|
||||
2 : "Fast Pulse"
|
||||
3 : "Urgent Pulse"
|
||||
]
|
||||
|
||||
hint_shakeoption(Choices) : "Shaking" : 0 : "The icon can shake" =
|
||||
[
|
||||
0 : "No Shaking"
|
||||
1 : "Narrow Shake"
|
||||
2 : "Wide Shake"
|
||||
]
|
||||
|
||||
hint_local_player_only(choices) : "Only Local Player" : "No" : "The hint will only be shown to the local player." =
|
||||
[
|
||||
0 : "No"
|
||||
1 : "Yes"
|
||||
]
|
||||
|
||||
hint_timeout(integer) : "Timeout" : 0 : "The automatic timeout for the hint. 0 will persist until stopped with EndHint."
|
||||
hint_range(float) : "Display Range" : 0 : "The visible range of the hint."
|
||||
|
||||
hint_start_sound(sound) : "Sound" : "Instructor.LessonStart" : "The sound to play when the hint is first displayed."
|
||||
|
||||
hint_target_pos(choices) : "Icon Target Position" : 0 : "Controls where the hint should appear on the icon target." =
|
||||
[
|
||||
0 : "Eye position"
|
||||
1 : "Origin"
|
||||
2 : "World Space Center"
|
||||
]
|
||||
|
||||
input ShowHint(string) : "Start showing the hint. If an entity name is passed as a parameter, the hint is shown only to that entity."
|
||||
input EndHint(void) : "Stop showing the hint if it hasn't already timed out."
|
||||
|
||||
input SetCaption(string) : "Sets the hint's caption. Does not update hints in progress."
|
||||
]
|
||||
|
||||
@PointClass base(Targetname,Parentname) = info_target_instructor_hint : "A generic target that gets replicated to the client for hud hint targeting"
|
||||
[
|
||||
|
||||
]
|
||||
|
||||
@PointClass base(Targetname,EnableDisable) = point_glow : "Mapbase off-shoot of tf_glow"
|
||||
[
|
||||
target(target_destination) : "Target" : : "One target only."
|
||||
GlowColor(color255) : "Glow Color" : "255 0 0 255" : "<r> <g> <b> <a> 0-255"
|
||||
|
||||
input SetGlowColor(color255) : "<r> <g> <b> <a> 0-255"
|
||||
input Toggle(void) : "Toggles this entity."
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user