Civilian NPCs (TSRP)
5 Attachment(s)
-> 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 :) |
Re: Civilian NPCs (TSRP)
heres a screenshot (its a bit big, so didnt want to use [ img ]):
http://users.pelikaista.net/~p3tsin/..._lobby0000.jpg feel free to post your custom waypoints and chat texts into this thread and ill put them here :) |
Re: Civilian NPCs (TSRP)
Ha, good job making it true from a silly suggestion. :)
Beta testings showed good results in TS. |
Re: Civilian NPCs (TSRP)
Cool idea. Can they see if someone has been killed? i.e. I kill a cop, and I am near NPC, it is announced either in Chat that NPC name has seen ME kill BLANK. If not, its a suggestion if your willing to take it :D. +karma
EDIT: :( Doesn't work in 1.01, 20 errors....... |
Re: Civilian NPCs (TSRP)
Quote:
Quote:
|
Re: Civilian NPCs (TSRP)
Very nice idea. Will add this.
|
Re: Civilian NPCs (TSRP)
Wow. GREAT work. I usually test all the new submission plugins to ensure that they actually work, but from what people say i guess it should (too lazy to install TS too lol). Good job.
|
Re: Civilian NPCs (TSRP)
cool im gonna use it on city17/14
|
Re: Civilian NPCs (TSRP)
wow
|
Re: Civilian NPCs (TSRP)
Sometimes the NPC's get stuck when they spawn, someone know how to fix this?
|
All times are GMT -4. The time now is 17:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.