Env portal laser: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		 
  
 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.
		
	
| mNo edit summary |  (Added (some) entity data) | ||
| Line 1: | Line 1: | ||
| [[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}}  | {{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
 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
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 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>
- 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.
Inputs
- TurnOn
- TurnOff
- Toggle
