Main Menu
  • Welcome to The RPG Maker Resource Kit.

Battle Layout [RESOLVED]

Started by Rune, March 25, 2007, 02:57:26 PM

0 Members and 1 Guest are viewing this topic.

Rune

Is there a way to make your battlers appear like:
When you have one character it displays them in the middle in battle
When you have two it displays one to the left and one to the right but not far left or far right
When there's three it displays the main character in the middle and the other two on each side of them?

Thanks in advance  ;)

Also, how do you change your max party size because i'm thinking of adding in a party change script and I only want three at a time?

Thanks again ;)
Sincerely,
Your conscience.

blazinhandle

don't say i never gave you anything ;) or helped....or something....
http://www.gamebaker.com/rmxp/scripts/center-player.htm

Rune

#2
Hey! That works perfect! Thanks! :D

*adds blazinhandle to credit list*... this is a very long list now

[EDIT]
What about changing max party size then?
Anyone?
Sincerely,
Your conscience.

Irgna

Ok, go to Game_Party and scroll down till you see this line, it should be around line 110:

    if @actors.size < 4 and not @actors.include?(actor)

Change the "4" to whatever you want the max party size to be. That should fix your problem.
PROPERTY OF TEABAG!!! ALL HAIL TEABAG!!!

Rune

 :( No... the fourth character still appears in the menu and in battle
Sincerely,
Your conscience.

Irgna

#5
Ok, make sure the script I told you to change says "3" instead of "4". The only party changing script that I know of that will work is Blizzard's. Check the script database for it. Let me check to see what line you have to change to keep the player from adding more than three.

EDIT: Ok, right after the instruction crap is this bit of script:

#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# START Conficuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

# how many party members do you use
MAX_PARTY = 4
# set to true to use facesets instead of spritesets
FACESETS = true

#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# END Conficuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


Change "MAX_PARTY = 4" to "MAX_PARTY = 3"

That should solve all your problems.
PROPERTY OF TEABAG!!! ALL HAIL TEABAG!!!

Rune

Hmm... that works but when I add a fourth character they still apppear in the menu and in battle... but I can work a way round that by not adding them... just making them available for the party

Thanks Irgna ;)
Sincerely,
Your conscience.

Irgna

No problem, add [RESOLVED] to the topic name if you're satisfied.
PROPERTY OF TEABAG!!! ALL HAIL TEABAG!!!

Rune

Sincerely,
Your conscience.