Env tram screen: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{CDA|CTramScreen|CVGuiScreen|CBaseEntity|}} | |||
{{this is a|point entity|name=env_tram_screen|game=Black Mesa|sprite=Info_target.png}} This entity creates the [[VGUI]] panel for train from ''Apprehension'' chapter. Created by {{ent|prop_train_apprehension}}, but also can be used in {{Hammer|4}}. | {{this is a|point entity|name=env_tram_screen|game=Black Mesa|sprite=Info_target.png}} This entity creates the [[VGUI]] panel for train from ''Apprehension'' chapter. Created by {{ent|prop_train_apprehension}}, but also can be used in {{Hammer|4}}. | ||
[[File:env_tram_screen_Panel.jpg|thumb|The VGUI panel.]] | [[File:env_tram_screen_Panel.jpg|thumb|The VGUI panel.]] | ||
== Keyvalues == | == Keyvalues == | ||
{{KV | {{KV|Panel Name|intn=panelname|string|Name of the panel to use. This is ''not'' a filename.}} | ||
{{KV| | {{KV|nofgd=1|Overlay Material|intn=overlaymaterial|string|Name of a material to overlay over the top of the VGUI screen. {{note|This material must write Z for the VGUI screen to work.}}}} | ||
{{KV|nofgd=1|Panel Width in World|intn=width|integer|Width of the panel in units.}} | |||
{{KV|nofgd=1|Panel Height in World|intn=height|integer|Height of the panel in units.}} | |||
{{KV|Func Train To Trigger|intn=functrainname|target_destination|Determines the {{ent|func_tracktrain}} that will affect the indicators on the screen. Doesn't work with other train entities.}} | {{KV|Func Train To Trigger|intn=functrainname|target_destination|Determines the {{ent|func_tracktrain}} that will affect the indicators on the screen. Doesn't work with other train entities.}} | ||
{{KV|Panel Name|intn=panelname|target_destination|Determines the prop that the screen will be attached to. It can be any target with model that have all the required [[attachment point|attachment points]].}} | {{KV|Panel Name|intn=panelname|target_destination|Determines the prop that the screen will be attached to. It can be any target with model that have all the required [[attachment point|attachment points]].}} |
Latest revision as of 00:34, 27 May 2025
![]() |
---|
CTramScreen |

env_tram_screen
is a point entity available in Black Mesa. This entity creates the VGUI panel for train from Apprehension chapter. Created by prop_train_apprehension, but also can be used in
Hammer.
Keyvalues
- Panel Name (panelname) <string>
- Name of the panel to use. This is not a filename.
- Overlay Material (overlaymaterial) <string> !FGD
- Name of a material to overlay over the top of the VGUI screen.
Note:This material must write Z for the VGUI screen to work.
- Func Train To Trigger (functrainname) <targetname>
- Determines the func_tracktrain that will affect the indicators on the screen. Doesn't work with other train entities.
- Panel Name (panelname) <targetname>
- Determines the prop that the screen will be attached to. It can be any target with model that have all the required attachment points.
Inputs
- SetActive <void> !FGD
- Activates screen.
- SetInactive <void> !FGD
- Deactivates screen.
- attachscreen <void> !FGD
- Fired on entity spawn to attach screen.