Thread: Godsword spec gfx/emote help needed rep++

Results 1 to 5 of 5
  1. #1 Godsword spec gfx/emote help needed rep++ 
    Registered Member

    Join Date
    Oct 2009
    Posts
    203
    Thanks given
    1
    Thanks received
    1
    Rep Power
    90
    okay, well i have tried using jamiz's godsword emotes and gfx for the specs, but they seem to come out very weird. Before you tell me to use the search button, i have been searching for a good 2 hours and couldnt find anything that could fix it. The error is the gfx is very transparent and isnt what it should be. Here is a video of what happens:



    here is my code for the gs emotes and gfx:
    class20:
    Code:
    if(j == 302) { //BGS special emote
    int file = 1834;
    if(FrameStart[file] < 1)
    Class36.methodCustomAnimations(false, file);
    int[] frames = {167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188};
    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] = 0;
    }
    }
    
    if(j == 303) { //ZGS special emote
    int file = 1834;
    if(FrameStart[file] < 1)
    Class36.methodCustomAnimations(false, file);
    int[] frames = {189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214};
    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] = 0;
    }
    }
    
    if(j == 304) { //SGS special emote
    int file = 1834;
    if(FrameStart[file] < 1)
    Class36.methodCustomAnimations(false, file);
    int[] frames = {215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248};
    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] = 0;
    }
    }
    
    if(j == 305) { //AGS special emote
    int file = 1834;
    if(FrameStart[file] < 1)
    Class36.methodCustomAnimations(false, file);
    int[] frames = {136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166};
    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] = 0;
    }
    }
    if(j == 6968){ 	//Saradomin sword GFX
    int file = 1755;
    if(FrameStart[file] < 1)
    Class36.methodCustomAnimations(false, file);
    int[] frames = {4,18,26,27,16,28,23,29,0,24,21,25,2,3,12,7,9,17,20,5,11,6,15,10,22,19,8,14,13,1,0};
    int[] delays = {5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,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];
    }
    }
    class23:
    Code:
    if(j == 654){ // Bandos
    	aClass23Array403[j].anInt405 = 28211;// Model
    	aClass23Array403[j].anInt406 = 302; // animation
    	aClass23Array403[j].aClass20_407 = Class20.aClass20Array351[aClass23Array403[j].anInt406];// Update
    }
    if(j == 655){ // Armadyl
    	aClass23Array403[j].anInt405 = 28249;
    	aClass23Array403[j].anInt406 = 305;
    	aClass23Array403[j].aClass20_407 = Class20.aClass20Array351[aClass23Array403[j].anInt406];
    }
    if(j == 611){ // Saradomin
    	aClass23Array403[j].anInt405 = 28195;
    	aClass23Array403[j].anInt406 = 304;
    	aClass23Array403[j].aClass20_407 = Class20.aClass20Array351[aClass23Array403[j].anInt406];
    }
    if(j == 644){ // zamorak
    	aClass23Array403[j].anInt405 = 28223;
    	aClass23Array403[j].anInt406 = 303;
    	aClass23Array403[j].aClass20_407 = Class20.aClass20Array351[aClass23Array403[j].anInt406];
    }
    if(j == 656){ // Saradomin sword
    	aClass23Array403[j].anInt405 = 28175;
    	aClass23Array403[j].anInt406 = 6968;
    	aClass23Array403[j].aClass20_407 = Class20.aClass20Array351[aClass23Array403[j].anInt406];
    
    }
    I know that these gs spec emotes and gfx work because i have tried them on DePulse's client/server and they worked perfect. I copied it exactly from there, including the models and it goes all weird.

    Please help me will rep.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Oct 2009
    Posts
    203
    Thanks given
    1
    Thanks received
    1
    Rep Power
    90
    bump........
    Reply With Quote  
     

  3. #3  
    なぜこのテキストは日本語で書かれている ?

    Kenneh's Avatar
    Join Date
    Dec 2009
    Age
    30
    Posts
    2,753
    Thanks given
    63
    Thanks received
    296
    Rep Power
    478
    aha atleast yours work better then mine, when i add mine to the specs the emote shows up still and is totally out of shape

    gl tho
    Reply With Quote  
     

  4. #4  
    Registered Member Edmund's Avatar
    Join Date
    Dec 2009
    Posts
    114
    Thanks given
    0
    Thanks received
    3
    Rep Power
    15
    Looks like the gfx aint being animated.
    This is Iyr
    RS Goals

    - - - - - - - -



    Current wealth
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jul 2008
    Posts
    3,523
    Thanks given
    188
    Thanks received
    696
    Rep Power
    0
    is the gfx model itself animated?

    like does it have animation data?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •