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.
mNo edit summary |
m (minoro) |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=npc_apcdriver}} | {{wrongtitle|title=npc_apcdriver}} | ||
==Entity | == Entity description == | ||
NPC used to drive an APC vehicle ([[prop_vehicle_apc]]). {{immobile npc}} | The NPC used to drive an APC vehicle ([[prop_vehicle_apc]]). {{immobile npc}} | ||
This entity has no physical representation in-game, and as such does not require specific placement in relation to its APC model. | |||
{{npcnote}} | {{npcnote}} | ||
==Keyvalues== | == Keyvalues == | ||
* {{kv vehicledrivernpc}} | * {{kv vehicledrivernpc}} | ||
* '''drivermaxspeed''' | * '''drivermaxspeed''' | ||
Line 16: | Line 14: | ||
* '''driverminspeed''' | * '''driverminspeed''' | ||
: <float> MinSpeed (percentage of vehicle's maxspeed). | : <float> MinSpeed (percentage of vehicle's maxspeed). | ||
==Flags== | |||
== Flags == | |||
* {{fl basenpc}} | * {{fl basenpc}} | ||
* 65536 : No Rocket Attacks | * 65536 : No Rocket Attacks | ||
* 131072 : No Gun Attacks | * 131072 : No Gun Attacks | ||
==Inputs== | |||
== Inputs == | |||
* {{i vehicledrivernpc}} | * {{i vehicledrivernpc}} | ||
* '''SetDriversMaxSpeed <float>''' | * '''SetDriversMaxSpeed <float>''' | ||
Line 30: | Line 30: | ||
* '''Stop''' | * '''Stop''' | ||
: Tell the driver to stop driving. | : Tell the driver to stop driving. | ||
==Outputs== | |||
== Outputs == | |||
* {{o basenpc}} | * {{o basenpc}} | ||
* '''DisableFiring <float>''' | * '''DisableFiring <float>''' | ||
Line 39: | Line 40: | ||
{{otherlang:en}} | {{otherlang:en}} | ||
{{otherlang:en:ru|Npc_apcdriver:ru}} | {{otherlang:en:ru|Npc_apcdriver:ru}} | ||
[[Category:Entities]] | |||
[[Category:Vehicle Entities]] | |||
[[Category:NPCs]] |
Revision as of 02:41, 17 April 2008
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
- Template:Kv vehicledrivernpc
- drivermaxspeed
- <float> Maxspeed (percentage of vehicle's maxspeed).
- driverminspeed
- <float> MinSpeed (percentage of vehicle's maxspeed).
Flags
- Template:Fl basenpc
- 65536 : No Rocket Attacks
- 131072 : No Gun Attacks
Inputs
- Template:I vehicledrivernpc
- 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
- Template:O basenpc
- DisableFiring <float>
- Disables firing from happening
- EnableFiring <float>
- Enables firing to start. Firing is enabled by default