Post new topic    
Metal Slime
Send private message
Walktall script broken by changing party order 
 PostMon Jul 07, 2014 1:05 am
Send private message Reply with quote
If I go to Order and change the party formation, it reverts to regular walkabouts until pressing F5 and reloading the script.

I'm trying to think of a way to counteract this, I'm not sure if there's a way to make a script autorun after the menu is closed. I skimmed through the plotscript dictionary but didn't find anything suitable.
Liquid Metal King Slime
Send private message
 
 PostMon Jul 07, 2014 1:41 am
Send private message Reply with quote
Look in the menu editor. You can assign an "on-close" script to the menu
Metal King Slime
Send private message
 
 PostMon Jul 07, 2014 1:43 am
Send private message Reply with quote
That's right. You can actually set an on-close script for a menu (the main menu); it's at the bottom of the toplevel menu. But that isn't going to fix the situation where the player uses Order/Team and then either goes back into Order/Team, or uses the default Quit screen. So it would be preferable to run the script immediately after leaving Order/Team instead. To do that you have to replace Order/Team with a menu item which runs teammenu or ordermenu and then reembiggens, and you need to set the main menu to allow scripts (and other gameplay) to run.
Metal Slime
Send private message
 
 PostMon Jul 07, 2014 3:04 am
Send private message Reply with quote
Oooh, derp. I didn't even look at Edit Menus. Thanks!

I'll also make sure to make a custom Order/Team menu item.
Metal King Slime
Send private message
 
 PostMon Jul 07, 2014 3:47 am
Send private message Reply with quote
Having actually just tried it, I now realise that the hero sprites are immediately reverted as soon as you move a hero from one slot to another, which looks very bad. So you might want to change the heroes back to regular walkabout sprites (if you have any!) before entering Order/Team.

Alternatively we should try to make that menu preserve hero slices. Not so simple, because ideally it would save walkabout slices assigned to reserve party heroes too. Argh, just adding an option to the hero editor to switch to hero battle sprites would be so much simpler... I feel bad for arguing against it a while ago.
Liquid Metal Slime
Send private message
 
 PostMon Jul 07, 2014 5:01 am
Send private message Reply with quote
TMC wrote:
Having actually just tried it, I now realise that the hero sprites are immediately reverted as soon as you move a hero from one slot to another, which looks very bad. So you might want to change the heroes back to regular walkabout sprites (if you have any!) before entering Order/Team.

Alternatively we should try to make that menu preserve hero slices. Not so simple, because ideally it would save walkabout slices assigned to reserve party heroes too. Argh, just adding an option to the hero editor to switch to hero battle sprites would be so much simpler... I feel bad for arguing against it a while ago.


Yeah I was running in to the same problem. I actually decided to avoid having a character swap menu in my game so as to avoid this. Not sure if I'll end up making a custom menu to replace it, or perhaps I'll just arrange my team permanently every time there is a character switch in the story.

It's a good thing you mention the on-close menu script too, I was just wondering how I'd solve that problem.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
⍠ C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
Metal Slime
Send private message
 
 PostMon Jul 07, 2014 6:37 am
Send private message Reply with quote
I'm going to test how it looks visually to disable walktall when the menu is opened, and reapply it when it's closed. It might take some tweaking, like making a custom special script for the menu. Walktall looks weird on the Order menu anyways, so I'm thinking of making regular 20x20 'small' walkabout sets just for heroes, and also using those for the overworld.

I'll test this tomorrow, though, I'm exhausted and it's late.
Display posts from previous: