AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Civilian NPCs (TSRP) (https://forums.alliedmods.net/showthread.php?t=41457)

p3tsin 07-15-2006 18:59

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 :)

p3tsin 07-15-2006 19:08

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 :)

Karko 07-15-2006 19:08

Re: Civilian NPCs (TSRP)
 
Ha, good job making it true from a silly suggestion. :)
Beta testings showed good results in TS.

Lord_Destros 07-15-2006 19:32

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.......

Shurik3n 07-15-2006 20:04

Re: Civilian NPCs (TSRP)
 
Quote:

Originally Posted by p3tsin
-> Requirements
Amx Mod X v1.75 and fakemeta-module enabled

Quote:

Originally Posted by Lord_Destros
EDIT: :( Doesn't work in 1.01, 20 errors.......


Drak 07-15-2006 21:49

Re: Civilian NPCs (TSRP)
 
Very nice idea. Will add this.

GHW_Chronic 07-16-2006 01:06

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.

sub 07-17-2006 12:17

Re: Civilian NPCs (TSRP)
 
cool im gonna use it on city17/14

Thriller 07-18-2006 09:51

Re: Civilian NPCs (TSRP)
 
wow

Smokey485 07-19-2006 20:28

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.