sbloom85

Veteran
Veteran
Joined
Nov 28, 2014
Messages
61
Reaction score
13
First Language
English
Primarily Uses
I've been working on a project on and off for a few years and one aspect I want to implement is an invasion system. Let's say the player character and their party are away from their base and all of a sudden a group of monsters approaches. The base is still guarded and those guarding it have to fight off the baddies.

I'm thinking this might be simple enough: Call a common event to save the main party, its members and location; fade the screen to black; remove the party members; add the base defenders to the party; switch to the base's map and have an auto-run event on the map take care of the battle. Upon victory, have the auto-run event go backwards in operation back to the main party.

Would this workflow be the most viable way to do it, or is there an easier way to handle the feature?
 

Piyan Glupak

Veteran
Veteran
Joined
Nov 14, 2016
Messages
104
Reaction score
48
First Language
English
If you don't mind using a plugin, you might find Himeworks party manager worth trying:

https://himeworks.com/2016/02/party-manager-mv/

This lets you have more than one party, each with its own inventory. One party is active and the other(s) idle. The player sees the map the active party on and controls it as usual. You can switch the player between parties (make another party the active one). If the active party and another party are on the same map, the non-active party is visible but appears to be doing a stepping motion, so I sometimes use the script command the plugin gives to hide it away on another map.

A further goody is available. If you want the player to be able to swap actors between the base crew and the exploration party, Himeworks does a party switching screen that allows the player to swap actors between parties. (The party switching screen needs the Himeworks party manager.)

Although these plugins are fairly old, they work with MV version 1.6.1.
 

sbloom85

Veteran
Veteran
Joined
Nov 28, 2014
Messages
61
Reaction score
13
First Language
English
Primarily Uses
That sounds far more simplified than what I was going to do. Thanks for pointing this out.
 

Latest Threads

Latest Profile Posts

I was listening to songs by Chuck E Cheese's voice actor (Jaret Reddick from Bowling for Soup) when the meds I was taking for my stomach virus apparently stopped working. I can't take my next dose until morning, but it's no use anyway. I'm officially sick again. Of course, I'll definitely take the next dose either way, but it's useless now.
New profile picture! This time, it's representative of my current project.
I suddenly feel like making a game for little kids: a pointless sandbox of cute animals, silly collectibles, and random mini games.
Anyone else just like, not bother to make games themed around specific holidays? I know I won't get them done in time for it to make sense.
time to enter the playtest dimension

Forum statistics

Threads
115,987
Messages
1,094,671
Members
151,279
Latest member
VuThanhLong
Top