Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[XP] Party Changer

BellGoRiiing;327382":m4w2rjuj said:
EDIT: Never mind, found it...It names the file Commands Manager Output and it just lists the commands that are supposed to be in the menu.
Then the commands array is not empty. Can you PM me your Scripts.rxdata? It would be much more easier for me to find what's wrong with that.

BellGoRiiing;327382":m4w2rjuj said:
EDIT 2: Last thing, how do you disable the command "Party" until you get more than 4 characters?
look for
Code:
@command_window.add_command("Party")
(In Scene_Menu, under update) and replace this line for
Code:
@command_window.add_command("Party") if $game_party.members.size ­>= 4
 
.rxdata? Is this found in the data folder of my game?
EDIT: I'll do this by Email...it's easier to send attachments, lol.
EDIT 2: My internet is acting up and giving me errors when I try to send it to you...(hooray for dial-up!) I'll get it to you by tonight hopefully.
 
I was wondering, if we needed a Conditional Branch in our game that checked if an actor was available for switching, whether in the active party or not, what script clause could we check to see if that's true? On the last page of Conditional Branch options, there is a "Script" option. I was wondering if there was any script variable we could place in this box to make that check.
 
I see. But that only checks if either they're locked or not? I was more wondering if they were in the reserve at all, in any status, as long as they had joined the team. Would I have to rely on ordinary even switches to keep track of what actors had joined the team at any given point in the game? I'm just not sure the "Character is in Party" clause will count those actors who were only in reserve and not in the currently active party.
 
Hah! Success, lol. Hopefully its the right file too, I've sent you it via Email. I'm off for a while, I'll check back later tonight before I go to bed.
 
Oh noes, a new error has occurred. I have discovered the pest, and here it is:

When my party of two members (no reserves) was defeated in battle, I had the following error:

Script 'Party_Changer' line 546: NoMethodError occurred.
undefined method 'members_all_dead?' for #<Game_Party:0x1519cc8>

I think it may be a slight bug in a recent script version, because I recall when my party was eliminated before, it would go to Game Over (or to the Party Switch menu if I had any reserves available.)
 

smrpg

Member

How do I make it so my actor with the ID of 002 is forced and locked in the first position? That way she is always the one walking around and can't be moved.

Thanks to anyone that can help me :)
 
Wow, RMXP finally comes back up, now that the day's nearly over.

smrpg;329363 said:
How do I make it so my actor with the ID of 002 is forced and locked in the first position? That way she is always the one walking around and can't be moved.

Thanks to anyone that can help me :)

Dargor;231665 said:
Use $scene = Scene_Party.new(min_members, max_members, forced_members, locked_members)

min_members is the minimum number of actors the party must have.
max_members is the maximum number of members the party can have.
forced_members is an array containing the id of actors forced to be in the party.
locked_members is an array containing the id of actors forced to be locked in the position definedby their index in forced_members.
So use the Event Command to Call Script, and enter this script:

@scene = Scene_Party.new(1, 4, [2], [1])

The above code will call the Party Changer menu with the appropriate parameters. If you simply want to change the parameters, simply use either of these:

@battle_party_args = [1, 4,[2],[1]]
@menu_party_args = [1, 4,[2],[1]]
 
This script is cool, thanks for showing it to everyone Dargor :)

May I ask a question regarding the "Party Arranger" script?

I set the "Arrange" command right between the "Status" and "Save" command in the script (To have the "Arrange" command appear right between those two as soon as I open the menu) , when the time I open the menu the command options doesn't show the "Arrange" command until 0.5 second later, it pops up right in the middle.

I mean, from this:

Item
Skill
Equip
Status
Save
End Game

After half a second passed, to this :

Item
Skill
Equip
Status
Arrange
Save
End Game

Is there a way to make it appear straight away? If theres no way, then nevermind about it. I'll change it back to the way it was
 
I don't know if this forum update affected the PMs or not, but I wanted make sure if Dargor got my last message about the program complaining about some other error.
 
I'd like to test this out, even though I have quite some scripts in there already...
however...
SyntaxError on Line154 upon playtesting:

    for i in [EMAIL=0...@members.size]0...@members.size[/EMAIL]

That's what it says, I figured I might add the colours because that could make it more clear. Seems like somethings wrong with that line; it does look a bit weird to me, but what's wrong with it, I dunno.
 
Jeronimus":1fsnl9i8 said:
I'd like to test this out, even though I have quite some scripts in there already...
however...
SyntaxError on Line154 upon playtesting:

    for i in [EMAIL=0...@members.size]0...@members.size[/EMAIL]

That's what it says, I figured I might add the colours because that could make it more clear. Seems like somethings wrong with that line; it does look a bit weird to me, but what's wrong with it, I dunno.

What the...
Code:
    [color=blue]for[/color] i [color=blue]in[/color] [color=teal][[/color]EMAIL[color=teal]=[/color][color=maroon]0[/color][color=teal]...[/color]@members[color=teal].[/color]size[color=teal]][/color][color=maroon]0[/color][color=teal]...[/color]@members.size[color=teal][[/color][color=purple]/EMAIL][/color]
What's that? I don't understand why there's a EMAIL=0 in that line.
Anyway, thanks for the report. I'll try to fix all reported bugs ASAP.

By the way, since the changed last week, I can't post while I'm at work. So it means I won't be active between 8am and 7pm during the week. I can still take PMs so if you need anything, PM me.

Take care!
-Dargor
 
Could someone tell me what that line is supposed to be, 'cause it seems like something isn't exactly right there. Judging by Dargor's reaction it is something that makes no sense whatsoever. It's in the script in the spoiler code, though, so I didn't do it.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top