How to add new npc v1753

Results 1 to 6 of 6
  1. #1
    Enthusiast ryl1331 is offline
    MemberRank
    Mar 2012 Join Date
    27Posts

    How to add new npc v1753

    Who can help me!


  2. #2
    Account Upgraded | Title Enabled! Mospeda is offline
    MemberRank
    Apr 2011 Join Date
    JamaicaLocation
    213Posts

    Re: How to add new npc v1753

    Code:
    SetNPC(12, 0x40012A10, 0x10000001, false, "NPC_Quest_Ancient.GCMDS", "Aoyama\\<Potions Seller>");
    	SetPosition(0x40012A10, 3.047, 2839, 26.94, 2392);
    	SetNPCAttribute(0x40012A10, 6, 0);
    	AddPopup(0x40012A10, 401, 131, "Special Shop", 0, 0, 0xFF0FFF);
    	AddItem(0x40012A10, 0, 0, 0, 3160);
    	AddItem(0x40012A10, 0, 0, 0, 3152);
    	AddItem(0x40012A10, 0, 0, 0, 3156);
    	AddItem(0x40012A10, 0, 0, 0, 3160);
    	AddItem(0x40012A10, 0, 0, 0, 3164);
    	AddItem(0x40012A10, 0, 0, 0, 3168);
    	AddItem(0x40012A10, 0, 0, 0, 3172);
    	AddItem(0x40012A10, 0, 0, 0, 3151);
    	AddItem(0x40012A10, 0, 0, 0, 60027);
    	AddItem(0x40012A10, 0, 0, 1, 62565);
    	AddItem(0x40012A10, 0, 0, 1, 62566);
    	AddItem(0x40012A10, 0, 0, 1, 62567);
    	AddItem(0x40012A10, 0, 0, 1, 62569);
    	AddItem(0x40012A10, 0, 0, 1, 62570);
    	AddItem(0x40012A10, 0, 0, 1, 62571);
    	AddItem(0x40012A10, 0, 0, 1, 62572);
    	AddItem(0x40012A10, 0, 0, 1, 62574);
    	AddItem(0x40012A10, 0, 0, 1, 62575);
    	AddItem(0x40012A10, 0, 0, 1, 62577);
    	AddItem(0x40012A10, 0, 0, 1, 62578);
    	AddItem(0x40012A10, 0, 0, 1, 62579);
    	AddItem(0x40012A10, 0, 0, 1, 62581);
    	AddItem(0x40012A10, 0, 0, 1, 62582);
    	AddItem(0x40012A10, 0, 0, 1, 62583);
    	AddItem(0x40012A10, 0, 0, 0, 9914);
    If Want Add More NPC , Just Make One Same Like this , and you just need to change all this

    example :

    AddItem(0x40012A10, 0, 0, 1, 62583);

    Change Like this :

    AddItem(0x40012A11, 0, 0, 1, 62583);

    Or What Ever ,

    Hope This WIll Help you , dont be lazy to search and find by yourself

  3. #3
    Enthusiast ryl1331 is offline
    MemberRank
    Mar 2012 Join Date
    27Posts

    Re: How to add new npc v1753

    I was copy it to NPCScript... i can't looking for NPC in game.
    help me....

  4. #4
    Account Upgraded | Title Enabled! Mospeda is offline
    MemberRank
    Apr 2011 Join Date
    JamaicaLocation
    213Posts

    Re: How to add new npc v1753

    Code:
    SetNPC(12, 0x40012A10, 0x10000001, false, "NPC_Quest_Ancient.GCMDS", "Aoyama\\<Potions Seller>");
    	SetPosition(0x40012A10, 3.047, 2839, 26.94, 2392);
    	SetNPCAttribute(0x40012A10, 6, 0);
    	AddPopup(0x40012A10, 401, 131, "Special Shop", 0, 0, 0xFF0FFF);
    SetPosition(0x40012A10, 3.047, 2839, 26.94, 2392);

    3.047 = Direction ( Dir )
    2839 = Possition X
    26.94 = Possition Y
    2392 = Possition Z


    Go In Game And Type GM Command

    /pos

    and you will get all coordinate , and you just need to change that NPC coordinate
    Last edited by Mospeda; 01-07-12 at 06:16 PM. Reason: haha

  5. #5
    Enthusiast ryl1331 is offline
    MemberRank
    Mar 2012 Join Date
    27Posts

    Re: How to add new npc v1753

    My code in NPCScript
    Code:
    SetNPC(0xC, 0x40012A10, 0x10000001, false, "mon_medusa.gcmds", "aaaaa\\<Potions Seller>");
    SetPosition(0x40012A10, 2.491, 2815.68, 8.8, 2485.41);
    SetNPCAttribute(0x40012A10, 6, 0);
    AddPopup(0x40012A10, 0x191, 0x83, "Special Shop", 0, 0, 0xFF0FFF);
    AddItem(0x40012A10, 0, 0, 0, 0xC58);
    I was try it and my account get error "Failed to open mission Please try again later"
    I have to register new account to login...
    plz help me :(
    Attached Thumbnails Attached Thumbnails untitled.jpg  

  6. #6
    WINNER! saufitz77 is offline
    MemberRank
    Aug 2010 Join Date
    353Posts

    Re: How to add new npc v1753

    Dont Forget To Put Your NPCScript.mcf To Your .../Server/Script/Game/



Advertisement