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:47 pm]
Ultraviolet -- zsnakezz
zsnakezz shouted: ultra you have any thought or notes on undead invasion?
I still haven't gotten a chance to play it yet unfortunately. I just downloaded, but today I'm working on a project with a deadline so won't be able to play it today
[04:59 am]
zsnakezz -- >:)
[04:59 am]
zsnakezz -- :)
[04:58 am]
zsnakezz -- somebody gets it
[04:58 am]
zsnakezz -- and its not all just numbers in my file screen
[04:57 am]
zsnakezz -- thank you for your comment though, good to know some people out there tried my map out
[04:57 am]
zsnakezz -- just kidding
[04:57 am]
zsnakezz -- ultra you have any thought or notes on undead invasion?
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
Please log in to shout.


Members Online: Roy, Ultraviolet