How to make an instance KQ?

Results 1 to 13 of 13
  1. #1
    Enthusiast Lyllot is offline
    MemberRank
    Apr 2011 Join Date
    SwedenLocation
    46Posts

    ! How to make an instance KQ?

    Hello, I'm wondering how to make an instance KQ like make Secret Laboratory or Levi Nest into a KQ?
    Last edited by Lyllot; 20-12-11 at 04:54 PM.


  2. #2
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: How to make an instance KQ?

    heres a cheat sheet i made myself. maybe it will help you.



    open [main]
    var Players ""
    InterruptBlock ""
    InterruptArg "".



    waitlogin Players.
    if Players == 0
    then open
    call "QuestFail".
    close


    pause Sec 10.
    ;;;;;;;;;;;;;;;add script filename located in scripts folder for the KQ being built
    scriptfile "KQKingkong".
    ;;;;;;;;;;;;;;;
    timelimit Min 50.

    ;;;;;;;;;;;;;;; call your funtions
    call ???????.
    ;;;;;;;;;;;;;;;



    close


    ;;;;;;;;;;;;;;;build your funtions

    open [????????]
    ;;;;;;;;;;;;;;;funtion definition


    close

    ;;;;;;;;;; important interupset to check for players
    interruptclear.
    interruptset PlayerEliminate "" 1 "QuestFail". ; checks if players are all dead, if all dead call questfail function

    interruptset TimeOut "" 1 "QuestFail". ; checks if time has ran out , if time is out then call questfail funtion

    interruptset DeadHandle "" 1 Boss_4 "Fo_BossClear". ;checks if Boss_4 is dead, if dead call Fo_BossClear funtion

    ; --------------------------------------------------------------- ;
    infinite ;sets a infinate loop
    open
    waitinterrupt InterruptBlock "InterruptArg".
    call InterruptBlock.
    close
    close
    ; --------------------------------------------------------------- ;
    interruptset DeadHandle "" 1 Kingkong "QuestSuccess". ; checks if Kingkong is dead, if dead then call questsuccess funtion

    interruptset DeadHandle "" 1 SubKingkong "QuestFail". ;checks if subkingkong is dead, if is dead call questfail funtion


    ;;;;;;;;;;;

    open [QuestSuccess]
    pause Sec 10.
    questresult Suc. ; ¼º°øÆÐŶ ³¯¸²
    reward KingdomQuest.

    broadcast all "KQReturn60". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 10.
    broadcast all "KQReturn50". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 10.
    broadcast all "KQReturn40". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 10.
    broadcast all "KQReturn30". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 10.
    broadcast all "KQReturn20". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 10.
    broadcast all "KQReturn10". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 5.
    broadcast all "KQReturn5". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 5.
    linkto all "Urg" "Urg" 5835 6397. ; warps all people to given location
    endofkq.
    break "main".
    close
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    open [QuestFail]
    questresult Fail.

    broadcast all "KQFReturn30". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 10.
    broadcast all "KQFReturn20". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 10.
    broadcast all "KQFReturn10". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 5.
    broadcast all "KQFReturn5". ; broadcasts mapwide information located in the scrpt files at locations
    pause sec 5.
    linkto all "Urg" "Urg" 5835 6397. ; warps all people to given location
    endofkq.
    break "main".
    close

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  3. #3
    Enthusiast Lyllot is offline
    MemberRank
    Apr 2011 Join Date
    SwedenLocation
    46Posts

    Re: How to make an instance KQ?

    Thank you for replying but can you please explain more? :s like where to put that code and if it's .ps and such. And where to put the file

  4. #4
    Valued Member Sailor Moon is offline
    MemberRank
    Oct 2011 Join Date
    天狼島Location
    107Posts

    Re: How to make an instance KQ?

    look at your KQs, see how they are built and try editing them on your test server. its the easiest way of learning how scripting a new KQ (instance dungeon if you want) would work. that's what i did, and after some time things will get clear and pretty easy.

  5. #5
    Account Upgraded | Title Enabled! Flash1369 is offline
    MemberRank
    Oct 2011 Join Date
    892Posts

    Re: How to make an instance KQ?

    so you can basically make an instance kq out of every map if you figure everything out?

  6. #6
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: How to make an instance KQ?

    open the kongkong.ps with a notepad and look through it. thats what i built the cheat sheet on. look at the structure and follow it. use the sheet above and look at the notes i made and it tells the basic info of what the line was doing. If you study it a while you will start to see the build and understand how to make a custom quest.

  7. #7
    Enthusiast Munkles is offline
    MemberRank
    Oct 2011 Join Date
    36Posts

    Re: How to make an instance KQ?

    what files are needed to be changed for adding a instant KQ? only so I don't miss any. the KQ is not recuiting.
    Last edited by Munkles; 20-12-11 at 10:47 PM.

  8. #8
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: How to make an instance KQ?

    pinescript.txt - add the ps on the top table and the script file on the lower table

    field.txt - be sure the map is on the sheet and it has a subfrom and subto , if you want 10 maps it would be something like 00 09. On the KQ column it should be 1

    mapinfo.shn - add a line for the map and be sure the kingdommap column be sure its set to 1

    KingdomquestMap.shn - add a line for the map the
    basemap is the severname of the map
    map is the name + the first number in subfrom, subto (ex. tower01 would be tower0100 if subfrom 00 subto 09)
    add all up to the subto number

    kingdomquest.shn - add the KQ on the sheet, the ID is the map on the kingdomquestmap.shn count down the rows starting from 0 at top of kingdomquestmap and it will be the number for the id.
    scriptlanguage is the location and script it used for the ps file

    add the .ps file in ScenarioBookShelf/*/*.ps

    add the script file in Script/*.txt

    if there is a regen to go with it add the regen to MobRegen/KingdomQuest/*.txt

  9. #9
    Valued Member Sailor Moon is offline
    MemberRank
    Oct 2011 Join Date
    天狼島Location
    107Posts

    Re: How to make an instance KQ?

    Quote Originally Posted by Flash1369 View Post
    so you can basically make an instance kq out of every map if you figure everything out?
    yes. u can turn any map into a KQ if u want to

  10. #10
    Enthusiast Munkles is offline
    MemberRank
    Oct 2011 Join Date
    36Posts

    Re: How to make an instance KQ?

    My KQ is not recruiting. anyone had the same problem?

  11. #11
    Valued Member Sailor Moon is offline
    MemberRank
    Oct 2011 Join Date
    天狼島Location
    107Posts

    Re: How to make an instance KQ?

    Make sure you have the correct "ScriptLanguage" added in "KingdomQuest.shn" and the .ps and .txt script added in "World\PineScript.txt"

  12. #12
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: How to make an instance KQ?

    did you check all the things on that list i posted?

  13. #13
    Enthusiast Munkles is offline
    MemberRank
    Oct 2011 Join Date
    36Posts
    Quote Originally Posted by Lugapha View Post
    did you check all the things on that list i posted?
    I didnt added it to pinescript. txt, I will try that :)
    Posted via Mobile Device



Advertisement