Creating New Quests Guide

Results 1 to 4 of 4
  1. #1
    Apprentice Hernan Rulz is offline
    MemberRank
    Apr 2013 Join Date
    12Posts

    Creating New Quests Guide

    A bit explanation for those who wants to create new quests :

    You have to look into QuestString and QuestScript bins ;

    in QuestScript you will find this : example of quest :

    $QUEST 585 53 132 (Reading this : 585 : is the quest ID - 53 is Map ID and 132 is NPC Unique ID - you find the unique id in StaticNPC.bin)
    {
    $SUBQUEST 0 (Subquest 0 is where you state the quest requeriments)
    {
    #LIMIT &LEVEL 97 101 (Im telling here that the quest is only for lv 97 to 101)
    #LIMIT &QUEST 386 (Im telling here that the quest is only showable if you have completed Quest 386 (Hunter A emblem)

    #TRIGGER @TalKTONPC 132(npc unique id) 585 (Quest ID *GIVEMONEY 20000000(here im stating that you have to give to npc 2kk gold to start the quest) *ENDSUB *STARTSUB 585 1 ( here im telling the game to state the strings descriptions that i stated in QUESTSTRING.bin) it will search for strings subquest 585 - string 1

    #NPCSCRIPT @NPC 132 110 1 0 - mission
    }
    $SUBQUEST 1 (start string 1 for quest 585 so it will show the quest description for that quest)
    {
    #TRIGGER @HUNT 320 (monster unique id) 0 *ADDCOUNT 1 100 (add count to quest description and when player kills mob)
    #TRIGGER @count 1 100 (quantity of mobs to kill) *ENDSUB *ADDCOUNT 5 4

    #NPCSCRIPT @NPC 132 111 2 0
    }

    $SUBQUEST 2 (start string 2 if mission ended)
    {
    #TRIGGER @TalKTONPC 132 585 (talk to npc) *ENDSUB *ENDQUEST 1 (end quest) *TAKEMONEY 2100000 *TAKEEXP 10900000 (give reward)

    #NPCSCRIPT @NPC 132 120 1 0
    }
    }

    - - - Updated - - -

    Explaining QuestString.bin :
    So here we have the description of the quest we created :

    $SUBQUESTSTR 585 0 (description for quest 585 - string 0 the quest requeriments)
    {
    #TITLE Hunter S++ Quest : Insects invade
    #DESC
    {
    You can enter text here for quest details or history.
    }
    }
    $SUBQUESTSTR 585 1 (String 1 for quest 585 where we told the questscript to hunt for 100 mobs)
    {
    #TITLE Elimina Mosquitos
    #DESC
    {
    Elimina 50 Mosquitos (mob id was mosquitos and we told in script to hunt for 100 and added a count to 100)
    }
    }

    That's all ; if you want to add more strings just add or look into other quests and analyze the data you have there.

    hope it helps for your new quests.

    - - - Updated - - -

    Quests


    Quests Commands :
    *ENDQUEST
    *STARTSUB
    *ENDSUB
    *ENDOTHERSUB
    *ADDCOUNT
    *ADDCOUNTFQW
    *ADDCOUNTFW
    *ADDCOUNTLEVELGAP
    *ADDCOUNTMONLEVEL
    *GIVEQUESTITEM
    *TAKEQUESTITEM
    *GIVEITEM
    *GIVEMONEY
    *TAKEITEM
    *TAKEMONEY
    *TAKEEXP
    *TAKESEXP
    *TAKEQUESTITEMFQW
    *TAKEQUESTITEMFW
    *TAKEMONEYPERCOUNT
    *RANDOMTAKEITEM
    *REGENMONSTER
    *MAPCHANGE
    *CHANGESTAGE
    *REGISTTIME

    Last edited by Hernan Rulz; 19-06-16 at 09:25 AM.


  2. #2
    I play it straight up, yo pokchop1 is offline
    MemberRank
    May 2012 Join Date
    Emporia, KSLocation
    933Posts

    Re: Creating New Quests Guide

    Quests? I thought Luna Online was just one big cash cow. ;P

    Section moved to the appropriate subsection.

  3. #3
    Member HaXXoR75 is offline
    MemberRank
    Oct 2013 Join Date
    CanadaLocation
    56Posts

    Re: Creating New Quests Guide

    Should also be mentioned that for writing new quests or even adjusting existing ones, the clients TESTCLIENT build configuration is extremely helpful, as it features a quest testing system that can aid in debugging any issues and ensuring your quest works and triggers where desired.

  4. #4
    Bumiayu Berdebu Fou Gilang is offline
    MemberRank
    Mar 2008 Join Date
    Yogyakarta (ID)Location
    414Posts

    Re: Creating New Quests Guide

    was wondering what the test client is for ._.
    thanks for the info~



Advertisement