Difference between revisions of "Ent hover turret tether"

From Valve Developer Community
Jump to: navigation, search
(This entity is not in the FGD by default)
(added fgd data to the hover turret tether)
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
 
{{ent not in fgd}}
 
{{ent not in fgd}}
{{portal2 point|ent_hover_turret_tether}} It is apparently the proper entity to be used to suspend an [[npc_hover_turret]] from the ceiling, but no documentation exists on its use.
+
{{portal2 point|ent_hover_turret_tether}} It is the proper entity to be used to suspend an [[npc_hover_turret]] from the ceiling, and is used by setting its name to the npc_hover_turret's "attachTarget" keyvalue. Currently, no official documentation exists on its use.
{{todo|Is there any way to find out how to use it?}}
+
<br>
 +
 
 +
== FGD Code ==
 +
 
 +
<pre>
 +
 
 +
@PointClass base(Targetname,Parentname,Angles) studio("models/editor/axis_helper_thick.mdl") = ent_hover_turret_tether :
 +
"Tether that hover turrets attach to."
 +
[
 +
 +
// Inputs
 +
input SetLightingOrigin(string)
 +
input SetLightingOriginHack(string)
 +
input BecomeRagdoll(void)
 +
input IgniteHitboxFireScale(float)
 +
input IgniteNumHitboxFires(integer)
 +
input IgniteLifetime(float)
 +
input Ignite(void)
 +
input SetBodyGroup(integer)
 +
input skin(integer)
 +
input RemovePaint(void)
 +
input CallScriptFunction(string)
 +
input RunScriptCode(string)
 +
input RunScriptFile(string)
 +
input FireUser4(string)
 +
input FireUser3(string)
 +
input FireUser2(string)
 +
input FireUser1(string)
 +
input AddOutput(string)
 +
input EnableDrawInFastReflection(void)
 +
input DisableDrawInFastReflection(void)
 +
input EnableReceivingFlashlight(void)
 +
input DisableReceivingFlashlight(void)
 +
input EnableDraw(void)
 +
input DisableDraw(void)
 +
input EnableShadow(void)
 +
input DisableShadow(void)
 +
input ClearContext(string)
 +
input RemoveContext(string)
 +
input AddContext(string)
 +
input DispatchResponse(string)
 +
input DisableDamageForces(void)
 +
input EnableDamageForces(void)
 +
input SetDamageFilter(string)
 +
input SetLocalAngles(string)
 +
input SetLocalOrigin(string)
 +
input ClearParent(void)
 +
input SetParentAttachmentMaintainOffset(string)
 +
input SetParentAttachment(string)
 +
input SetParent(string)
 +
input AlternativeSorting(boolean)
 +
input Alpha(integer)
 +
input Use(void)
 +
input KillHierarchy(void)
 +
input Kill(void)
 +
input fademaxdist(float)
 +
input fademindist(float)
 +
input SetTeam(integer)
 +
input TeamNum(integer)
 +
 +
// Outputs
 +
output OnFizzled(void)
 +
output OnIgnite(void)
 +
output OnUser4(void)
 +
output OnUser3(void)
 +
output OnUser2(void)
 +
output OnUser1(void)
 +
]
 +
 
 +
</pre>
 +
 
 +
<br>
 +
The hover turret's full (unfinished and, therefor, broken) FGD data can be found [https://pastebin.com/jcqAZeta here.]
 +
{{todo|Finish the Tether's FGD entry}}

Revision as of 09:34, 2 April 2021

Portal 2 ent_hover_turret_tether is a point entity available in Portal 2. It is the proper entity to be used to suspend an npc_hover_turret from the ceiling, and is used by setting its name to the npc_hover_turret's "attachTarget" keyvalue. Currently, no official documentation exists on its use.


FGD Code

@PointClass base(Targetname,Parentname,Angles) studio("models/editor/axis_helper_thick.mdl") = ent_hover_turret_tether :
"Tether that hover turrets attach to."
[
 
	// Inputs
	input SetLightingOrigin(string)
	input SetLightingOriginHack(string)
	input BecomeRagdoll(void)
	input IgniteHitboxFireScale(float)
	input IgniteNumHitboxFires(integer)
	input IgniteLifetime(float)
	input Ignite(void)
	input SetBodyGroup(integer)
	input skin(integer)
	input RemovePaint(void)
	input CallScriptFunction(string)
	input RunScriptCode(string)
	input RunScriptFile(string)
	input FireUser4(string)
	input FireUser3(string)
	input FireUser2(string)
	input FireUser1(string)
	input AddOutput(string)
	input EnableDrawInFastReflection(void)
	input DisableDrawInFastReflection(void)
	input EnableReceivingFlashlight(void)
	input DisableReceivingFlashlight(void)
	input EnableDraw(void)
	input DisableDraw(void)
	input EnableShadow(void)
	input DisableShadow(void)
	input ClearContext(string)
	input RemoveContext(string)
	input AddContext(string)
	input DispatchResponse(string)
	input DisableDamageForces(void)
	input EnableDamageForces(void)
	input SetDamageFilter(string)
	input SetLocalAngles(string)
	input SetLocalOrigin(string)
	input ClearParent(void)
	input SetParentAttachmentMaintainOffset(string)
	input SetParentAttachment(string)
	input SetParent(string)
	input AlternativeSorting(boolean)
	input Alpha(integer)
	input Use(void)
	input KillHierarchy(void)
	input Kill(void)
	input fademaxdist(float)
	input fademindist(float)
	input SetTeam(integer)
	input TeamNum(integer)
 
	// Outputs
	output OnFizzled(void)
	output OnIgnite(void)
	output OnUser4(void)
	output OnUser3(void)
	output OnUser2(void)
	output OnUser1(void)
]


The hover turret's full (unfinished and, therefor, broken) FGD data can be found here. To do: Finish the Tether's FGD entry