View Full Version : [Help] [Models]
Break
June 18th, 2010, 15:07
Hey everyone.
I'm using Project Insanity release client and I added into it dragon claws.
But the problem is: When I spawn dragon claws in-game It is invisable and not looks like real dragon claws.
This is what I have in my ItemDef:
if(i == 14484) {
itemDef.actions = new String[5];
itemDef.actions[1] = "Wield";
itemDef.modelID = 44590;
itemDef.maleEquip1 = 43660;
itemDef.maleEquip2 = 43660;
itemDef.modelZoom = 789;
itemDef.modelRotation1 = 240;
itemDef.modelRotation2 = 60;
itemDef.modelOffset1 = -1;
itemDef.modelOffset2 = -23;
itemDef.name = "Dragon claws";
itemDef.description = "A set of fighting claws.".getBytes();
}
if(i == 14485) {
itemDef.name = "Dragon claws";
itemDef.actions = null;
itemDef.certTemplateID = 799;
itemDef.certID = 14484;
itemDef.modelZoom = 760;
itemDef.modelRotation1 = 552;
itemDef.modelRotation2 = 29;
itemDef.modelOffset1 = 2;
itemDef.modelOffset2 = 0;
itemDef.stackable = true;
itemDef.modelID = 2429;
}
Any idea please? I got the models but I don't know where to put them.
Sunni
June 18th, 2010, 15:20
In-Game did you type "add model ####" without the quotes?
Break
June 18th, 2010, 16:09
Sunni, I tried and it didn't work.
Rog3r
June 18th, 2010, 16:12
You'll need to find the Dragon Claws model. Follow this simple tutorial that i've found:
Galkon released his, but they went through the character's hands. I based mine off of the Rune claws model, which cover the hands but don't go through them.
Pics:
Only the registered members can see the link.
There's no color loss because I fixed my datmaker.
Only the registered members can see the link.
case 14484:
class8.anInt165 = 43660; // male wearing
class8.anInt200 = 43660; // female wearing
class8.anInt174 = 44590; // inventory model
class8.anInt181 = 789; // zoomout, increase = smaller
class8.anInt198 = 60; // rotation X, increase = to rotate right
class8.anInt190 = 240; // rotation Y, increase = rotate upwards
class8.anInt169 = -1; // inventory offset X, increase = move right
class8.anInt194 = -23; // inventory offset Y, increase = move up
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield"; // item command
class8.aString170 = "Dragon claws"; // item name
class8.aByteArray178 = "A set of fighting claws.".getBytes(); // examine info
break;
case 14485:
class8.aStringArray189 = new String[5];
class8.anInt163 = 2429;
class8.anInt179 = 14484;
break;
Link: Dragon claws.zip (Only the registered members can see the link.)
Break
June 18th, 2010, 16:15
Thanks alot Rog3r, But this isn't my problem bro.
You see the "Link: Dragon claws.zip?
I used a tutorial and I downloaded dragon claws models and I have no idea where to put them.
Rog3r
June 18th, 2010, 16:31
Thanks alot Rog3r, But this isn't my problem bro.
You see the "Link: Dragon claws.zip?
I used a tutorial and I downloaded dragon claws models and I have no idea where to put them.
Put the dragon claw model into your models folder and put those int's (as most people call them) into your class 8 class.
Break
June 18th, 2010, 16:33
There's a problem.
I got no Models folder and In the tutorial ints suppost be into ItemDef.
Rog3r
June 18th, 2010, 16:48
There's a problem.
I got no Models folder and In the tutorial ints suppost be into ItemDef.
The models folder - I can't explain it (have no idea why you don't) however the ItemDef class is like the class 8 class, add it in there. It already seems you have however the only problem is not having the model in there.
I don't know what client base you are using, however perhaps search it on other communities for a tutorial on how to add models there. It seems you can't add models command wise nor through adding it into the folder. There must be another way though, there has to. :p
Break
June 18th, 2010, 17:01
I'm using Project Insanity release client.
However I got no models folder =\.
Emperor
June 18th, 2010, 18:38
Check your cache folder for Models folder.
Break
June 18th, 2010, 18:46
Inside cache there a model class, But not folder.
Else ther einside cache a folder named "data" and alot of class's there (Numbers) So I tried add there but nothing worked.
Break
June 18th, 2010, 20:31
Bump.
Help please.
Divine
June 18th, 2010, 20:32
Just try making a folder called models...
If the client your using's worth shit, it'll recognize the path.
s a i n t
December 21st, 2010, 17:43
Your Model file is data on the client side.
I just dont know how to add them to ItemDef, since I dont have a class8.
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.