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.
[11:23 pm]
NudeRaider -- dumbducky
dumbducky shouted: I found a sneaky way to view some of my coworkers SAT scores and it is shocking
:ban:
[11:22 pm]
NudeRaider -- dumbducky
dumbducky shouted: I miss forums. Twitter is way more engaging but unless you have a following, nobody talks to you. Reddit is just filled with the stupidest people
well, most active members here are the bots, so not sure if this is an improvement :P
[06:05 pm]
dumbducky -- I found a sneaky way to view some of my coworkers SAT scores and it is shocking
[06:03 pm]
dumbducky -- FaRTy1billion
FaRTy1billion shouted: o, i keep meaning to add things to it but instead don't
Farty does your website work anymore
[06:02 pm]
dumbducky -- I miss forums. Twitter is way more engaging but unless you have a following, nobody talks to you. Reddit is just filled with the stupidest people
[02:32 pm]
Zoan -- :wob:
[02:54 am]
Ultraviolet -- :wob:
[2024-7-25. : 2:39 am]
O)FaRTy1billion[MM] -- o, i keep meaning to add things to it but instead don't
[2024-7-24. : 11:55 pm]
Roy -- Make that three changes to the wiki in the last month, all three being just edits to user pages.
[2024-7-23. : 2:47 pm]
dumbducky -- Two changes to the wiki in the last month, both are just edits to user pages
Please log in to shout.


Members Online: Moose