OK, this is a tut on making custom weapons for your 317-377It might work on 474, but i have not tested, due to the fact that I despise 474s.
Difficulty: 6/10
Description: Adding/Making custom items
Tested on: pwnscape(377) and QC-life(317)
Files Modified:class8.java
Assumed:You own/rent a brain, you can readGet some downloadsYou need a client with the java files, or atleast class8.java
Metasequoia
http://www.mediafire.com/download.php?mrom2t1yotdDAT Maker
http://www.mediafire.com/download.php?2fnyozjtfzn7z
http://www.mediafire.com/download.php?z1hfjclozzzRS Models
http://www.mediafire.com/download.php?yynmozd55r2Items IDs
http://www.mediafire.com/download.php?bokmdday2miAfter the downloads are done and decompiled...Open up
item int list and search(control+F) for the item you want for a base for your custom item. Under it, you should see
the number to the left is the one you need to remember.
Open up...datamaker.exe Now open up the METASEQUOIA folder, but not the .exe
and make a new folder called models. On DATMAKER, file>open>metasequoia>models. No you File>open>rsmodel viewer>models>####(item number)
click on it and it should display on the screen, the File>export>MQO
Now open up...metasequoia.exe and File>open>metasequoia>models>####.MQO
(if its not there, just try to find it, its in a folder somewhere, lol)
it should spring up on the screen, now you may edit it to your hearts' desire.
After that...go to file>save as>metasequoia>models>
ITEM NAME WW stands for wield
Now select all of your new custom weapon, and move it to the ground, and rotate it, so looks flat and is adjacent to the ground.
File>Save as>Metasequoia>Models>
ITEM NAME DD stands for drop
Ok, now that that's done...
go back to your RS datmaker program, and import the wield model now at the top next to a green box it should sayselect that box, and your weapon will have black dots all over it.
on the bottome left corner, you should see
change the first 0 to 10.
Now there should be a dropbox that says no anim, open it and scroll down to right-hand and select. Now click make .dat button
Do the same for the drop model, but instead of right-hand, it should be no anim.
Open up...7z folder and open 7zFM. Find metasequoia>models
then select the wield model and click on the
green '+' keya screen should pop up, then click ok. Do the same for the drop model.
now drag the wield model and drag it to your clients model folder. Rename it to 13000.gz. Drag the drop model and rename it 13001.gz.
Go open up...class8.java, search for
class8.method203(true, aClass30_Sub2_Sub2_183);
underneath add this
if(i == Item Number) {
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";//New option
class8.anInt174 = Drop Model Number; //Model ID // 20233
class8.anInt181 = 2000; //zoom increase will make it smaller
class8.anInt190 = 572; //model rotate up+down increase to move doen away from you
class8.anInt198 = 0; //model rotate side ways increase to move right in circle
class8.anInt169 = 25; // model offset increase to move to the right
class8.anInt194 = 1; //model offset increase to move up
class8.anInt165 = Wield Model Number;//male wearing //
class8.anInt200 = Wield Model Number;//female wearing //
class8.anInt164 = -1;//Female arms/sleeves //
class8.anInt188 = -1;//male arms/sleeves //
class8.aBoolean176 = false;//Stackable
class8.aString170 = "Item Name";//Name of the new item
class8.aByteArray178 = "Item Examine Info".getBytes();//examin info
}
ok, ITEM Number denotes the item id you want
Drop Model Number denotes the .gz file, which in this case is 13001
Wield Model Number denotes the .gz file, which in this case is 13000
Item Name denotes the name of your item
Item Examine Info denotes what the description is if you ingame examine it.
Finally...save and compile, then run your server.
Once on your server you must say this
and
It should say Item Model found, or something like that.
Then do ::pickup ITEM-ID AMOUNT
If I missed anything, please post, or pm me.
I think this should be stickied, but that's my opinion.
Good job.
To me.