Jump to content

Featured Replies

  • Replies 103
  • Views 17.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • 5 months later...
  • 2 weeks later...
  • 3 months later...
  • 1 month later...
  • 1 month later...
comment_91485
On 10/23/2016 at 10:08 PM, Mathy said:

Hey guys,

 

So I saw some people that needed help adding customs to their RSPS so here I am.

 

1) You should have an int (the item's info) and 2 .dat files (those are the models for your item, the drop model and the wear model)

2) Add these two models in your "Raw" folder in your cache:

  Reveal hidden contents

c17d384a04d0417db7251f5d59b9144f.png

Now go to your Client folder.

3) Add the int in your itemdef.java or itemdef_2.java or anything like that. That file is located in you Client folder. Add the int somewhere in the middle of other ints, not at the beginning

96f7fb68f1cb4415b6d1f8abca324385.png

THIS IS AN INT EXAMPLE:

if(i == #) {
	itemdef.name = "##";
	itemdef.description = "###";
	itemdef.modelID = ####; 
	itemdef.anInt165 = #####; 
	itemdef.anInt200 = #####; 
	itemdef.modelZoom = 2100;
	itemdef.modelRotation1 = 336;
	itemdef.modelRotation2 = 336;
	itemdef.modelOffset1 = 1;
	itemdef.modelOffset2 = 17;
	itemdef.groundActions = new String[5]; 
	itemdef.groundActions[2] = "Take"; 
	itemdef.itemActions = new String[5]; 
	itemdef.itemActions[1] = "Wear";
}

Here:

# = The item id when you want to spawn it (eg. ::item 995 1)

## = The item's name

### = The item's description when you right click it

#### = THE DROP MODEL ID

##### = THE WEAR MODEL ID

Those are the only things you will need to change for now unless you know what you're doing.

 

4) Now some owners are smart and they change what the int looks like, for example Dreamscape's ints. You will need to convert them so they fit your client. Once again, if you don't know what you're doing, look for help, it shouldn't take long to convert.

 

5) Compile your client if you're not using Eclipse, which you should ;) 

 

6) Run your client and spawn the item you added using what you put in as # in your int.

 

 

If that doesn't work, comment what's not working.

 

Thanks for reading :)

 

Mathy

this helps alot!!!!! ty!!!

  • 1 month later...
  • 3 weeks later...
  • 1 month later...
  • 5 months later...
  • 5 months later...

Create an account or sign in to comment