Staredit Network > Forums > Modding Assistance > Topic: iscript frame 470+ --> Crash
iscript frame 470+ --> Crash
Aug 19 2020, 11:53 am
By: Netbek  

Aug 19 2020, 11:53 am Netbek Post #1



hello all,
I have replaced the lurker's grp-sprite with a new 481 image grp.
In the Init Animation, it plays frames 460 to 481. I noticed that frame 470 or higher causes a crash.

Iscript (long waits for testing):
Code
LurkerInit:
    imgul                 922 0 0     # Lurker Shadow (zerg\zZluShad.grp)
    playfram               460     # Frame set 27, direction 1
    wait                   1
    setflspeed             0
    playfram               461     # Frame set 27, direction 2
    wait                   8
    playfram               462     # Frame set 27, direction 3
    wait                   8
    playfram               463     # Frame set 27, direction 4
    wait                   8
    playfram               464     # Frame set 27, direction 5
    wait                   8
    playfram               465     # Frame set 27, direction 6
    wait                   8
    playfram               466     # Frame set 27, direction 7
    wait                   8
    playfram               467     # Frame set 27, direction 8
    wait                   8
    playfram               468     # Frame set 27, direction 9
    wait                   8
    playfram               469     # Frame set 27, direction 10
    wait                   32
    playfram               470     # Frame set 27, direction 11
    wait                   8
    playfram               471     # Frame set 27, direction 12
    wait                   8
    playfram               472     # Frame set 27, direction 13
    wait                   8
    playfram               473     # Frame set 27, direction 14
    wait                   8
    playfram               474     # Frame set 27, direction 15
    wait                   8
    playfram               475     # Frame set 27, direction 16
    wait                   8
    wait                   1
    playfram               477     # Frame set 28, direction 1
    wait                   1
    playfram               478     # Frame set 28, direction 2
    wait                   1
    playfram               479     # Frame set 28, direction 3
    wait                   1
    playfram               480     # Frame set 28, direction 4
    wait                   1
    playfram               481     # Frame set 28, direction 5
    wait                   1
    sigorder                1
    goto                   LurkerWalkingToIdle



The "Init" animation is suppossed to be a "weapon switch" animation similar to Siege Mode (iscript of siege tank in siege mode contains a similar "Init" animation).




Aug 20 2020, 12:48 am Voyager7456 Post #2

Responsible for my own happiness? I can't even be responsible for my own breakfast

I'm not aware of a GRP frame limitation - 470 is definitely under such a limit if it exists. I suspect there's something wrong with that frame or your GRP. Do you mind posting it?



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Aug 20 2020, 1:45 pm Netbek Post #3



Quote from Voyager7456
I'm not aware of a GRP frame limitation - 470 is definitely under such a limit if it exists. I suspect there's something wrong with that frame or your GRP. Do you mind posting it?
Not at all! :) I attached the .grp.
The last frames are not directional, but are suppossed to be a transform animation (siege mode-based ability) during which the unit always faces southeast.

Attachments:
guardm_cbow.grp
Hits: 1 Size: 71.17kb




Aug 20 2020, 7:17 pm Voyager7456 Post #4

Responsible for my own happiness? I can't even be responsible for my own breakfast

Hmmm, I didn't have any problem playing the entire animation. Does your shadow have the right number of frames?



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
Please log in to shout.


Members Online: DarkenedFantasies, Roy