Func tank combine cannon: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 Note:For use as a Combine Autogun, Effect Handling should be set to Combine Cannon and Ammo Type should be Combine Heavy Cannon
Note:For use as a Combine Autogun, Effect Handling should be set to Combine Cannon and Ammo Type should be Combine Heavy Cannon
 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
 Warning:Despite fire rate appearing variable, it is actually hardcoded to 1.5
Warning:Despite fire rate appearing variable, it is actually hardcoded to 1.5
		
	
| mNo edit summary | No edit summary | ||
| (15 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{LanguageBar}} | ||
| {{CD|CFuncTankCombineCannon|file1=func_tank.cpp}} | |||
| {{toc-right}} | |||
| {{this is a|brush entity|name=func_tank_combine_cannon|game=Half-Life 2 series}} This entity forms the basis of the three-way [http://combineoverwiki.net/wiki/Autogun Combine Autogun] seen in Episode Two on {{ent|ep2_outland_09}}. It is operated by an {{ent|npc_enemyfinder_combinecannon}} and fires a powerful beam of dark energy. In Half-Life 2, the shooting ability appears to not function. In Episode One, the gun can harm things, but the visual effects are somewhat different than Episode Two. | |||
| {{note|For use as a Combine Autogun, '''Effect Handling''' should be set to '''Combine Cannon''' and '''Ammo Type''' should be '''Combine Heavy Cannon'''}} | |||
| {{stray ent|{{portal}} {{portal2}} {{bms}}}} | |||
| {{note | ==Flags== | ||
| {{Fl BaseTank}} | |||
| ==Keyvalues== | |||
| {{Brush rendering note}} | |||
| {{KV Targetname}} | |||
| {{KV | |||
| {{KV BaseTank}} | {{KV BaseTank}} | ||
| {{Warning|Despite fire rate appearing variable, it is actually hardcoded to 1.5}} | |||
| ==Inputs== | |||
| {{I|DisableHarrass|Disable the cannon tracking an unseen player.}} | |||
| {{I|EnableHarrass|Allow the cannon to track and pester a player who is hiding (by default, it can).}} | |||
| == Inputs == | |||
| {{ | |||
| {{ | |||
| {{I BaseTank}} | {{I BaseTank}} | ||
| == Outputs == | ==Outputs== | ||
| {{ | {{O|OnShotAtPlayer|Fired every time the cannon shoots at the player.}} | ||
| {{O BaseTank}} | {{O BaseTank}} | ||
Latest revision as of 18:51, 1 June 2025

 
|  Class hierarchy | 
|---|
| CFuncTankCombineCannon | 
|  func_tank.cpp | 
func_tank_combine_cannon  is a   brush entity  available in  Half-Life 2 series. This entity forms the basis of the three-way Combine Autogun seen in Episode Two on ep2_outland_09. It is operated by an npc_enemyfinder_combinecannon and fires a powerful beam of dark energy. In Half-Life 2, the shooting ability appears to not function. In Episode One, the gun can harm things, but the visual effects are somewhat different than Episode Two.
 Half-Life 2 series. This entity forms the basis of the three-way Combine Autogun seen in Episode Two on ep2_outland_09. It is operated by an npc_enemyfinder_combinecannon and fires a powerful beam of dark energy. In Half-Life 2, the shooting ability appears to not function. In Episode One, the gun can harm things, but the visual effects are somewhat different than Episode Two.
 Note:For use as a Combine Autogun, Effect Handling should be set to Combine Cannon and Ammo Type should be Combine Heavy Cannon
Note:For use as a Combine Autogun, Effect Handling should be set to Combine Cannon and Ammo Type should be Combine Heavy Cannon
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
| 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 
 Warning:Despite fire rate appearing variable, it is actually hardcoded to 1.5
Warning:Despite fire rate appearing variable, it is actually hardcoded to 1.5Inputs
- DisableHarrass
- Disable the cannon tracking an unseen player.
- EnableHarrass
- Allow the cannon to track and pester a player who is hiding (by default, it can).
| 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 
Outputs
- OnShotAtPlayer
- Fired every time the cannon shoots at the player.
| 
 
 
 
 
 
 
 
 
 | 




























 Confirm:
 Confirm: