Func tanklaser: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 Note:If no env_laser used - entity will self remove on spawn with
Note:If no env_laser used - entity will self remove on spawn with 
 Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
		
	
| No edit summary |  (-added class hierarchy, cleanup) | ||
| (15 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{LanguageBar}} | ||
| {{ | {{tabs|func_tanklaser|goldsrc=1|source=1|main=source}} | ||
| {{CD|CFuncTankLaser|file1=func_tank.cpp}} | |||
| {{toc-right}} | |||
| [[File:Func tanklaser.png|400px|thumb|right]] | |||
| {{this is a|brush entity|game1=Portal|game2=Portal 2|game3=Counter-Strike: Global Offensive|game4=Black Mesa|name=func_tanklaser|game=Half-Life 2}} It functions as a laser turret. Does not function quite the same as other {{ent|func_tank}}-based entities. Use {{ent|func_tankpulselaser}} for controllable turrets. | |||
| {{note|If no [[env_laser]] used - entity will self remove on spawn with <code>Laser tank with no env_laser!</code> error massege in the console.}} | |||
| {{ | ==Flags== | ||
| {{Fl BaseTank}} | |||
| ==Keyvalues== | ==Keyvalues== | ||
| {{Brush rendering note}} | |||
| = | {{KV Targetname}} | ||
| {{KV|env_laser Entity|intn=laserentity|target_destination|An {{ent|env_laser}}, used for defining properties of the laser that emits from the gun. The location of this entity will not matter.}} | |||
| {{KV BaseTank}} | |||
| ==Inputs== | ==Inputs== | ||
| {{I BaseTank}} | |||
| ==Outputs== | ==Outputs== | ||
| {{O BaseTank}} | |||
| [[Category:Immobile NPCs]] | |||
| [[Category: | |||
Latest revision as of 02:26, 3 September 2024

 
|  Class hierarchy | 
|---|
| CFuncTankLaser | 
|  func_tank.cpp | 
func_tanklaser  is a   brush entity  available in  Half-Life 2,
 Half-Life 2,  Portal,
 Portal,  Portal 2,
 Portal 2,  Counter-Strike: Global Offensive, and
 Counter-Strike: Global Offensive, and  Black Mesa. It functions as a laser turret. Does not function quite the same as other func_tank-based entities. Use func_tankpulselaser for controllable turrets.
 Black Mesa. It functions as a laser turret. Does not function quite the same as other func_tank-based entities. Use func_tankpulselaser for controllable turrets.
 Note:If no env_laser used - entity will self remove on spawn with
Note:If no env_laser used - entity will self remove on spawn with Laser tank with no env_laser! error massege in the console.Flags
| 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 
Keyvalues
 Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
- 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
- env_laser Entity (laserentity) <targetname>
- An env_laser, used for defining properties of the laser that emits from the gun. The location of this entity will not matter.
| 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 
Inputs
| 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 
Outputs
| 
 
 
 
 
 
 
 
 
 | 
Categories: 
- Brush entities
- Half-Life 2 entities
- Half-Life 2 brush entities
- Portal entities
- Portal brush entities
- Portal 2 entities
- Portal 2 brush entities
- Counter-Strike: Global Offensive entities
- Counter-Strike: Global Offensive brush entities
- Black Mesa entities
- Black Mesa brush entities
- Rendered brush entities
- Pages with uncategorized bugs
- Immobile NPCs


























 Confirm:
 Confirm: