-> Description
Allows TSRP server owners to make "living" people into their maps (well, they just walk around and chat if its enabled).
-> Requirements
Amx Mod X v1.75 and fakemeta-module enabled (may work on older versions, but untested).
-> Cvars & commands:
npc_health - health given to npcs on spawn, def: 100
npc_walkspeed - max. walking speed, def: 70
npc_turnspeed - turning speed (degrees per frame), def: 2.0
npc_stepsize - step up onto ledges if gets stuck, def: 15.0
npc_bodydisappear - delay for dead bodies to be removed, def: 30.0
npc_recreatetime - delay for respawning dead npcs, def: 30.0
npc_chatinterval - min. time npcs have to wait between chats, def: 20.0
npc_chatrandomity - randomizes chatinterval, def: 15.0
npc_chatprobability - chance of npc to chat (%), def: 15
npc_godmode - turn npc godmode on/off, def: 0
npc_chattoggle - turn npc chatting on/off, def: 1
amx_npcwaypoint - open waypointmenu to edit waypoints (req. flag "m")
-> Usage:
First you need to create waypoints for the map, this is done by first typing amx_npcwaypoint into your console and a menu pops up. Press #1 to create a new character entry, and then use #5 to make a path of waypoints for the npc, note that you may only have MAX_WAYPOINTS (defined in civilian_wps, def: 50) waypoints per entry.
Use #2 and #3 to browse through entries and edit/delete them if needed. When done, press #6 to save all entries into: amxmodx/data/waypoints/<mapname>.txt and then restart the server to add npcs to the paths (they spawn to the first wp).
-> Notes:
If you raise i.e. the MAX_WAYPOINTS definition, remember to raise it in the other plugin too.
-> Changelog:
v1.00 - Initial release
v1.01 - Added a gravity fix
-> Credits:
Karko - thanks for the idea, addon-suggestions, chat-texts and testing