Jump to content
  • 0
Sign in to follow this  
BootyScape Brent

[PI]Invisible Models

Question

Hi I have added new models to my client and i put the models in the cache/raw file and they are .dat files. Also i added ints to itemDef.java but when i spawn the item in my server the items name will show up but the item in the inventory,wielded inventory, and on the player will not show. Is there a command i have to use in my client like add model **** because that doesn't seem to work.

Here are my ints (they compiled fine)
[CODE]case 11607:
itemDef.modelid = 70729;
itemDef.modelZoom = 780;
itemDef.modelRotationY = 229;
itemDef.modelRotationX = 177;
itemDef.modelOffset1 = 1;
itemDef.modelOffset2 = -34;
itemDef.anInt165 = 70662;
itemDef.anInt200 = 70691;
itemDef.groundActions = new String[] { null, null, "Take", null, null };
itemDef.itemActions = new String[] { null, "Wear", "Split", null, "Drop" };
itemDef.name = "Dragonbone full helm";
itemDef.description = "Dragonbone Full Helm.";
break;[/CODE]

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Are you sure your models are in the correct folder? If the ints are working, then it is something with model loading, or the models.

Share this post


Link to post
Share on other sites
  • 0
[quote name='Legendari']Are you sure your models are in the correct folder? If the ints are working, then it is something with model loading, or the models.[/QUOTE]

My models are from someone who has high post and the models are in the raw folder which is the model folder for pi and i have all models(wearing male/femal/invo/and drop) is there a command i have to use to add the models?

Share this post


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

×