Env portal laser: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Added (some) entity data)
Line 1: Line 1:
{{stub}}
[[File:env_portal_laser.jpg|thumb|right|env_portal_laser as seen in [[Hammer]]]]
[[File:env_portal_laser.jpg|thumb|right|env_portal_laser as seen in [[Hammer]]]]
[[File:env_portal_laser2.jpg|thumb|right|env_portal_laser as seen in-game (the white light is not emitted by the laser)]]
[[File:env_portal_laser2.jpg|thumb|right|env_portal_laser as seen in-game (the white light is not emitted by the laser)]]


{{portal2 point|env_portal_laser}} It emits a laser that can be used as a puzzle element or to destroy [[turrets]].
{{portal2 point|env_portal_laser}}  


{{note|There are two models that can be used. '''laser_emitter_center.mdl''' is the emitter pictured to the right, and '''laser_emitter.mdl''' is an emitter with the same base, but dropped a few units to line the laser up with redirectional cubes.}}
{{note|There are two models that can be used. '''laser_emitter_center.mdl''' is the emitter pictured to the right, and '''laser_emitter.mdl''' is an emitter with the same base, but dropped a few units to line the laser up with redirectional cubes.}}
==Entity description==
Laser Emitter. It emits a laser that can be used as a puzzle element or to destroy [[turrets]].
==Keyvalues==
{{KV Targetname}}
{{KV Angles}}
{{KV|World model|studio}}
{{KV|Start State|choices}}
{{KV|Auto Aim Enabled|boolean}}
{{KV|Skin|integer|Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default.}}
{{KV|Scale Value|integer}}
==Inputs==
{{I Targetname}}
{{I Angles}}
{{IO|TurnOn}}
{{IO|TurnOff}}
{{IO|Toggle}}
==Outputs==
{{O Targetname}}

Revision as of 16:59, 4 May 2011

env_portal_laser as seen in Hammer
env_portal_laser as seen in-game (the white light is not emitted by the laser)

Template:Portal2 point

Note.pngNote:There are two models that can be used. laser_emitter_center.mdl is the emitter pictured to the right, and laser_emitter.mdl is an emitter with the same base, but dropped a few units to line the laser up with redirectional cubes.

Entity description

Laser Emitter. It emits a laser that can be used as a puzzle element or to destroy turrets.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
World model ([todo internal name (i)]) <model path>
Start State ([todo internal name (i)]) <choices>
Auto Aim Enabled ([todo internal name (i)]) <boolean>
Skin ([todo internal name (i)]) <integer>
Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default.
Scale Value ([todo internal name (i)]) <integer>

Inputs

Template:I Angles

TurnOn
TurnOff
Toggle

Outputs