NPC system, please help me to create it
#1

guys... i want to make NPC players.. in LAS VENTURAS..
NPC fill fight if player near NPC or, if player damage the NPC..
NPC will spawn again after they got die..

how i can to make this script?
Reply
#2

Record it use npc_record u will find that in default serevr FS
Reply
#3

then? how to use it ?
Reply
#4

Look here ?!
Reply
#5

Quote:
Originally Posted by leingod
View Post
then? how to use it ?
All you need to know about npc creation and playback:

https://sampforum.blast.hk/showthread.php?tid=95034
Reply
#6

The built-in NPC system wont get you far when you want to create dynamic bots that attack and can be attacked, as you can only record and playback something. And you cant really record enough to create a smooth ki.
There are methods to do this with the normal npc system (see that zombie npc filterscript) but it is hard.

I recommend you using the CNPC plugin for this. It isnt available here in the forum anymore, you will have to get it from somewhere else. And do NOT create "npcplayers" that display on the normal playerlist, as this is the reason why it got deleted from this forum. Then you can use it to create a nice KI for the npcs, as you can move and control them as you like.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)