Constant Party Name

Creative Ed

Veteran
Veteran
Joined
Sep 16, 2013
Messages
318
Reaction score
331
First Language
Portuguese
Primarily Uses
RMMV
Hello guys, I've been looking for this and can't seem to find a script for it.

What I'm looking for is a script that enables the player to write a name for the party, like you do for characters, and from that point on everything that displays "Actor 1's party" would display "Custom name".

This being accomplished by a script call.

On an extensive request (not necessary if you're not really interested in working that much for this), it would be great if the party's name could be shown on the menu, and if at the write name scene, the player could choose "generate", which would bring up a generic name from a name list on the script itself, for those lazy ones that don't care for naming their party.

Any help is greatly appreciated, thanks! :)
 
Last edited by a moderator:
Joined
Apr 17, 2013
Messages
283
Reaction score
5
First Language
English
Primarily Uses
What I would do is create an actor that would hold the name of the party.

So when you're naming the party, you're naming an actor that will hold onto that name.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
If you need a custom scene you'll have to provide mock-ups on how you want it to look, and how it should be accessed, etc.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
What menus are you using for where you want the party name to display? Can you provide links if you've got anything other than RTP?

The default scripts currently just display Actor 1's name if there's only one actor. It only displays x's Party if there's more than one party member. Do you still want it to do that?

You could do it without much scripting work ...

Show Choices: Enter Name, Generate NameWhen [Enter Name] Name Input Processing: <unused actor slot>When [Generate Name] Script: $game_actors[<unused actor slot id>].name = ["Generic1","Generic2","Generic3","Generic4"].sampleBranch EndThe list could go over several lines - just make sure there's a comma at the end of each line so it doesn't crash.Then add this script to use the name in the menus:

class Game_Party < Game_Unit def name return "" if battle_members.size == 0 return leader.name if battle_members.size == 1 return sprintf(Vocab::partyName, $game_actors[<unused actor slot id>].name) endendAnd of course you'd replace all instances of <unused actor slot id> with the actual number.Then all you'd have to worry about is putting it into the menu, if it's not there already. That might require a bit of redesign depending on where you want it to go and how much space is available.
 

Creative Ed

Veteran
Veteran
Joined
Sep 16, 2013
Messages
318
Reaction score
331
First Language
Portuguese
Primarily Uses
RMMV
What I would do is create an actor that would hold the name of the party.

So when you're naming the party, you're naming an actor that will hold onto that name.
For some reason I thought the party's name would be the 1st member on the party and not the 1st member on the database, that's much better then :)

@Shaz - That's working wonderfully actually! The only problem, is that I'd rather have the "generic name" at the name input scene. So you'd choose that and it would show a generic name there, but you could keep pressing it until you would've found one you liked, and then choose ok:

As advised by Tsukihime, here is a mockup:



As for the name in the menu, the portion of the script you made didn't seem to work, but I've been thinking and maybe it's best not to put that, since I'm at the early stages of development, and I decided to add a custom one, so I'll mind about that later.

Thanks!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
By default, the scripts use the party leader's name. The mod I gave you is to make it use a specific actor's name, even if they're not in the party. What I gave you should have no effect on the menu (it will not put the party name on the menu - that's why I said you'd need to do some redesigning & provide links to custom scripts if you're using them).
 

Creative Ed

Veteran
Veteran
Joined
Sep 16, 2013
Messages
318
Reaction score
331
First Language
Portuguese
Primarily Uses
RMMV
Oh, that's why it worked so well :)

Nevermind the menu then, for now I'm using the default one, but I'm currently experimenting other ones. The input name scene will be the same though. Do you think you can make a mod for the "generate" button?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
It might be a bit tricky having multiple input windows, or even the Generate button in the same window as the letters as it's much larger, but both could still be done with a bit of inventiveness.


Unfortunately, we're going on vacation tomorrow, and I'm spending today packing and taking care of stuff at home before we leave, so no sure how much time I'd have to spend on it. Hopefully someone else can take care of it for you - if I have some time later and it's not done I'll take a stab at it :)
 

Creative Ed

Veteran
Veteran
Joined
Sep 16, 2013
Messages
318
Reaction score
331
First Language
Portuguese
Primarily Uses
RMMV
Hm, it doesn't need to be a separate window really, it can be a substituted not useful character like the ";" character saying "GEN" or something.

It's ok, if you don't have time, don't mind with this. Have a good vacation :)

As for the script, is there anyone else who could help me with this?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
okay, that makes it easier, and faster :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top