How to create the NPC ?

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

How to create the NPC ?

Postby Alvz » Sun Feb 03, 2013 11:35 am

Heya i would like to know the steps to create different NPC =>

- NPC Buff bot (that you buy with money)
- NPC Items Dragon / ToA Stuff / Dragonslayer Items (that you buy with BP'S)
- NPC ML (Buy with BPS)
- NPC Mythrian (Buy with BPS)

Thanks for the futur Answer
Alvz
DOL Guest
 
Posts: 3
Joined: Thu Jan 24, 2013 10:01 am

Re: How to create the NPC ?

Postby Tralon » Mon Feb 04, 2013 9:50 pm

here all the scripts you need, but wihtout buyable buffbot
Attachments
Items and Merchants.rar
(116.62 KiB) Downloaded 74 times
MLRespecNPC.CS
(21.6 KiB) Downloaded 35 times
MLNPC.cs
In this script the tokens get created, ingame just /item create ml(1-10 + respec)token
(20.23 KiB) Downloaded 37 times
Mythirians.rar
Mythirians put in Scripts foulder.
(6.93 KiB) Downloaded 36 times
(x)====|X|xxxxxxxxxxxxxxxxxxxxxxx>
Tralon
DOL Experienced
 
Posts: 176
Joined: Tue Jan 29, 2013 2:52 pm

Re: How to create the NPC ?

Postby Kataract » Tue Feb 05, 2013 9:34 am

Hi !

If you have the latest version of DOL, the buff merchant is implemented.
You will have to do /mob create DOL.GS.BuffMerchant ingame :)

To add the npcs do it like this :

Find lines like this :
namespace DOL.GS
{
public class BuffMerchant : GameMerchant


When you found it : use the /mob create command.

--> /mob create DOL.GS.BuffMerchant

To add the buffs token do :

--> /merchant sell add BuffTokens
Pour aller de l'avant, il faut prendre du recul
Car prendre du recul, c'est prendre de l'élan
Kataract
Server Representative
 
Posts: 116
Joined: Fri Jul 22, 2011 6:01 pm


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 0 guests