Info hlvr toner port: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Source2 point multi|info_hlvr_toner_port|game1 = Half-Life: Alyx}} ==Entity description== The '''info_hlvr_toner_port''' is the starting point of a toner puzzle. Any conne...")
 
Line 3: Line 3:


==Entity description==
==Entity description==
The '''info_hlvr_toner_port''' is the starting point of a toner puzzle. Any connected wires will be hidden until it is activated. The entire system can be hidden again via outputs from [[info_hlvr_toner_path]] or it can be left activated for dynamic puzzles. The ''desired orientation'' will decide the direction the path takes upon activation.
The '''info_hlvr_toner_port''' is the starting point of a toner puzzle. Any connected wires will be hidden until it is activated. The entire system can be hidden again via outputs from [[info_hlvr_toner_path]] or it can be left activated for dynamic puzzles. The ''desired orientation'' will decide the direction the path takes upon activation. Since activation by the multi-tool will only rotate the socket 90 degrees counter-clockwise the starting and desired rotation should be assigned accordingly. Roughly 0>90 90>180 180>270 and 270>0.
 


== Properties ==
== Properties ==

Revision as of 03:55, 26 May 2020

Template:Source2 point multi


Entity description

The info_hlvr_toner_port is the starting point of a toner puzzle. Any connected wires will be hidden until it is activated. The entire system can be hidden again via outputs from info_hlvr_toner_path or it can be left activated for dynamic puzzles. The desired orientation will decide the direction the path takes upon activation. Since activation by the multi-tool will only rotate the socket 90 degrees counter-clockwise the starting and desired rotation should be assigned accordingly. Roughly 0>90 90>180 180>270 and 270>0.

Properties

Source 2 Transform:

Origin (origin) <coordinates>
The world space origin of the entity.
Angles (angles) <angles>
The pitch, yaw, roll orientation of the entity.
Scale (scales) <vector>
The x, y, z scales of the entity. Not all entities can use this.
Transform Locked (transformLocked) <boolean>
Lock the transform at its current value, preventing the transform of the node from being modified. Only applies within Hammer.
Force Hidden (force_hidden) <boolean>
Visually hides the entity from the viewports. The Outliner pane will still list hidden entities.
Editor Only (editorOnly) <boolean>
Entity is only displayed in Hammer and will not appear in game.


Name ([todo internal name (i)]) <string>
The name that other entities refer to this entity by.


Misc Entity Scripts ([todo internal name (i)]) <string>
Name(s) of script files that are executed after all entities have spawned.


Start Disabled ([todo internal name (i)]) <boolean>
Self Explanatory


Start Port Visible ([todo internal name (i)]) <boolean>
Starting visibility of this toner port ONLY (not connected paths/junctions)


Start Visible ([todo internal name (i)]) <boolean>
Starting visibility of this port and elements connected to it


Initial Orientation ([todo internal name (i)]) <choices>
  • 0: 0 Degrees (default)
  • 1: 90 Degrees
  • 2: 180 Degrees
  • 3: 270 Degrees


Desired Orientation ([todo internal name (i)]) <choices>
  • 0: 0 Degrees
  • 1: 90 Degrees
  • 2: 180 Degrees (default)
  • 3: 270 Degrees

Outputs

OnKilled
Fire when the entity is killed and removed from the game.
OnUser1
Fired in response to FireUser1 input
OnUser2
Fired in response to FireUser2 input
OnUser3
Fired in response to FireUser3 input
OnUser4
Fired in response to FireUser4 input