antiworth
July 8th, 2010, 08:31
Gzipping the model
for the new coders that dont know what gzipped models is:
gzipping is very easy and easier to add if ur client dont got preload
many people just add to a winrar archive but there is an easier way
download this tool: Only the registered members can see the link. (Only the registered members can see the link.)
virus scan: Only the registered members can see the link.
now drag your ****.dat to the tool and it will gzip the model
**** is model id now rename it to your model number and delete .dat
now u got a gzipped model
Making ints
for the new coders that dont know what ints is:
ints is a code you put to make the item id and get it work
making ints is really easy
they are explained in code
items
whips:
if(i == *****) // item id
{
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";//option to wear
class8.anInt174 = *****; //Drop Model ID
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 = *****;//male wearing model it //
class8.anInt200 = *****;//female wearing model id //
class8.anInt164 = -1;//Female arms/sleeves //
class8.anInt188 = -1;//male arms/sleeves //
class8.aBoolean176 = false;//Stackable
class8.aString170 = "*********";//Name of the new item
class8.aByteArray178 = "*********".getBytes();//examin info
}
platelegs:
if(i == *****) // Your desired item id
{
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wear"; // String name, this can be changed to wield, or attach, or whatever you want
class8.anInt174 = *****; // Drop/Inv Model
class8.anInt165 = *****; // Male Wield Model
class8.anInt200 = *****; // Female Wield model
class8.anInt188 = -1; // Male arms/sleeves (Leave as -1 if not used)
class8.anInt164 = -1; // Female arms/sleeves (Leave as -1 if not used)
class8.anInt181 = 2151; // Zoom - Increase to make inv model smaller
class8.anInt190 = 429; // Rotate up/down - Increase to rotate upwards
class8.anInt198 = 1189; // Rotate right/left - Increase to rotate right
class8.anInt169 = 7; // Position in inv, increase to move right
class8.anInt194 = 5; // Position in inv, increase to move up
class8.aString170 = "*******"; // Item Name
class8.aByteArray178 = "*******".getBytes(); // Item Examine
}
platebody:
if(i == *****) // item id
{
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";//New option
class8.anInt174 = *****; //drop Model ID
class8.anInt181 = 1330; //zoom increase will make it smaller
class8.anInt190 = 310; //model rotate up+down increase to move doen away from you
class8.anInt198 = 1800; //model rotate side ways increase to move right in circle
class8.anInt169 = 0; // model offset increase to move to the right
class8.anInt194 = 1; //model offset increase to move up
class8.anInt165 = *****;//male wearing model id
class8.anInt200 = *****;//female wearing model id
class8.anInt164 = -1;//Female arms/sleeves
class8.anInt188 = -1;//male arms/sleeves
class8.aBoolean176 = false;//Stackable
class8.aString170 = "*******";//Name of the new item
class8.aByteArray178 = "******".getBytes();//examin info
}
hats or helms:
if(i == ******) //item id
{
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wear";
class8.anInt174 = 13010; //drop and inventory model id
class8.anInt165 = 13009; //female model id
class8.anInt200 = 13009; //male model id
class8.anInt181 = 800;
class8.anInt190 = 160;
class8.anInt198 = 152;
class8.anInt204 = 0;
class8.anInt169 = -1;
class8.anInt194 = 6;
class8.anInt188 = -1;
class8.anInt164 = -1;
class8.anInt175 = 56;
class8.anInt197 = 116;
class8.aString170 = "****"; //name of the item
class8.aByteArray178 = "******************".getBytes(); //examine info
}
shields:
if(i == *****) { //item id
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wear";
class8.anInt174 = *****; //Inv & Ground model id
class8.anInt181 = 2000; //Zoom
class8.anInt190 = 572;
class8.anInt198 = 1200;
class8.anInt204 = 0;
class8.anInt169 = 16;
class8.anInt194 = 1;
class8.anInt165 = *****; //Male wield model
class8.anInt200 = *****; //Female wield model
class8.anInt175 = -1;
class8.anInt197 = -1;
class8.anInt199 = -1; //noteable
class8.aString170 = "*********"; //name
class8.aByteArray178 = "**************************************".getBytes(); //examine info
}
Npcs and objects soon
credits: 100% me
for the new coders that dont know what gzipped models is:
gzipping is very easy and easier to add if ur client dont got preload
many people just add to a winrar archive but there is an easier way
download this tool: Only the registered members can see the link. (Only the registered members can see the link.)
virus scan: Only the registered members can see the link.
now drag your ****.dat to the tool and it will gzip the model
**** is model id now rename it to your model number and delete .dat
now u got a gzipped model
Making ints
for the new coders that dont know what ints is:
ints is a code you put to make the item id and get it work
making ints is really easy
they are explained in code
items
whips:
if(i == *****) // item id
{
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";//option to wear
class8.anInt174 = *****; //Drop Model ID
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 = *****;//male wearing model it //
class8.anInt200 = *****;//female wearing model id //
class8.anInt164 = -1;//Female arms/sleeves //
class8.anInt188 = -1;//male arms/sleeves //
class8.aBoolean176 = false;//Stackable
class8.aString170 = "*********";//Name of the new item
class8.aByteArray178 = "*********".getBytes();//examin info
}
platelegs:
if(i == *****) // Your desired item id
{
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wear"; // String name, this can be changed to wield, or attach, or whatever you want
class8.anInt174 = *****; // Drop/Inv Model
class8.anInt165 = *****; // Male Wield Model
class8.anInt200 = *****; // Female Wield model
class8.anInt188 = -1; // Male arms/sleeves (Leave as -1 if not used)
class8.anInt164 = -1; // Female arms/sleeves (Leave as -1 if not used)
class8.anInt181 = 2151; // Zoom - Increase to make inv model smaller
class8.anInt190 = 429; // Rotate up/down - Increase to rotate upwards
class8.anInt198 = 1189; // Rotate right/left - Increase to rotate right
class8.anInt169 = 7; // Position in inv, increase to move right
class8.anInt194 = 5; // Position in inv, increase to move up
class8.aString170 = "*******"; // Item Name
class8.aByteArray178 = "*******".getBytes(); // Item Examine
}
platebody:
if(i == *****) // item id
{
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";//New option
class8.anInt174 = *****; //drop Model ID
class8.anInt181 = 1330; //zoom increase will make it smaller
class8.anInt190 = 310; //model rotate up+down increase to move doen away from you
class8.anInt198 = 1800; //model rotate side ways increase to move right in circle
class8.anInt169 = 0; // model offset increase to move to the right
class8.anInt194 = 1; //model offset increase to move up
class8.anInt165 = *****;//male wearing model id
class8.anInt200 = *****;//female wearing model id
class8.anInt164 = -1;//Female arms/sleeves
class8.anInt188 = -1;//male arms/sleeves
class8.aBoolean176 = false;//Stackable
class8.aString170 = "*******";//Name of the new item
class8.aByteArray178 = "******".getBytes();//examin info
}
hats or helms:
if(i == ******) //item id
{
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wear";
class8.anInt174 = 13010; //drop and inventory model id
class8.anInt165 = 13009; //female model id
class8.anInt200 = 13009; //male model id
class8.anInt181 = 800;
class8.anInt190 = 160;
class8.anInt198 = 152;
class8.anInt204 = 0;
class8.anInt169 = -1;
class8.anInt194 = 6;
class8.anInt188 = -1;
class8.anInt164 = -1;
class8.anInt175 = 56;
class8.anInt197 = 116;
class8.aString170 = "****"; //name of the item
class8.aByteArray178 = "******************".getBytes(); //examine info
}
shields:
if(i == *****) { //item id
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wear";
class8.anInt174 = *****; //Inv & Ground model id
class8.anInt181 = 2000; //Zoom
class8.anInt190 = 572;
class8.anInt198 = 1200;
class8.anInt204 = 0;
class8.anInt169 = 16;
class8.anInt194 = 1;
class8.anInt165 = *****; //Male wield model
class8.anInt200 = *****; //Female wield model
class8.anInt175 = -1;
class8.anInt197 = -1;
class8.anInt199 = -1; //noteable
class8.aString170 = "*********"; //name
class8.aByteArray178 = "**************************************".getBytes(); //examine info
}
Npcs and objects soon
credits: 100% me