This is clientsided..?
|
Okay so I'm trying to add the animation for d claws because right now it's ****ed up. So heres the code I got for the anim..
But I don't know where to add it. I think it's animation.java, but where at in animation.java? I'll post my animation code because it's short so If anyone could tell me where to add it i'd rep and thank. Also I'll probably get cannot find symbol errors so if anyone could tell me what to add to avoid those yeah.. um.. yeah.Code:if(j == 6000){ int file = 1919; if(FrameStart[file] < 1) Class36.methodCustomAnimations(false, file); int[] frames = {75,75,62,62,93,93,93,82,82,57,57,71,71,66,66,66,61,92,73,73,65,65,89,89,70,70,81,81,67,67,67,84,59,63,63,99,99,78,69,69,96,96,74,74,74,79,90,90,94,94,58,0}; anims[j].anInt352 = frames.length-1; anims[j].anIntArray353 = new int[frames.length-1]; anims[j].anIntArray354 = new int[frames.length-1]; anims[j].anIntArray355 = new int[frames.length-1]; for(int i2 = 0; i2 < frames.length-1; i2++){ anims[j].anIntArray353[i2] = frames[i2]+FrameStart[file]; anims[j].anIntArray354[i2] = -1; anims[j].anIntArray355[i2] = 2; } }
Code:// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) public final class Animation { public static void unpackConfig(NamedArchive archive) { Stream stream = new Stream(archive.getDataForName("seq.dat")); int length = stream.readUnsignedWord(); if(anims == null) anims = new Animation[length]; for(int j = 0; j < length; j++) { if(anims[j] == null) anims[j] = new Animation(); anims[j].readValues(stream); } } public int method258(int i) { int j = anIntArray355[i]; if(j == 0) { Class36 class36 = Class36.method531(anIntArray353[i]); if(class36 != null) j = anIntArray355[i] = class36.anInt636; } if(j == 0) j = 1; return j; } private void readValues(Stream stream) { do { int i = stream.readUnsignedByte(); if(i == 0) break; if(i == 1) { anInt352 = stream.readUnsignedWord(); anIntArray353 = new int[anInt352]; anIntArray354 = new int[anInt352]; anIntArray355 = new int[anInt352]; for(int j = 0; j < anInt352; j++) { anIntArray355[j] = stream.readUnsignedWord(); anIntArray354[j] = -1; } for (int j = 0; j < anInt352; j++) anIntArray353[j] = stream.readUnsignedWord(); for (int i1 = 0; i1 < anInt352; i1++) { anIntArray353[i1] = (stream.readUnsignedWord() << 16) + anIntArray353[i1]; } } else if(i == 2) anInt356 = stream.readUnsignedWord(); else if(i == 3) { int k = stream.readUnsignedByte(); anIntArray357 = new int[k + 1]; for(int l = 0; l < k; l++) anIntArray357[l] = stream.readUnsignedByte(); anIntArray357[k] = 0x98967f; } else if(i == 4) aBoolean358 = true; else if(i == 5) anInt359 = stream.readUnsignedByte(); else if(i == 6) anInt360 = stream.readUnsignedWord(); else if(i == 7) anInt361 = stream.readUnsignedWord(); else if(i == 8) anInt362 = stream.readUnsignedByte(); else if(i == 9) anInt363 = stream.readUnsignedByte(); else if(i == 10) anInt364 = stream.readUnsignedByte(); else if(i == 11) anInt365 = stream.readUnsignedByte(); else if(i == 12) stream.readDWord(); else System.out.println("Error unrecognised seq config code: " + i); } while(true); if(anInt352 == 0) { anInt352 = 1; anIntArray353 = new int[1]; anIntArray353[0] = -1; anIntArray354 = new int[1]; anIntArray354[0] = -1; anIntArray355 = new int[1]; anIntArray355[0] = -1; } if(anInt363 == -1) if(anIntArray357 != null) anInt363 = 2; else anInt363 = 0; if(anInt364 == -1) { if(anIntArray357 != null) { anInt364 = 2; return; } anInt364 = 0; } } private Animation() { anInt356 = -1; aBoolean358 = false; anInt359 = 5; anInt360 = -1; anInt361 = -1; anInt362 = 99; anInt363 = -1; anInt364 = -1; anInt365 = 2; } public static Animation anims[]; public int anInt352; public int anIntArray353[]; public int anIntArray354[]; private int[] anIntArray355; public int anInt356; public int anIntArray357[]; public boolean aBoolean358; public int anInt359; public int anInt360; public int anInt361; public int anInt362; public int anInt363; public int anInt364; public int anInt365; public static int anInt367; }
This is clientsided..?
Been looking on google still can't find how to add this exactly and where. Someone who knows just reply please i'll give you a rep and thank.
:\ :\
honetsly i've had this posted for like 30 hours and no one has replied. wtf.
Someone please fucking reply.
/rage god damn.
is this a joke? WTF somebody I need a solution i'm going to thank+rep ...arrrrghhhhhhh
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |