Latest revision |
Your text |
Line 234: |
Line 234: |
| *$<function name> <any> | | *$<function name> <any> |
| ** Calls a named global function with parameters: provided value, activator, caller | | ** Calls a named global function with parameters: provided value, activator, caller |
|
| |
| == $bot_npc ==
| |
| Customizable npc bot that does not consume bot slots
| |
| ===Keyvalues===
| |
| *$class <string>
| |
| **Mimic a given player class (sniper by default)
| |
| *$movespeed <float>
| |
| *$duckmovespeed <float>
| |
| *$acceleration <float>
| |
| *$deceleration <float>
| |
| *$jumpheight <float>
| |
| *$gravity <float>
| |
| *$skill <easy/normal/hard/expert>
| |
| *$aimtrackinginterval <float>
| |
| *$aimleadtime <float>
| |
| *$headrotatespeed <float>
| |
| *$autojumpmintime <float>
| |
| *$autojumpmaxtime <float>
| |
| *$forceduck <1/0>
| |
| *$forceshoot <1/0>
| |
| *$disableshoot <1/0>
| |
| *$freeze <1/0>
| |
| *$ignoreenemies <1/0>
| |
| *$dodge <1/0>
| |
| *$notsolidtoplayers <1/0>
| |
| *$ignoreclips <1/0>
| |
| *$allowtakefriendlyfire <1/0>
| |
| *$handattackdamage <float>
| |
| *$handattacktime <float>
| |
| *$handattackrange <float>
| |
| *$handattacksize <float>
| |
| *$handattackforce <float>
| |
| *$handattacksmacktime <float>
| |
| *$handattackcleave <1/0>
| |
| *$handattackicon <string>
| |
| *$handattacksound <string>
| |
| *$handattacksoundmiss <string>
| |
| *$crits <1/0>
| |
| *$hurtsound <1/0>
| |
| *$deathsound <string>
| |
| *$nofootsteps <1/0>
| |
| *$footstepsound <string>
| |
| *$waituntilfullreload <1/0>
| |
| *$deatheffecttype <gib/ragdoll/default/none>
| |
| *$robot <1/0>
| |
| *$zombie <1/0>
| |
| *$giant <1/0>
| |
| *$model <string>
| |
| *$useplayercollisionbounds <1/0>
| |
|
| |
| === Inputs ===
| |
| * $GiveWeapon <string/entity>
| |
| ** Give item with given name, or give item entity directly
| |
|
| |
| * $RemoveWeapon <string/entity>
| |
| ** Remove item with given name, or give item entity directly
| |
| *$RemoveAllWeapons
| |
| *$SetHealth
| |
| *$SetMaxHealth
| |
| *$StartActivity <string>
| |
| *$StartSequence <string>
| |
| *$AddGestureActivity <string>
| |
| *$RestartGestureActivity <string>
| |
| *$AddGestureSequence <string>
| |
| *$RemoveGesture <string>
| |
| *$RemoveAllGesture
| |
| *$StopActivityOrSequence
| |
| *$SwitchClass <string>
| |
| *$BotCommand <string>
| |
| [[Category:Misc Additions]] | | [[Category:Misc Additions]] |