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.
[12:50 am]
MTiger156 -- Could try an automatic difficulty scaling based on player count. Turning down enemy HP and damage via EUD, or reducing enemy count?
[07:59 pm]
Ultraviolet -- Ya I heard that watching the vid, too. Was considering submitting Impossible Ultraviolet, but it's only technically playable with one person.. in practice playing with one person would be terrible
[05:52 pm]
MTiger156 -- Oh, the full rules for submissions only appear in the Discord server. "Single Player Only" is a big oof since I'm only good at multiplayer concepts. However I will inquire about trying a multiplayer PvE concept that can be fully played and won alone.
[10:34 am]
C(a)HeK -- greetings all, test #7 is complete :)
[08:10 am]
Ultraviolet -- you all talk Tiger :P
[03:33 am]
MTiger156 -- Holy shit, this "Maporino! 2021" event that just got announced... this is something that takes place every year? Damn I wish I knew about it sooner, this can be my huge breakthrough in motivation :0_0:
[2021-2-26. : 7:23 am]
C(a)HeK -- thank you!
[2021-2-26. : 5:14 am]
C(a)HeK -- hello all, test 6 is complete - http://www.staredit.net/topic/18203/ :)
[2021-2-26. : 3:09 am]
RdeRenato -- yes
[2021-2-25. : 2:55 pm]
MTiger156 -- General Kenobi
Please log in to shout.


Members Online: Roy, DarkenedFantasies