not hard
|
|
Purpose: To add Rocktails & make them heal 23 like rs.
Difficulty: 0/10
Assumed Knowledge: To follow a tutorial, know where your files are.
Classes Modified: Applet_Sub1, Player.java
----
Hey Runeserver, this is my first tutorial (One of many)
First, download the model here [Only registered and activated users can see links. ]
Then drag the models into your model folder (client sided)
Src > Models > Drag in.
Next, in Applet_Sub1.java (Client sided), search forThen under the:Code:switch(i_3_)Add:Code:{That snippet up there is basicly telling you thatCode:case 379: class19.anInt330 = 48728;//inventory/drop model class19.anInt336 = 1460;//model zoom class19.anInt389 = 499;//modelRotation1 class19.anInt395 = 1926;// model rotation 2 class19.anInt358 = 3;// model offset 1 class19.anInt391 = 0;// model offset 2 class19.aRSString_362 = Class112.method1668(43, "Rocktail");//Item Name break;is the item id that you want rocktails to be, The rest is how the item will look when dropped, in inventory, and wielded (if wieldable).Code:case 379
Save & Compile.
---
Next step, to make them heal 23 (like rs).
Open up player.java, and search for(That means the item id is 379, which is lobster. I replaced my lobsters with rocktails.)Code:case 379:
Replace your Case 379 with mine:Save & Compile. Now have funCode:case 379: healAmount = 23; break;
---
Hope I helped for my first tutorial![]()





I know right? This is like 3 tutorials in one tbh![]()
Gottathem haters.

hiya well in the client bit i gt this error everytime i try to add any customs help!
but everything else is fine
Katy, it's not half bad. It's very small and easy, but it's something isn't it?
Make sure it's not in a read-only section of your computer,
make sure the file declaration has public not private in it.
| « EVERY z508 Dupe fix. | [562] BoneSack MiniQuest [Not real runescape one] » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |