How to Created and Setting Your NPC’s In NexmuTK
Thursday, January 21, 2010 12:12
This is another short tutorials on how to created and setting your own NPC’s in game. Please read tutorials carefully and follow all the step. Make sure to backup any important files before you doing this. If you have a question about scripting just leave comments on this article.
1. Get the NPC’s graphic information from BigDataBase files in documentation folders (Copyright to Adam)
2. Run NexmuTK then click on NPC.
3. Open “NexmuTK Scripting Configuration Files (*.conf)” find the files script_main.conf, This is an configuration master files. All files linked should be written on this script_main.conf first.
4. Take a look on a sample configuration and scripting files to learn how to make your own NPC.
5. Click on NPC Format to see the format how to created a new NPC. It’s should looks like this: npc:map number,graphic,color,mapx,mapy,description. Your NPC should be save as *.scp files.
6. After You linked between configuration files and scripting files you have to write a command for NPC. Click on scripting you will find some NPC function on there.
EXAMPLE:
// Karma NPC
npc:2,213,0,26,20,Karma ReaderDeclare money
Dialog “Apalah artinya kekuatan dan kekuasaanmu, semua itu diberikan oleh dewa. aku bisa membantu membacakan karmamu untuk melihat kekuatan jiwamu tetapi ada syaratnya kamu harus membayar aku sebesar 100 gold coin di muka.”, Next
Set money = getmoney()
if money<100
Dialog “maaf, untuk menggunakan jasaku kamu harus membayar 100 gold coin di muka, sepertinya uang kamu tidak mencukupi.”, None
endifif money==100
readkarma
endifif money>100
readkarma
endif
This sample has a little bug when your money more than 100 it will keep continue reading your karma until your money under 100, Don’t worry I will fix it next update by creating function readkarmaonce. You can edit and tested your script in game to make sure it follow what you need. When you meet problem please read guide from scripting.
Incoming search terms:
- samp npc tutorial
- SAMP npcs
- samp npc creator
- samp how to add npc
- nexmutk scripts
- how to do npc samp script
- andrea nexustk
- nexustk offline download
- how to run runegard
- san andreas multiplayer npc script
- samp NPC follow
- how to add npc in samp
- samp ADD NPC
- samp enable npc
- sa-mp NPC tutorial
- nexustk script
- npc samp server
- npc not spawning in samp
- npc tutorial samp
- npc creator samp
- samp script how to make NPC
- gta sa mp add npc
- tutorial npc samp noob friendly
- sa mp npc wont work
- sa-mp npc follow
- sa-mp npc тутор
- offline nexustk
- samp activate npcs
- sa mp npc quest
- samp enable npc respawn



Tzeentch says:
February 5th, 2010 at 10:59 PM
Hey All, I think nexmutk is a great emulator of nexustk. I would like to know, if you guys are hosting a server? because when I play on my own server i got empty maps, no monster and I was wondering if I could play in a way to have all maps. I will wait your news. Thanks alot
henry says:
March 8th, 2010 at 9:14 PM
@Tzeentch: You can try runegard if you want to try play Nexus. But it’s a different scenarios..
henry says:
March 8th, 2010 at 9:31 PM
Hi Nexon,
I tried below:
declare pBet
Dialog “coba quest ya”, Next
Dialog “questnya simple aja nih”, Next
input ” 1 tambah 1 hasilnya berapa?” pBet
if pBet = 2
Dialog “wah benar! selamat quest pertama selesai”, None
end if
It gave me an value 1…20..xxx …50 something like that, then it was frozen.. please help? also, I noticed, for newbie for level 1, if he/she cast “horse”, he/she can’t go down from the horse, even using R.. but, when I tried to edit his/her level, then the person can be released from riding the rose.
Nexon says:
March 8th, 2010 at 10:15 PM
I have limited character to riding horse for level =5+, you should not giving spell summon horse if character under level 5. About that scripts I will fix it on next release.
henry says:
March 8th, 2010 at 11:50 PM
Talking about spell, I saw you have only about 10 spells? How to add a new spell and is there any database spells that I can look at? I tried to play with the Monsters’ drop items and it worked just fine. I looked at those items at BigDatabase.doc
On magic, there’s “ANIM” value. Where can I check those value at and what does those values represent?
Thank you.
Nexon says:
March 9th, 2010 at 2:25 PM
tutorial for spell will be written soon as possible.
henry says:
March 10th, 2010 at 12:32 AM
@Nexon: Thank you. Also, I notice there are several fields. I tried to change the animation value. Is there any database that hold animation values? thank you.
henry says:
April 6th, 2010 at 9:55 PM
@Nexon: How does it go with the database of magic or any additional progress? thanks for your great job!