Models, put them in your Cache's 'Raw' folder.
Put the so known "ints" in your client's ItemDef class (.java).
Rename if required, compile -> re-run
You're done client-sided.
Hurr durr.
The server-sided part is even easier.
|
|
~~~~~~~~Sorry if this is in the wrong section, first "help" thread~~~~~~~~
Hey Guys,
I'm working with the [PI] 317 Source (Fixed Dupes), and, I am looking to add in Items (e.g. Torva, AGS and the such), I have been reading tutorials for about an hour and they all say about ints and models and all that great stuff...But, I'm not comprehending what they are doing...
So...
I would really appreciate anyone that can help in the matter, over the forums or over skype (so I can ask questions) (skype: InBrent)
Thanks,
Brent

Models, put them in your Cache's 'Raw' folder.
Put the so known "ints" in your client's ItemDef class (.java).
Rename if required, compile -> re-run
You're done client-sided.
Hurr durr.
The server-sided part is even easier.
Do you have ItemDef_2.java also or just ItemDef.java and nothing else? :O
Well anyways It doesn't matter, if you have ItemDef_2 also then you put the ints there.
So when you open up ItemDef.java, scroll down and you'll see other items hardcoded there
Like this:
And if you want to add new ints, put them directly under the last bracket of the previous item and by bracket i mean thisCode:if(i == 19111) { itemdef.name = "TokHaar-Kal"; ItemDef _tmp = itemdef; itemdef.value = 60000; itemdef.anInt165 = 62575; itemdef.anInt200 = 62582; itemdef.groundActions = new String[5]; itemdef.groundActions[2] = "Take"; itemdef.modelOffset1 = -4; itemdef.modelID = 62592; itemdef.stackable = false; itemdef.description = "A cape made of ancient, enchanted obsidian."; itemdef.modelZoom = 2086; itemdef.itemActions = new String[5]; itemdef.itemActions[1] = "Wear"; itemdef.itemActions[4] = "Drop"; itemdef.modelOffset2 = 0; itemdef.modelRotation1 = 533; itemdef.modelRotation2 = 333; }
hope this helps a bit}
| « auto donator rank | Teleports 317 PI » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |