Npc rollermine: 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 (→Outputs: {{plact}}) |
m (ep1 add) |
||
Line 9: | Line 9: | ||
* '''startburied''' | * '''startburied''' | ||
: {{boolean}} | : {{boolean}} | ||
* '''{{ep1 add|uniformsightdist}}''' | |||
: (choices) Sight Distance | |||
:{| | |||
! Literal Value || Description | |||
|- | |||
| 0 || Ignore distant targets not in a vehicle (default). | |||
|- | |||
| 1 || Equal visibility for all targets. | |||
|} | |||
==Flags== | ==Flags== | ||
* {{fl basenpc}} | * {{fl basenpc}} | ||
* 65536 : Friendly | * 65536 : Friendly | ||
* {{ep1 add|131072 : Use prop_physics collision rules}} | |||
==Inputs== | ==Inputs== | ||
* {{i basenpc}} | * {{i basenpc}} | ||
* '''{{ep1 add|TurnOn}}''' | |||
: Restore this rollermine to normal functionality. | |||
* '''{{ep1 add|TurnOff''' | |||
: Make this rollermine completely inert. Does not run AI and NPCs will ignore it. | |||
==Outputs== | ==Outputs== | ||
* {{o basenpc}} | * {{o basenpc}} |
Revision as of 23:37, 5 August 2006
Entity Description
Call it an artificially intelligent prop_physics.

Keyvalues
- Template:Kv basenpc
- startburied
- <boolean>
- (choices) Sight Distance
Literal Value Description 0 Ignore distant targets not in a vehicle (default). 1 Equal visibility for all targets.
Flags
- Template:Fl basenpc
- 65536 : Friendly
- Template:Ep1 add
Inputs
- Restore this rollermine to normal functionality.
- {{ep1 add|TurnOff
- Make this rollermine completely inert. Does not run AI and NPCs will ignore it.
Outputs
- Template:O basenpc
- OnPhysGunPickup
- Picked up with physgun. Template:Plact
- OnPhysGunDrop
- Released by physgun. Template:Plact