Register for your free account! | Forgot your password?

You last visited: Today at 20:16

  • Please register to post and access all features, it's quick, easy and FREE!

 

Create new NPC

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2011
Posts: 10
Received Thanks: 0
Create new NPC

hi
today i found way to create new NPC with new lua file in rappelz







now i have only 1 probleme
how can i give the new NPC a name ????



ghostamine is offline  
Old   #2
 
elite*gold: 0
Join Date: Aug 2009
Posts: 435
Received Thanks: 74
how to you make this ? i need to create a new npc too ^.^


GeneraL_SchnitzeL is offline  
Old   #3
 
elite*gold: 0
Join Date: Feb 2006
Posts: 512
Received Thanks: 192
Editing npcs isnt that easy. If you add them to the database with a specific id you can adjust names etc inside the db, but the client will only look up the id of that npc inside its own database and display what is stored there, so no name/appearance changing without client modding.

to add new npc:
look through the lua files for already present npcs, you can change already present npcs inside the npcresource to call your own merchant script.
I released an item list with new merchants, you can look through those files to understand how to add your own npc and shops.
Ranma014 is offline  
Old   #4
 
elite*gold: 0
Join Date: Jul 2011
Posts: 264
Received Thanks: 233
I tried you way by seeing the .lua npcs files but i didn't understand
any thin I hope one of you guys to help me to understand it plz byany way

by photo totu ^_^ if not video


M>M is offline  
Old   #5
 
elite*gold: 0
Join Date: May 2010
Posts: 81
Received Thanks: 12
I myself am still lost. i just wanna add a skill cards shops to my server for each class.
ByeByeRappelz is offline  
Old   #6
 
elite*gold: 0
Join Date: Dec 2011
Posts: 24
Received Thanks: 1
same problem here
rpz is offline  
Old   #7
 
elite*gold: 0
Join Date: Jul 2010
Posts: 1,139
Received Thanks: 632
Thats how you make an NPC

Changing the name is in the Client.

Code:
 function NPC_Card_shop_contact()
-- new shop
dlg_title( "All Cards" )
dlg_text( "Hello I am here today to sell you cards of each Race Thank you for choosing my server" )
dlg_menu( "Gaia Cards", "open_market( 'NPC_card_shop_gaia' )" )
dlg_menu( "Deva Cards", "open_market( 'NPC_card_shop_deva' )" )
dlg_menu( "Asura Cards", "open_market( 'NPC_Card_shop_Asura')" )
dlg_menu( "Thanks for shopping.", '' )
dlg_show()
end
gavsta is offline  
Old   #8
 
elite*gold: 0
Join Date: Dec 2011
Posts: 24
Received Thanks: 1
Quote:
Originally Posted by gavsta View Post
Thats how you make an NPC

Changing the name is in the Client.

Code:
 function NPC_Card_shop_contact()
-- new shop
dlg_title( "All Cards" )
dlg_text( "Hello I am here today to sell you cards of each Race Thank you for choosing my server" )
dlg_menu( "Gaia Cards", "open_market( 'NPC_card_shop_gaia' )" )
dlg_menu( "Deva Cards", "open_market( 'NPC_card_shop_deva' )" )
dlg_menu( "Asura Cards", "open_market( 'NPC_Card_shop_Asura')" )
dlg_menu( "Thanks for shopping.", '' )
dlg_show()
end
may you tell us how to change the names?
thank you
rpz is offline  
Old   #9
 
elite*gold: 0
Join Date: Jun 2010
Posts: 573
Received Thanks: 161
Quote:
Originally Posted by rpz View Post
may you tell us how to change the names?
thank you
Read again LOL
haxti is offline  
Old   #10
 
elite*gold: 0
Join Date: Jan 2010
Posts: 390
Received Thanks: 392
You havec to edit string. If you want i can do for you i will pm you


I don't give any file ! But if you want i can add text for you
ptifou78 is offline  
Old   #11
 
elite*gold: 0
Join Date: Jun 2011
Posts: 304
Received Thanks: 177
Misleading.
This is how you repurpose an NPC.
Quote:
Originally Posted by gavsta View Post
Thats how you make an NPC

Changing the name is in the Client.

Code:
 function NPC_Card_shop_contact()
-- new shop
dlg_title( "All Cards" )
dlg_text( "Hello I am here today to sell you cards of each Race Thank you for choosing my server" )
dlg_menu( "Gaia Cards", "open_market( 'NPC_card_shop_gaia' )" )
dlg_menu( "Deva Cards", "open_market( 'NPC_card_shop_deva' )" )
dlg_menu( "Asura Cards", "open_market( 'NPC_Card_shop_Asura')" )
dlg_menu( "Thanks for shopping.", '' )
dlg_show()
end
SilentBill is offline  
Old   #12
 
elite*gold: 0
Join Date: Jul 2010
Posts: 1,139
Received Thanks: 632
Quote:
Originally Posted by SilentBill View Post
Misleading.
This is how you repurpose an NPC.
Quote:
Originally Posted by GeneraL_SchnitzeL View Post
how to you make this ? i need to create a new npc too ^.^
Quote:
Originally Posted by M>M View Post
I tried you way by seeing the .lua npcs files but i didn't understand
any thin I hope one of you guys to help me to understand it plz byany way

by photo totu ^_^ if not video
Quote:
Originally Posted by ByeByeRappelz View Post
I myself am still lost. i just wanna add a skill cards shops to my server for each class.

How about you read before you post Silent?
gavsta is offline  
Old   #13
 
elite*gold: 0
Join Date: Jun 2011
Posts: 304
Received Thanks: 177
I did.
Quote:
Originally Posted by gavsta View Post
Thats how you make an NPC
I don't know how you could misread that. I don't give a flying *uck what the others said, you said
Quote:
Originally Posted by gavsta View Post
Thats how you make an NPC
And no, that is not how you make an NPC. That's how you repurpose an NPC.
Get it now? Or do I need to be clearer?


SilentBill is offline  
Thanks
2 Users
Reply



« Previous Thread | Next Thread »

Similar Threads
{Help} To create PNJ
Good evening, I want to know how to create an NPC (seller) to sell the item (pana, stone exp ...) thank you in advance for your help.
1 Replies - Shaiya
how do i create an npc?
im use PowerSourceCO and Steals Server Pack for my private server and im trying to add an NPC but i got really no clue about it heres the...
5 Replies - CO2 PServer - Discussions / Questions
How To create?
How to create NPC permanent?? PLease Help ME!!!
7 Replies - Metin2 PServer Guides & Strategies
is possible to create a hack to create items +7
How can I create a hack to create items +7
25 Replies - Dekaron



All times are GMT +2. The time now is 20:16.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.