Register for your free account! | Forgot your password?

You last visited: Today at 12:02

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

Advertisement



Question

Discussion on Question within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2011
Posts: 2
Received Thanks: 0
Exclamation Question

hi guys i want ask about the npc how i can make new npc with cq_action and add items with it
darkmoon00 is offline  
Old 06/27/2011, 05:30   #2
 
elite*gold: 0
Join Date: Mar 2009
Posts: 263
Received Thanks: 117
well to make a new npc needs to be done in cq_npc and to have it drop items u gotta do it in cq_dropitemrule and if u wish to edit what its equips are u have to edit the .c3 file i think it is

Hope it helps
shadowkiller990 is offline  
Old 06/27/2011, 09:45   #3
 
Avis2's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 19
Received Thanks: 28
Well you would make an npc under "cq_npc" easiest/fastest thing to do is copy and NPC u like from the table and change the id name and task0 (task0 will be the action id you created) In the cq_action area you would add your actions depending on how you want ur npc set up you are also going to need to add the action ids in the cq_task table.

So back to the cq_action in the cq_action you have 6 columns id, id_next, id_nextfail, type, data, param. The tricky columns for newbies are type and data.
for type you would use these:101,102,501,502,508
101 puts the text you have in param in the top of the dialog box (basically what the npc is saying to you)
102 put the text you have in param in the dialog box area for players to click.
with 102 param you add the action id after the text so when a player clicks what they want it goes to that action.
501 is to give the item to the player
502 would be to take an item from a player
508 is used to check a players bag to see is they have room for the item

next is data for data you would put the item id you want to give(501) or take(502)

If you need farther help let me know.
Avis2 is offline  
Thanks
2 Users
Old 06/27/2011, 09:46   #4
 
elite*gold: 224
The Black Market: 148/0/2
Join Date: May 2011
Posts: 1,053
Received Thanks: 829
Make a new mpc ^^ cq_npc, then you should know from the post above mine^^
¤iTsbSkuLLy¤ is offline  
Old 06/27/2011, 10:01   #5
 
Marcus*'s Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 614
Received Thanks: 1,243
found this hope it helps
Marcus* is offline  
Old 06/27/2011, 12:07   #6
 
~Sword~Stalker~.'s Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,784
Received Thanks: 1,056
Quote:
The tricky columns for newbies are type and data.
just the DATA part is tricky .. something as TYPE: 126 .. the data:0 gives a function than data:1 and data:5002 .

for the types . i guess its the easiest part in the cq_action

and u forgot about TYPE: 104 / 120 . thats for an exchanger NPC . then ull need it .

and btw ., u need to mention that the data will be 0 . but how ever since u opened the window of the NPC . then u can change the Data
~Sword~Stalker~. is offline  
Old 06/28/2011, 00:08   #7
 
Avis2's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 19
Received Thanks: 28
Quote:
Originally Posted by ~Sword~Stalker~. View Post
just the DATA part is tricky .. something as TYPE: 126 .. the data:0 gives a function than data:1 and data:5002 .

for the types . i guess its the easiest part in the cq_action

and u forgot about TYPE: 104 / 120 . thats for an exchanger NPC . then ull need it .

and btw ., u need to mention that the data will be 0 . but how ever since u opened the window of the NPC . then u can change the Data
I did forget the 104 120 but must peeps just use the 4000026 action id for the next action at the end of the npc convo
Avis2 is offline  
Old 06/28/2011, 00:18   #8
 
~Sword~Stalker~.'s Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,784
Received Thanks: 1,056
aah yes , as an id_next . its duplicated but its fine to give full info tho

im not saying urs is wrong im just notifying u and really thanks for what u have explained there it would be helpful for starters ^^

Regards
~Sword~Stalker~. is offline  
Reply




All times are GMT +1. The time now is 12:02.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.