Jump to content

Question

Ok, i've seen plenty tutorials to add customs. But here is my situation... My models are .dat's instead of .gz, and my ints look like this: [CODE]case 9802:
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Equip";
class8.anInt174 = 14007;
class8.anInt181 = 1744;
class8.anInt190 = 738;
class8.anInt198 = 1985;
class8.anInt194 = 0;
class8.anInt169 = 0;
class8.anInt204 = 0;
class8.anInt165 = 14008;
class8.anInt200 = 14008;
class8.aString170 = "Vesta's Longsword";
class8.aByteArray178 = "Vesta's Longsword, a reward from PVP.".getBytes();
break;[/CODE]
...instead of this... [CODE]if(i == 13658)
{
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wear";
class8.anInt174 = 14091;
class8.anInt181 = 650;
class8.anInt190 = 126;
class8.anInt198 = 129;
class8.anInt204 = 83;
class8.anInt169 = 0;
class8.anInt194 = 0;
class8.anInt165 = 14090;
class8.anInt200 = 14090;
class8.anInt188 = -1;
class8.anInt164 = -1;
class8.anInt175 = -1;
class8.aString170 = "DC hat";
class8.aByteArray178 = "Nice.".getBytes();
}[/CODE]

I use [B]Demise Pk'ing[/B], and I want to add customs. Any help? :confused:

PS: I am a newbie. A new newbie.

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0
Uh simply change the case to

[code]

case 13658:
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wear";
class8.anInt174 = 14091;
class8.anInt181 = 650;
class8.anInt190 = 126;
class8.anInt198 = 129;
class8.anInt204 = 83;
class8.anInt169 = 0;
class8.anInt194 = 0;
class8.anInt165 = 14090;
class8.anInt200 = 14090;
class8.anInt188 = -1;
class8.anInt164 = -1;
class8.anInt175 = -1;
class8.aString170 = "DC hat";
class8.aByteArray178 = "Nice.".getBytes();
}
[/code]

Share this post


Link to post
Share on other sites
  • 0
Thanks 4 that, but what about the models?? There .gz, and all of the models in the "models" folder are .dat...

Share this post


Link to post
Share on other sites
  • 0
I Have The .Dats And Ints i Just Suck at this lol idk what to do, If anyone wanna help me add items to my rsps pm me xD Edited by Vesta Main

Share this post


Link to post
Share on other sites
  • 0
Inside the .gz's there are DAT's but there names are like "DC hat" instead of a number...do I just put that in?

Share this post


Link to post
Share on other sites
  • 0
[quote name='redblood']Inside the .gz's there are DAT's but there names are like "DC hat" instead of a number...do I just put that in?[/QUOTE]

Just change it to a number.

Share this post


Link to post
Share on other sites
  • 0
[quote name='stripies']Just change it to a number.[/QUOTE] Ok, just one more question. Should I change the name of the .dat to the number of the .gz that it's in? For example the DC Hat's Models are 14090.gz and 14091.gz, and inside they are 02b.dat and Drop - DC Hatb.dat. Should they be 14090.dat and 14091.dat...or any number that isnt in there already?

Share this post


Link to post
Share on other sites
  • 0
cmon guys... i can hear pins dropping here, anybody gonna help? *sigh* :(

Share this post


Link to post
Share on other sites

×