[TUT] How to do custom quest rewards

Results 1 to 15 of 15
  1. #1
    Freelance GunZ Developer Touchwise is offline
    MemberRank
    Aug 2009 Join Date
    The NetherlandsLocation
    754Posts

    [TUT] How to do custom quest rewards

    THIS IS OFFICIALY MADE BY STYX I AM NOT TAKING CREDITS I ONLY SHARE HIS POST IN THE TUTORIAL SECTION


    It's pretty simple, here's a walk-through on how:

    (Server sided)
    1.) Look through the system files for 'droptable.xml'. This file lists all the items that the quest NPCs drop.
    2.) Open up the 'zitem.xml' file in there as well. This will show you all the item id codes you need.
    3.) In 'zitem.xml', search for an item you can test. Such as a Peacemaker x2. (Alt+F to search for the text string)
    4.) Once you find the name, you should see the following:
    Code:
    Code:
    <ITEM id="67819" name="Peacemaker x2"
    5.) Copy the item id number (mine is 67819, yours should be a different number).
    6.) Go into the 'droptable.xml'
    7.) For this example I'll replace some item in the Superion/Super Skeleton boss quest with the Peacemaker x2s.
    8.) You might have to translate some crap into english to see what boss is what. (http://translate.google.com/translate_t#)
    9.) After looking down at the bottom and some translation, I found Superion.
    Code:
    Code:
    <!-- 슈페리온(보스) -->
    <DROPSET id="37" name="S37">

    Translated:


    Code:
    "- Syuperion (boss) -"
    <DROPSET Id="37" name="S37">
    10.) Replace the Peacemaker x2 item id code with one in Superion's drops.


    Code:
    Code:
    <!-- 슈페리온(보스) -->
    <DROPSET id="37" name="S37">
        <ITEMSET QL="0">
            <ITEM id="200042"    rate="0.40" />                            <!-- 리치의 꼬리 -->
            <ITEM id="200004"    rate="0.20" />                            <!-- 찢겨진 65페이지 -->
            <ITEM id="400511"    rate="0.10"     rent_period="168" />    <!-- 남성용 어둠의군주 바지 -->
            <ITEM id="400512"    rate="0.10"     rent_period="168" />    <!-- 여성용 어둠의군주 바지 -->
            <ITEM id="400508"    rate="0.20"     rent_period="168" />    <!-- 재앙의 날개 -->
        </ITEMSET>
    To:

    Code:
    Code:
    <!-- 슈페리온(보스) -->
    <DROPSET id="37" name="S37">
        <ITEMSET QL="0">
            <ITEM id="200042"    rate="0.40" />                            <!-- 리치의 꼬리 -->
            <ITEM id="67819"    rate="0.20" />                            <!-- Peacemaker x2 Revolvers -->
            <ITEM id="400511"    rate="0.10"     rent_period="168" />    <!-- 남성용 어둠의군주 바지 -->
            <ITEM id="400512"    rate="0.10"     rent_period="168" />    <!-- 여성용 어둠의군주 바지 -->
            <ITEM id="400508"    rate="0.20"     rent_period="168" />    <!-- 재앙의 날개 -->
        </ITEMSET>
    rate="x" is the drop rate of the item. In my example it's at 20%.
    rent_period="x" is self explanatory; it gives the item a rent period.
    Last edited by Touchwise; 07-11-09 at 12:06 PM.


  2. #2
    Enthusiast shykary is offline
    MemberRank
    Sep 2009 Join Date
    35Posts

    Re: [TUT] How to do custom quest rewards

    But if I want the rent time "forever"?

  3. #3
    Account Upgraded | Title Enabled! ManyBlackPpl is offline
    MemberRank
    Mar 2009 Join Date
    CanadaLocation
    336Posts

    Re: [TUT] How to do custom quest rewards

    Quote Originally Posted by shykary View Post
    But if I want the rent time "forever"?
    then don't include the "rent_period" part of the code. By default, the time every quest item lasts is forever, but if you decide to make it temporary, then you add that rent_period part. Otherwise, just leave it out.

  4. #4
    Account Upgraded | Title Enabled! razacore is offline
    MemberRank
    Nov 2008 Join Date
    303Posts

    Re: [TUT] How to do custom quest rewards

    nice, ill try right now and give a result :D

  5. #5
     `Styx is offline
    MemberRank
    Dec 2007 Join Date
    Philadelphia PALocation
    727Posts

    Re: [TUT] How to do custom quest rewards

    Well, at least you've given credit. Woulda' been sad if you didn't. :(

    (edit):
    You should wrap down the code parts so people won't get confused.
    Last edited by `Styx; 07-11-09 at 05:04 AM.

  6. #6
    Account Upgraded | Title Enabled! lxchadxl is offline
    MemberRank
    Nov 2008 Join Date
    Hai 2 u, i r Chad.Location
    442Posts

    Re: [TUT] How to do custom quest rewards

    Just a tiny question, for the value in "rent period". i know it's the time but wut is it in. like days or wut?

    Code:
    <ITEM id="400508" rate="0.20" rent_period="168" /> <!-- 재앙의 날개 -->
    = 168 days? :o

  7. #7
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,302Posts

    Re: [TUT] How to do custom quest rewards

    it's in hours i think

  8. #8
    Freelance GunZ Developer Touchwise is offline
    MemberRank
    Aug 2009 Join Date
    The NetherlandsLocation
    754Posts

    Re: [TUT] How to do custom quest rewards

    wrapped the code parts

  9. #9
    Apprentice thiefdoo is offline
    MemberRank
    Dec 2008 Join Date
    13Posts

    Re: [TUT] How to do custom quest rewards

    Quote Originally Posted by Military View Post
    it's in hours i think
    Yes it is.

    For people who want to change the time period simply do :
    Code:
    24 x day.
    Code:
     1 day = 24
     2 days = 48
    and so on.

  10. #10
    Alpha Member gregon13 is offline
    MemberRank
    Nov 2007 Join Date
    CanadaLocation
    1,945Posts

    Re: [TUT] How to do custom quest rewards

    Quote Originally Posted by lxchadxl View Post
    Just a tiny question, for the value in "rent period". i know it's the time but wut is it in. like days or wut?

    Code:
    <ITEM id="400508" rate="0.20" rent_period="168" /> <!-- 재앙의 날개 -->
    = 168 days? :o
    actually 168 is the standard 7 days but you need the quest items in the DB as well for it to expire correctly

  11. #11
    Enthusiast shykary is offline
    MemberRank
    Sep 2009 Join Date
    35Posts

    Re: [TUT] How to do custom quest rewards

    Quote Originally Posted by ManyBlackPpl View Post
    then don't include the "rent_period" part of the code. By default, the time every quest item lasts is forever, but if you decide to make it temporary, then you add that rent_period part. Otherwise, just leave it out.
    Got it, thanks. +rep

  12. #12
    Valued Member kriiz is offline
    MemberRank
    Nov 2008 Join Date
    ArgentinaLocation
    126Posts

    Re: [TUT] How to do custom quest rewards

    Nice tut man :D

  13. #13
    mikethemak is offline
    MemberRank
    Apr 2008 Join Date
    Ragezone Spam SectionLocation
    1,019Posts

    Re: [TUT] How to do custom quest rewards

    Kinda common sense, but good for those who didn't know this. It's good to see that the gunz section isn't COMPLETELY dead yet.

  14. #14
    Freelance GunZ Developer Touchwise is offline
    MemberRank
    Aug 2009 Join Date
    The NetherlandsLocation
    754Posts

    Re: [TUT] How to do custom quest rewards

    I will keep it alive!

  15. #15
    RageZone GunZ | Ex-Owner Ricky Blaze is offline
    MemberRank
    Nov 2009 Join Date
    New YorkLocation
    608Posts

    Re: [TUT] How to do custom quest rewards

    Well credited him in red, nice lol.



Advertisement