Jump to content
  • 0
Sign in to follow this  
Par3210

HD Client - Item Option variables?

Question

I wasn't sure if this was the right section or not, but I decided to post here because no one had posted in the 508 Client Hacking Help section since March 2012.

Anyway, I want to know what the item option variables are. Here's an example of one of my items right now:
[CODE]case 14001:
class142.anInt2274 = 40207;
class142.aClass124_2296 = Class14_Sub2_Sub2.method263(1178, "Dragon platebody");//Item Name
class142.anInt2317 = 0;// model rotation 1
class142.anInt2286 = 0;// model rotation 2
class142.anInt2293 = 0;// model offset 1
class142.anInt2285 = 0;// model offset 2
class142.anInt2311 = 44576;//inventory/drop model
class142.anInt2273 = 900;//model zoom
break;
[/CODE]

What I want to add is a Wear option as at the moment it only has Use, Drop and Examine options.
Can someone help me out? I can't find this anywhere online.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
idk about 508 but if u want to wear that go to itemassistant.java and search for soemthing like this
c.playerEquipmentN[targetSlot] = toEquipN;
}
Below that add this
else if (wearID == 14001) {
targetSlot = 4;
}

Share this post


Link to post
Share on other sites
  • 0
Do you have any idea what I'm talking about? What I want to do is client-side, not server-side. Like a normal int for 508 is this:
[CODE]if(i_3_ == 14000) {//item id (whip id just for testing, you can change this)
class19.anInt330 = 14998;//inventory/drop model
class19.anInt336 = 738;//model zoom
class19.anInt389 = 245;//modelRotation1
class19.anInt395 = 80;// model rotation 2
class19.anInt358 = -2;// model offset 1
class19.anInt391 = 3;// model offset 2
class19.anInt390 = 14997;//Male model id
class19.aRSString_362 = Class112.method1668(43, "Dragon claws");//Item Name
}[/CODE]

I want to know what the int is for the item options. Like when you add Wear to an item which only has use, drop, and examine.

Share this post


Link to post
Share on other sites
  • 0
Bump... please can someone help me? Kind of really need this.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×