Point apc controller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Unicodifying, replaced: [[Image: → [[File:)
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot under supervision.)
Line 1: Line 1:
{{stub}}
{{stub}}
[[File:Npc vehicledriver.png|left]]
[[File:Npc vehicledriver.png|left]]
{{hl2 point|point_apc_controller}}
{{this is a|e0|series=Half-Life 2|name=point_apc_controller}}
{{code class|CAPCController|hl2_dll\point_apc_controller.cpp}}
{{code class|CAPCController|hl2_dll\point_apc_controller.cpp}}
{{clr}}
{{clr}}

Revision as of 07:43, 7 January 2024

Stub

This article or section is a stub. You can help by expanding it.

Npc vehicledriver.png

point_apc_controller is an e0 available in Half-Life 2 series Half-Life 2 series.

C++ In code, it is represented by theCAPCControllerclass, defined in thehl2_dll\point_apc_controller.cppfile.

Entity description

Controls all APC's in the map.

Todo: Collect more informations about what the entity does.

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.


Yaw rate ([todo internal name (i)]) <float>


Yaw tolerance ([todo internal name (i)]) <float>


Pitch rate ([todo internal name (i)]) <float>


Pitch tolerance ([todo internal name (i)]) <float>


Rotate Start Sound ([todo internal name (i)]) <sound>


Rotate Stop Sound ([todo internal name (i)]) <sound>


Minmum target range ([todo internal name (i)]) <float>


Maximum target range ([todo internal name (i)]) <float>


Name of entity I should follow/attack ([todo internal name (i)]) <targetname>

Flags

  • 1 : Active

Inputs

Activate
Turn the APC rockets on.


Deactivate
Turn the APC rockets off (go dormant).

Outputs

OnFireAtTarget
Fires when a valid target is found and the APC should shoot rockets.