Jump to content
  • 0
Sign in to follow this  
Cubby

[PI] How do i add models? [PI]

Question

Hey guys, im new to coding rsps, and i want to know how to add dragon claws. Or just any models in general. help please?

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0
Honestly. Not trolling, Google it, a lot easier. :)

Share this post


Link to post
Share on other sites
  • 0
I posted it on here because i thought i would get better results, instead of clicking on every link trying to look for the best one.

Share this post


Link to post
Share on other sites
  • 0
[quote name='Cubby']I posted it on here because i thought i would get better results, instead of clicking on every link trying to look for the best one.[/QUOTE]
Which is true, just some people are slow. Ahha.

Share this post


Link to post
Share on other sites
  • 0
Firstly, You'd need the models/ints.. Any custom content needs to be added client sided

For an example here is my Polypore Staff

Model: [url]http://up.ht/zdEwiZ[/url]

Model goes into your cache folder /Raw

Ints (ItemDef.java)

[CODE]case 19475:
itemDef.modelid = 13436;
itemDef.name = "Polypore Staff";
itemDef.description = "It's a Polypore Staff.";
itemDef.modelZoom = 3250;
itemDef.modelRotationY = 550;
itemDef.modelRotationX = 1530;
itemDef.modelOffset1 = 0;
itemDef.modelOffset2 = 0;
itemDef.anInt165 = 13416;
itemDef.anInt200 = 13416;
itemDef.groundActions = new String[5];
itemDef.groundActions[2] = "Take";
itemDef.itemActions = new String[5];
itemDef.itemActions[1] = "Wear";
itemDef.itemActions[4] = "Destroy";
break;[/CODE]

Make sure the ints are below any other cases if you don't have any other cases declared make sure they are below: [CODE]switch (itemDef.id) {[/CODE]

Share this post


Link to post
Share on other sites
  • 0
i just looked it up on google, and ALL the links are threads asking how to do this.

Share this post


Link to post
Share on other sites
  • 0
[quote name='Scotticus']Firstly, You'd need the models/ints.. Any custom content needs to be added client sided

For an example here is my Polypore Staff

Model: [url]http://up.ht/zdEwiZ[/url]

Model goes into your cache folder /Raw

Ints (ItemDef.java)

[CODE]case 19475:
itemDef.modelid = 13436;
itemDef.name = "Polypore Staff";
itemDef.description = "It's a Polypore Staff.";
itemDef.modelZoom = 3250;
itemDef.modelRotationY = 550;
itemDef.modelRotationX = 1530;
itemDef.modelOffset1 = 0;
itemDef.modelOffset2 = 0;
itemDef.anInt165 = 13416;
itemDef.anInt200 = 13416;
itemDef.groundActions = new String[5];
itemDef.groundActions[2] = "Take";
itemDef.itemActions = new String[5];
itemDef.itemActions[1] = "Wear";
itemDef.itemActions[4] = "Destroy";
break;[/CODE]

Make sure the ints are below any other cases if you don't have any other cases declared make sure they are below: [CODE]switch (itemDef.id) {[/CODE][/QUOTE]

im going to try this now. thank you.

EDIT: I cant find my raw folder. Edited by Cubby

Share this post


Link to post
Share on other sites
Sign in to follow this  

×