Npc apcdriver: Difference between revisions
Jump to navigation
Jump to search
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
m (intn) |
||
Line 12: | Line 12: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV VehicleDriverNPC}} | {{KV VehicleDriverNPC}} | ||
{{KV|Maxspeed ( | {{KV|Maxspeed (percentage of vehicle's maxspeed)|intn=drivermaxspeed|float|}} | ||
{{KV| | |||
{{KV|MinSpeed (percentage of vehicle's maxspeed)|intn=driverminspeed|float|}} | |||
== Flags == | == Flags == |
Revision as of 14:00, 9 July 2024
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