How to modify giftboxes

Results 1 to 3 of 3
  1. #1
    The Elder | Voinic mirceagab is offline
    True MemberRank
    Aug 2008 Join Date
    Cluj-Napoca, RoLocation

    How to modify giftboxes

    RaGEZONE Recommends

    RaGEZONE Recommends

    Hello ragezone,

    This is a very simple guide, one i haven't found so far and in case anyone googles it, at least they have a small help to start with.

    I've been playing around with the config files and altough i still don't know how to link the ingame item id of the GiftBox with the OptionPool.scp i found out that you can trace the box searching the items they contain.

    For example: I found the ThanksGiving box called Han_Box

    The second column is the item id, either simple, or with the account bind value 4096+itemid

    Other than that, it will be easy to understand the config. Good luck

  2. #2
    Moderator AzureSensei is offline
    Aug 2013 Join Date
    GN-z11 / f451Location

    Re: How to modify giftboxes


    Just an example:

    1. Chaos Lamp is 783 in item.scp
    2. Now, when you go to item.scp, you will see in the item settings: AttckRate/Opt1 set to 1
    3. Next step is to go to OptionPool.scp and find: [LotteryType]
    4. Find column: OPT1
    5. you will see number 1 set in there.
    6. That number, links to:
    7. Code:
       [LotteryItem]    ItemID    LotteryType    TypeCode
    8. [LoterryItem] is a whole Giftbox, Chaos Lamp, Chaos Box and any other box-type-click-to-open item content.

    P.S. If you are making your own custom cube/box, make sure you simply copy / set the box/cube based on existing one and change the AttckRate/Opt1 number to your new one, from: [LotteryType] and properly link [LotteryType] with [LotteryItem].

    The rest is self explanatory. I suggest to check a bit these 2x parts and you will understand how it works.
    Like or Rep is the best way to show appreciation!

  3. #3
    Can't touch this! xIRCd is offline
    True MemberRank
    Jul 2008 Join Date
    Balik PulauLocation

    Re: How to modify giftboxes

    A very good tutorial. I will test this one later. ^^