Constant Party Name

● ARCHIVED · READ-ONLY
Started by Creative Ed 10 posts View original ↗
  1. 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! :)
  2. 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.
  3. 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.
  4. 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.
  5. Tatsude K. Hitori said:
    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:

    A94vN3Y.png

    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!
  6. 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).
  7. 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?
  8. 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 :)
  9. 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?
  10. okay, that makes it easier, and faster :)