npc_apcdriver
Jump to navigation
Jump to search
![]() |
---|
CNPC_APCDriver defined in ![]() npc_apcdriver.cpp
|
npc_apcdriver
is a point entity available in Half-Life 2,
Half-Life 2: Episode One,
Half-Life 2: Episode Two, and
Half-Life 2: Deathmatch.
Entity Description

The NPC used to drive an APC vehicle (prop_vehicle_apc).
This entity has no physical representation in-game, and as such does not require specific placement in relation to its APC model.

Keyvalues
- Vehicle (vehicle) <targetname>
- Vehicle to drive.
- Maxspeed (percentage of vehicle's maxspeed) (drivermaxspeed) <float>
- MinSpeed (percentage of vehicle's maxspeed) (driverminspeed) <float>
Flags
- Start Inactive : [65536]
- No Rocket Attacks : [65536]
- Overrides standard flag for this number[confirm].
Bug:Does nothing in
Source 2013. [todo tested in ?]
- No Gun Attacks : [131072]
Inputs
- StartFiring
- Tell the driver to attack nearby enemies with the vehicle's weaponry (if any).
- StopFiring
- Tell the driver to stop attacking nearby enemies with the vehicle's weaponry.
- GotoPathCorner <targetname >
- Tell the driver to go to a specific path corner and continue from there.
- SetDriversMaxSpeed <float >
- Set the drivermaxspeed.
- SetDriversMinSpeed <float >
- Set the driverminspeed.
- StartForward
- Tell the driver to start driving.
- Stop
- Tell the driver to stop driving.
Outputs
- DisableFiring <float >
- Disables firing from happening.
- EnableFiring <float >
- Enables firing to start. Firing is enabled by default.
|
Categories:
- TODO rewrite lang to LanguageBar
- Point entities
- Non-internal Half-Life 2 entities
- Half-Life 2 entities
- Half-Life 2 point entities
- Non-internal Half-Life 2: Episode One entities
- Half-Life 2: Episode One entities
- Half-Life 2: Episode One point entities
- Non-internal Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two point entities
- Non-internal Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch point entities
- Immobile NPCs
- NPC entities
- Pages with uncategorized bugs
- Vehicle Entities
- Half-Life 2 NPCs