Heres a video
http://tinypic.com/player.php?v=1zlep8h&s=4
|
Okay, This is what I'm doing and it's not working right.
Spotanim code:
Animation.java codeCode:case 30: originalDataID = 30; cache[j].anInt405 = 35; cache[j].anInt406 = 3002; cache[j].aAnimation_407 = Animation.anims[cache[j].anInt406]; break;
file 32 is the animation file for the specs and model 35 is the model for special graphicsCode:if (j == 3002) {/* Ags GFX Animation */ int file = 32; if (FrameStart[file] < 1) Class36.methodCustomAnimations(false, file); System.out.println("Animation"); int[] frames = { 29005, 29005, 29005, 29005, 29005, 29005, 29005, 29005, 29005, 29005, 29005, 29017, 29003, 29013, 29018, 29006, 29015, 29016, 29012, 29008, 29004, 29009, 29002, 29014, 29011, 29001, 29000, 29010, 29007, 29007, 29007 }; anims[j].TotalFrames = frames.length - 1; anims[j].FrameID = new int[frames.length - 1]; anims[j].anIntArray354 = new int[frames.length - 1]; anims[j].FrameSpeed = new int[frames.length - 1]; for (int i2 = 0; i2 < frames.length - 1; i2++) { anims[j].FrameID[i2] = frames[i2] + FrameStart[file]; anims[j].anIntArray354[i2] = -1; anims[j].FrameSpeed[i2] = 3; } }
i see 3 thing that are wrong
originalDataID = 30; delete useless
wrong file frames:
int[] frames = { 29005, 29005, 29005, 29005, 29005, 29005,
29005, 29005, 29005, 29005, 29005, 29017, 29003, 29013,
29018, 29006, 29015, 29016, 29012, 29008, 29004, 29009,
29002, 29014, 29011, 29001, 29000, 29010, 29007, 29007,
29007 };
should be like 0 2 5 not 29002 29005
and the file id is wrong dont edit the code just c &p it out of the config and dont edit it
if you dont know gfx emote its:7075
it cant because he wants a new gfx.. original id loads the old model emote's.
if(j == 7075){
int file = 1771;
if(FrameStart[file] < 1)
Class36.methodCustomAnimations(false, file);
int[] frames = {5,5,5,5,5,5,5,5,5,5,5,17,3,13,18,6,15,16,12,8,4,9 ,2,14,11,1,0,10,7,7,7,0};
int[] delays = {3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3 ,3,3,3,3,3,3,0};
aClass20Array351[j].anInt352 = frames.length-1;
aClass20Array351[j].anIntArray353 = new int[frames.length-1];
aClass20Array351[j].anIntArray354 = new int[frames.length-1];
aClass20Array351[j].anIntArray355 = new int[frames.length-1];
for(int i2 = 0; i2 < frames.length-1; i2++){
aClass20Array351[j].anIntArray353[i2] = frames[i2]+FrameStart[file];
aClass20Array351[j].anIntArray354[i2] = -1;
aClass20Array351[j].anIntArray355[i2] = delays[i2];
}
}
When i remove the orginaldataid thing it dont show the graphic anymore it shows the 317 one.
EDIT: I added the orginaldataid back and it's still messing up like the vid with the new ints
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |