Thread: Help me convert this code? [REP + ]

Results 1 to 4 of 4
  1. #1 Help me convert this code? [REP + ] 
    Registered Member
    Join Date
    Dec 2009
    Posts
    356
    Thanks given
    3
    Thanks received
    2
    Rep Power
    2
    Hey ,

    Can anyone help me convert this code to renamed for project insanity base?

    Code:
                    if(i == 6992){  //~Black party hat~
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wear";
    class8.anIntArray156 = new int[1];
    class8.anIntArray160 = new int [1];
    //Purple: 926-127
    class8.anIntArray156[0] = 926;
    class8.anIntArray160[0] = 6;
    class8.anInt174 = 2635;//Item Look
    class8.anInt181 = 440;
    class8.anInt190 = 76;
    class8.anInt198 = 1850;
    class8.anInt204 = 0;
    class8.anInt169 = 1;
    class8.anInt194 = 1;
    class8.anInt165 = 187;
    class8.anInt200 = 363;
    class8.anInt175 = 29;
    class8.anInt197 = 87;
    class8.aString170 = "Black Party hat";
    class8.aByteArray178 = "A Black Party Hat".getBytes();
    }
    Thank you!


    Dimitri.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2009
    Posts
    356
    Thanks given
    3
    Thanks received
    2
    Rep Power
    2
    Bump!
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2009
    Posts
    356
    Thanks given
    3
    Thanks received
    2
    Rep Power
    2
    Bump! Anyone? ( Please tell me if bumping is against rules )
    Reply With Quote  
     

  4. #4  
    Member
    Join Date
    Apr 2011
    Age
    31
    Posts
    697
    Thanks given
    60
    Thanks received
    22
    Rep Power
    0
    I Can get most of it you can allways try commenting out the errors and see if it works but your welcome for this much.

    Code:
    case 6992:  //~Black party hat~
    itemDef.name = "Black Party hat";
    itemDef.itemActions = new String[5];
    itemDef.itemActions[1] = "Wear";
    class8.anIntArray156 = new int[1];
    class8.anIntArray160 = new int [1];
    //Purple: 926-127
    class8.anIntArray156[0] = 926;
    class8.anIntArray160[0] = 6;
    itemDef.modelID = 2635;// ModelID
    itemDef.modelZoom = 440; // ModelZoom
    itemDef.modelRotationY = 76; //Model RotationY
    itemDef.modelRotationX = 1850; //Model RotationX
    itemDef.anInt204 = 0;
    itemDef.anInt169 = 1;  
    itemDef.anInt194 = 1;
    itemDef.anInt165 = 187; //Male Equip
    itemDef.anInt200 = 363; //Female equip
    itemDef.modelOffset2 = 29; //ModelOffset2
    itemDef.modelOffset1 = 87; //Model Offset1
    itemDef.description = "A Black Party Hat".getBytes();
    break;
    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. Who can convert this to PI code?
    By MrClassic in forum Help
    Replies: 4
    Last Post: 10-03-2011, 07:43 AM
  2. Convert A Code?
    By Xuzk in forum Help
    Replies: 9
    Last Post: 11-21-2009, 04:47 PM
  3. Replies: 10
    Last Post: 09-18-2009, 10:31 PM
  4. Replies: 7
    Last Post: 07-16-2009, 04:39 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •