RSPSPros

RuneScape Private Servers => Server Tutorials => Topic started by: Veng4lyfe on August 04, 2009, 03:40:58 am



Title: [317/377]Custom Weapons Tut[317/377]
Post by: Veng4lyfe on August 04, 2009, 03:40:58 am
OK, this is a tut on making custom weapons for your 317-377
It 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 read

Get some downloads
You need a client with the java files, or atleast class8.java

Metasequoia http://www.mediafire.com/download.php?mrom2t1yotd
DAT Maker http://www.mediafire.com/download.php?2fnyozjtfzn
7z http://www.mediafire.com/download.php?z1hfjclozzz
RS Models http://www.mediafire.com/download.php?yynmozd55r2
Items IDs http://www.mediafire.com/download.php?bokmdday2mi

After 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
Code:
//male wield view
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 W
W 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 D
D 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 say
Code:
priorities
select that box, and your weapon will have black dots all over it.
on the bottome left corner, you should see
Code:
0/0
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 '+' key
a 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
Code:
class8.method203(true, aClass30_Sub2_Sub2_183);

underneath add this
Code:
    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
Code:
add model 13000
and
Code:
add model 13001
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.


Title: Re: [317/377]Custom Weapons Tut[317/377]
Post by: Tabbykiller on August 06, 2009, 03:51:07 am
Assumed:You own/rent a brain, you can read
What if you dont have the Money



Title: Re: [317/377]Custom Weapons Tut[317/377]
Post by: H1 Sk1ller on March 11, 2010, 02:52:35 am
What Do You Mean If You Don't Have The Money?

Its All Free?


Title: Re: [317/377]Custom Weapons Tut[317/377]
Post by: jbk1100 on July 24, 2010, 08:16:33 pm
 ??? dude it says unable to find model:13000  what do i do?


Title: Re: [317/377]Custom Weapons Tut[317/377]
Post by: free weezy on January 02, 2011, 07:02:41 pm
the only problem so far that i have with this. is the models getted added corectly but when i spawn it.. bam. only null