npc_druglab_grunt_elite
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.
npc_druglab_grunt_elite is a model entity available in
SiN Episodes. It is an Elite version of npc_druglab_grunt_assault_rifle. Equipped with a Chaingun.
Entity description
This NPC is always equipped with weapon_chaingun. Always explodes upon death (with no actual damage from the explosion) and never drops its weapon. This is the only NPC that can use weapon_chaingun properly.
This NPC has melee attacks, is able to throw grenades and hit props. This NPC can be found in the official campaign.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
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.
- voice group name (voicegroupname) <choices>
- Which voice the NPC should use to speak his sentences. (Does not work):
: None_A: A_B: B_C: C_D: D_ELITE: Elite
- Invulnerable (invulnerable) <integer>
- Invulnerable or not.
- Target Vehicle (vehicle) <targetname>
- If set, the name of the vehicle which this NPC will use for vehicle inputs/outputs.
- Target Vehicle Path Corner (vehiclepathcorner) <targetname>
- If set, the name of the path corner for this NPC to use when driving their target vehicle.
- Driver Maxspeed (drivermaxspeed) <float>
- Percentage of vehicle's maxspeed. Only used for driving.
- Driver MinSpeed (driverminspeed) <float>
- Percentage of vehicle's minspeed. Only used for driving.
- Waiting to Rappel? (waitingtorappel) <choices>
- If yes, this NPC spawns suspended in air and awaits a BeginRappel input. It will then spawn a zipline and slide down. When it hits the ground, NPC will cut away the line and try to move forward a few feet to make room for the next NPC. The NPC will not attempt to clear its landing space if it cannot do so by taking a few steps forward:
0: No1: Yes
- Number of Grenades (NumGrenades) <choices>
- Amount of weapon_grenade the NPC will have on spawn:
0: None1: 12: 23: 34: 45: 5999999: Unlimited
- Grenade toss height (GrenadeHeight) <float>
- If grunt has more vertical distance than this from the player, become grenade happy.
- Weapons (additionalequipment) <choices>
- Only weapon_chaingun is available for this entity.:
weapon_chaingun: Chaingun.
Outputs
RappelNPC:
- OnRappelTouchdown
- Fires when done rappelling.
|
- OnEnterVehicleAsDriver
- Fired when NPC enters a vehicle as a driver.
- OnEnterVehicleAsPassenger
- Fired when NPC enters a vehicle as a passenger.
Inputs
- Assault <targetname>
- Starts an assault at the specified rally point.
- SetTargetVehicle
- Change the target vehicle of this NPC.
- EnterVehicle
- Tell this NPC to run and get in a role in their target vehicle.
- EnterVehicleForce
- Force this NPC to get in a role in their target vehicle.
- ExitVehicle
- Tell this NPC to get out of their target vehicle.
- DriverSetTargetPathCorner
- Set the path corner the driver will use for pathing.
- DriverSetMaxSpeed
- Set the Maxspeed (percentage of vehicle's maxspeed) (only used if NPC is in driver role).
- DriverSetMinSpeed
- Set the Minspeed (percentage of vehicle's maxspeed) (only used if NPC is in driver role).
- DriverStartDriving
- Tell the driver to start driving (must be in driver role of vehicle).
- DriverStopDriving
- Tell the driver to stop driving (must be in driver role of vehicle).
- DriverGotoPathCorner
- Tell the driver to go to a specific path corner and continue from there (must be in driver role of vehicle).
- DriverStartBoost
- Tell the driver to apply his boost (must be in driver role of vehicle).
- DriverStopBoost
- Tell the driver to stop applying his boost (must be in driver role of vehicle).
- DriverLock
- Disables the drivers ability to turn and brake.
- DriverUnlock
- Enables the drivers ability to turn and brake.
Flags
- Start LookOff : [65536]
- Start sitting : [131072]
- Can trigger DNA scanner : [262144]
- One hit kill : [524288]
- Don't drop secondary ammo : [1048576]
- Don't secondary fire : [1048576]