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.
[06:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
[2024-5-22. : 6:10 am]
Riney -- I come back after 4 months. Post wob. Make a crappy post in Null. Hit a 0 in magic boxes.
[2024-5-22. : 6:00 am]
Riney -- :wob:
[2024-5-20. : 3:08 pm]
Sylph-Of-Space -- woah! nice! thank you!
[2024-5-20. : 4:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[2024-5-20. : 4:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[2024-5-20. : 4:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[2024-5-20. : 4:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[2024-5-20. : 3:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
Please log in to shout.


Members Online: Roy, NudeRaider, lil-Inferno