Main Menu
  • Welcome to The RPG Maker Resource Kit.

I was wondering.

Started by Mistrust, April 06, 2007, 10:36:17 PM

0 Members and 1 Guest are viewing this topic.

Mistrust

Is there a script to reduce the characters you take into battle like 4 to 3 and a arena script?


Shibuya

Quote from: Mistrust on April 06, 2007, 10:36:17 PM
Is there a script to reduce the characters you take into battle like 4 to 3 and a arena script?

What do you mean? Explain better.
Dude do you break dance?

Mistrust

a script where your party is 3 members not 4 and a arena where you battle monster and get money and items.

modern algebra

do you want the fourth char to still be in menu?

Mistrust


Zan

Okay, in line 110 of the Game_Party script, I found this:

if @actors.size < 4 and not @actors.include?(actor)
You could try changing "4" to "3".  Looking at the script, it seems like that should work.
Or, if you want to be able to change it at will, change "4" to something like "$MAX_ACTORS_IN_PARTY_W" (just makin sure it's not already a variable.  That's the reason for the long name).  Then, in the first scene on your first map(literally the very first thing that happens), use a Call Script command and type this:
$MAX_ACTORS_IN_PARTY_W = 4
That should set the max party size to default.  Then, whenever you wanted to change it use a script call with the same syntax, but change the "4" to "3".  Also, you'll probably have to remove the last party member through an event, but once he's gone, he won't be able to come back until you change that global variable back to 4.
(Uh, none of this is actually tested, I'm just going based off what makes sense to me.  Hope it works.)
I'm a pacifist...
And things get very peaceful when all of your enemies are dead.

Mistrust


Shibuya

Quote from: Mistrust on April 07, 2007, 06:46:11 AM
a script where your party is 3 members not 4 and a arena where you battle monster and get money and items.

Arena as in like a FIGHTING game? Or you walk around fighting?
Dude do you break dance?

AiR

If you're looking for a battle arena similar to the old Dragon Warrior games (Where the party, or single members, enter a fight and battle it out in normal mode fights) the easiest way to do it would be through events.  What you would do is create the map that will be the arena.  Then, create an NPC with a list of choices using the "Show Choices" command.  Under each option, create a seperate "start Battle" with the conditions for each fight.

For example, if it's a single person fight, you could use a another "show Choices" option to select a character.  Then, use the "change Party" event to alter the party's make up. (Don't forget to changet he party back after the fight!)

You could easily add more choices after a battle is won by creating conditional branches and/or new event pages that open up as each fight is won.  Prizes would simply be be added by using the "change Items/change money/etc" event options.

If you're looking for a Kingdom Hearts action style battle system however, I don't think there is one on this site.
"The Optimist believes that we live in the best possible world. The Pesimist fears this to be true."

Shibuya

Quote from: AiR on April 10, 2007, 04:32:12 PM

If you're looking for a Kingdom Hearts action style battle system however, I don't think there is one on this site.

Yeah~ But I'm requesting one!
Dude do you break dance?

Mistrust

yea thats what i was looking for i didnt think it could be done in events thats alot