Thread: Making Customs Equippable

Results 1 to 6 of 6
  1. #1 Making Customs Equippable 
    Registered Member
    Join Date
    Sep 2013
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I'm trying to get this rainbow partyhat to be equippable but i don't know where to add this in my cache. Can anyone help me? Thanks!
    case 16428:
    itemDef.modelid = 9001;
    itemDef.name = "Rainbow Partyhat";
    itemDef.description = "Rainbow Partyhat.";
    itemDef.modelZoom = 440;
    itemDef.modelRotationX = 1845;
    itemDef.modelRotationY = 121;
    itemDef.modelOffset1 = 0;
    itemDef.modelOffset2 = 1;
    itemDef.anInt165 = 9000;
    itemDef.anInt200 = 9002;
    itemDef.groundActions = new String[5];
    itemDef.groundActions[2] = "Take";
    itemDef.itemActions = new String[5];
    itemDef.itemActions[1] = "Wear";
    break;
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Sep 2013
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    oops not in my cache! i mean where do i put that in the coding?
    Reply With Quote  
     

  3. #3  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    The code you posted goes into ItemDef.java (Client), you should see other code just like it around there. If you don't you should see a return statement that return an ItemDef object, in which case you would just use some form of a statement before the return so that its possible to make adjustments like you are. Hope this helped.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Sep 2013
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    cant find it . Thanks for the info though
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Feb 2013
    Posts
    584
    Thanks given
    306
    Thanks received
    75
    Rep Power
    0
    Quit Coding Now if you dont evem know this..
    Reply With Quote  
     

  6. #6  
    Donator

    Join Date
    Aug 2010
    Posts
    317
    Thanks given
    13
    Thanks received
    26
    Rep Power
    20
    It should be in itemdef.java if you check a bit in there you will notice some other items in it also. Just add it the same way how it is now. What Jason told you is the way to do it. Maybe you overlooked something.
    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. Making Custom login boxes match with background
    By Bloodraider in forum Tutorials
    Replies: 62
    Last Post: 05-04-2009, 02:11 PM
  2. how to make custom cape emote
    By twistscapeowner in forum Tutorials
    Replies: 39
    Last Post: 03-08-2009, 02:07 PM
  3. [NOOBFRIEND:Y]How to make custom return codes
    By .fabian in forum Tutorials
    Replies: 3
    Last Post: 11-30-2008, 12:44 PM
  4. How To Make Custom Glows.
    By Patrity in forum Tutorials
    Replies: 10
    Last Post: 11-10-2008, 05:36 AM
  5. making custom gameframes for only 500k
    By G3n1uz in forum Graphics
    Replies: 6
    Last Post: 11-06-2007, 08:40 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
  •