Thread: dragon platebody in weapon slot

Results 1 to 3 of 3
  1. #1 dragon platebody in weapon slot 
    Registered Member
    Join Date
    Jan 2010
    Posts
    12
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Hi all!
    I have a problem, i put a dragon platebody in my client and it seems to be no problem but when i equip it, it unwields my weapon and is in my weapon slot.
    How can i solve this problem?

    I tried in the item.cfg and copied the 2 codes of rune platebody and changed them into dragon platebody (and added customs stats for d plate) but i invented a new "item = ****" maybe that is wrong?

    item = 1127 Rune_platebody It's_a_Rune_platebody 40777.6030268936 40777.6030268936 53022.3636702846 0 0 0 -30 -10 77 77 77 -6 80 0 0
    item = 1128 Rune_platebody Swap_this_note_at_any_bank_for_a_Rune_platebody. 40777.6030268936 40777.6030268936 53022.3636702846 0 0 0 0 0 0 0 0 0 0 0 0
    item = 7810 Dragon_platebody It's_a_Dragon_platebody 40777.6030268936 40777.6030268936 53022.3636702846 0 0 0 -10 -8 100 105 103 -4 120 0 0
    item = 7811 Dragon_platebody Swap_this_note_at_any_bank_for_a_Dragon_platebody. 40777.6030268936 40777.6030268936 53022.3636702846 0 0 0 0 0 0 0 0 0 0 0 0


    Code in itemDef of dragon platebody:

    if(i == 14479)
    {
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wear";
    itemDef.originalModelColors = new int[2];
    itemDef.modifiedModelColors = new int[2];
    itemDef.originalModelColors[0] = 5662;
    itemDef.modifiedModelColors[0] = 910;
    itemDef.originalModelColors[1] = 3608;
    itemDef.modifiedModelColors[1] = 910;
    itemDef.modelID = 14104;
    itemDef.modelZoom = 1600;
    itemDef.modelRotation1 = 488;
    itemDef.modelRotation2 = 50;
    itemDef.modelOffset1 = -1;
    itemDef.modelOffset2 = 2;
    itemDef.maleEquip1 = 14105;
    itemDef.femaleEquip1 = 14105;
    itemDef.certID = 14479;
    itemDef.name = "Dragon platebody";
    itemDef.description = "Provides excellent protection.".getBytes();
    }

    I hope i posted in the right section.
    I'm new at coding etc
    Thanks!
    Reply With Quote  
     

  2. #2  
    Whatchu talkin bout willis?

    Gary's Avatar
    Join Date
    Sep 2008
    Posts
    4,185
    Thanks given
    699
    Thanks received
    656
    Rep Power
    3514
    its in the itemhandler or itemmanager put it in the body slots
    Ellie
    Sadly lost my beautiful ellie in july 2018 always going to miss you my girl
    Spoiler for sig too big:
    Attached image

    Attached image
    Reply With Quote  
     

  3. #3  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    go to item.java or item4.java or where-ever u have these:

    Code:
    public static int body[] = {
    public static int platebody[] = {
    and add the pl8 id to both of them.
    Number of page #1 releases with most views & posts: (Updated: 2023)
    RS2 server section: 1
    RS2 client section: 2
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •