Can anyone point me in the right direction for scripting a battle system that pops up the battle in a window instead of pausing the map and its events from moving around?
I noticed that when text comes up from talking to an npc, or etc, it doesn't stop other npc's and events from occurring, and I'd like that same functionality out of battles.
Any ideas?
that is a lot more complex than you think, because the structure of the game and screens.
The default battlescreen is basically derived of the same screen class used for all menu screens - and those always pause the map.
The messages and NPC movements are part of the map functionality with parallel processing, that's why most of the events continue (depends on what mechanics you use for movement, some moves can be stopped.
Basically you have to rewrite most of the battlesystem to make it parallel to map events - I don't know how much, I'm not that deep into scripting, but it's a big work.
You might look at the master script list for ABS or on-map-battlesystems, there are a few available (I think one is named saphire, another is from Mog but I don't know how it's called and a few more). However those are action-systems, they don't have a battle map but operate similiar to Diablo, Torchlight or other Action-RPGs.
I don'tknow of a single battlesystem that uses screens and still keeps the map running parallel...
Yeah, I figured it would be a lot of work, but I thought I would test the waters. Unfortunately, this gimmick is pretty required for my game design, so this might take rpg maker out of the running for prototyping the idea I have. Ah well, it was worth a shot! Thanks!
You can always event your own battle system.
Thanks for replying Celianna, could you expound on that a bit? What would be involved in doing that?
Let me detail my intentions a bit as well:
I've made all battle encounter events invisible on the tilemap, and am using a minimap script I found that displays them as dots. I want the encounters still moving on the minimap - so that if they run into the player, monster(s) are added into the running battle. I want to make an extremely fast battle system (in terms of animations, moves being short, etc), and although it will be completely turn-based, these battles will be difficult. To avoid getting completely swarmed, you'll have to be quick and decisive, and this should add an intensity/urgency to the battles (instead of the perception of annoyance regarding random battles).
I would just script the encounters and encounter minimap separately, but I want the encounter events to have the same/similar movement restrictions to the player, so I made them actual roaming events on the map.
I hope this makes things a little clearer, and I appreciate any help.
Thanks!
the biggest problem isn't the display - that could be solved by careful layering of pictures and screens as you suggested.
The main problem is making the battle turns during map movement - an evented battlesystem might display battlers by calling the picture command, but it would still be limited to evented fighting. This basically means that you cannot use the predefined engine (that would require scripting in a lot of changes), but need to do everything by events (including all battle skills available to the player and the enemies).
So the first step for you is to forget about the display and decide what kind of battlesystem you would like to event if you go that way - you'll need to be able to call all battle commands from the choice options of events if you go that way, so how many skills should your player have and what should they do? Most of those skills probably need a common event to define their results, so don't try to start with more than five or six skills. You can add more after the basic system works...
If you want to have everything in your world running in the background, take a look at how RPG Maker handles it's parallel process events, maybe you could find something there. I don't write scripts, so I wouldn't really know much about the subject. Have you tried requesting one?