How to Created and Setting Your NPC’s In NexmuTK

Thursday, January 21, 2010 12:12
Posted in category Documentation

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 Reader

Declare 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
endif

if money==100
readkarma
endif

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

You can leave a response, or trackback from your own site.

SEARCH ENGINE KEYWORD RESULT :

  • mmorpg emulator
  • Nexus tk Money
  • mmorpg emulators
  • nexus tk emulator
  • nexmutk
  • nexmut
  • nexmuTK
  • nexustk
  • nexustk emulator
  • NexmuTK Run-Time error
  • Nexus TK running in window mode
  • write an emulator for a mmorpg game server
  • http://www nexmutk com/
  • how can i run a emulator of a mmorpg
  • Nexus TK Emulator
  • nexustk dev
  • NexmuTK
  • nexustk exp calculator
  • how to start a mmorpg server emulator
  • Money on Nexustk
  • nexmuttk setting
  • mmo server emulator
  • nexustk editor
  • nexmutk database
  • nexustk emulator server
  • nexus tk free
  • how to create mmo emulator steps
  • NEXMUTK
  • NexusTk emulator
  • nexustk server
  • nexusTK emulator
  • nexmutk documentation
  • mmorpg server emulator
  • free nexus tk
  • nexustk free server
  • NexusTK
  • setting server nexustk
  • NexmuTK Offline
  • NexusTK v6 use Nexmu
  • take tk com
  • nexmutk com
  • nexus tk
  • DukMoo Server emulator
  • nexustk 2010
  • NexmuT
  • Nexus 5 33
  • cant connect to nexmu
  • NEXUSTK
  • download nexustk database
  • mmorpg emu
  • Nexustk engine
  • nexmu
  • server emulator
  • Nexus TK emu
  • how can i connect to nexmutk
  • vector nexustk
  • nexus tk download
  • gold mu tk
  • nexustk servers
  • server emulator mmo
  • www nemutk com
  • nexmu tk
  • 2010 server emulator
  • nexusTK
  • exmutk com
  • Nexustk port forward
  • 4
  • Nexustk packet editing tutorial
  • nude nexustk girls
  • nexustk patch run as administrator
  • master nexmutk
  • download nexmutk server
  • nexmutk setting
  • bagaimana buat char di server nexmu
  • Buy gold for Nexustk
  • Nexus TK Engine
  • give item to monster nexuxtk
  • Nexmutk
  • Nexustk
  • nexustk sprite
  • nexus tk sprites
  • mu server databasemonster
  • nemutk emulator
  • edit baram char dat
  • atllantia mmo
  • Nexmutk server information
  • what is nexmu server
  • what server is nexmutk
  • NexmuTk
  • nexmutk server
  • nexus tK emulator
  • creative nexus nexustk
  • nexustk bug
  • nexmu offline
  • free mmo game like nexustk
  • Nexus TK download
  • nexustk map maker
  • open 2 nexustk at once
  • Nexus tk Server Files
  • ntkme exe
  • nexustk 5 33 server emu download
  • nexustk offline download
  • 100% working mmo emulators
  • www nexmutk com/
  • NEXUS TK Emulator
  • palcolor tk
  • nexustk phone number
  • NexusTK Emulator
  • NexusTK Dev
  • nexmutk online
  • nexustk money making
  • how to make a nexustk server
  • how to make ID on Nexustk
  • Nexmu
  • windows 7 nexustk patching
  • Nexustk server file

7 Responses to “How to Created and Setting Your NPC’s In NexmuTK”

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

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

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

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

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

  6. Nexon says:

    March 9th, 2010 at 2:25 PM

    tutorial for spell will be written soon as possible.

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

Leave a Reply