Thread: [PI] Wearing different type of masks.

Results 1 to 5 of 5
  1. #1 [PI] Wearing different type of masks. 
    Registered Member
    Join Date
    Aug 2013
    Posts
    42
    Thanks given
    21
    Thanks received
    2
    Rep Power
    36
    Does anybody know what file do I need to change in order to make certain masks be weared correctly? For example, mime mask goes to the correct slot (head) but looks like this:
    http://i.imgur.com/j31r1eL.png
    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by Sebastus View Post
    Does anybody know what file do I need to change in order to make certain masks be weared correctly? For example, mime mask goes to the correct slot (head) but looks like this:
    http://i.imgur.com/j31r1eL.png
    Try declaring it as a full mask in item.java, of that doesn't work, try declaring it as a full helm
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2013
    Posts
    42
    Thanks given
    21
    Thanks received
    2
    Rep Power
    36
    That didn't work, there are only two places where I could declare them:
    private static String[] fullmask
    private static String[] fullhat

    None worked; checked some items from those already existing there and they are either full helmets (covering the whole head) or just a portion visible (eg: dharok helm).

    Items like: mime mask, highwayman mask, black mask do exactly the same like I showed in this image: http://i.imgur.com/j31r1eL.png

    I think there has to be added a new static int, any ideas?
    Reply With Quote  
     

  4. #4  
    Project Drop-Zone Owner & The BLOOD Gang Always Banging RED


    Join Date
    May 2013
    Age
    28
    Posts
    2,992
    Thanks given
    5
    Thanks received
    937
    Rep Power
    183
    You can make a method in itemassistant.java like so.

    Example

    if (wearID == 15135) {
    targetSlot = 3;
    }
    15135 is the id of the weapon. Target slot 3 would be the weapon slot

    All the slots are right here below for you

    /*Slots:
    0 hat
    1 cape
    2 amulet
    3 weapon
    4 body
    5 shield
    6 ?
    7 legs
    8 ?
    9 gloves
    10 boots
    11 ?
    12 ring
    13 arrows
    */
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Aug 2013
    Posts
    42
    Thanks given
    21
    Thanks received
    2
    Rep Power
    36
    Quote Originally Posted by MOB KLICK View Post
    You can make a method in itemassistant.java like so.

    Example



    15135 is the id of the weapon. Target slot 3 would be the weapon slot

    All the slots are right here below for you
    You didn't understand the problem. The item goes to the correct slot (helmet), but covers more than it should. That's the problem which I need a fix for, I already set the correct slots for each of them.
    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

Similar Threads

  1. 10 different types of soup
    By Liam Baby in forum Videos
    Replies: 0
    Last Post: 03-22-2012, 11:40 PM
  2. Replies: 0
    Last Post: 11-11-2010, 06:19 AM
  3. Oxpar - The Different Type Of PK Server
    By RuiN in forum Advertise
    Replies: 5
    Last Post: 01-10-2010, 02:08 AM
  4. Different Type Of Login Format
    By PokeyDots in forum Help
    Replies: 6
    Last Post: 03-11-2009, 12:05 PM
  5. Replies: 21
    Last Post: 10-09-2008, 02:34 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •