(rpg maker VX ace) Player chooses name and NPC says name

● ARCHIVED · READ-ONLY
Started by Thalldor 14 posts View original ↗
  1. -To moderators-

    (I'm unsure if this is a script or not as I have no idea, if so please excuse this and I'll / you'll put this in the right area!)

    All right, I have searched for this for a bit now and all I got was how to change the actors name, although what I'm wondering is if the player can choose the name so it'll be his choice on the matter, -example: (I start up the game in play test and it'll ask me what do you want your character's name to be and I'll write fishsticks being the characters name for the rest of the game.)

    As well, on a lower priority is it possible for NPCs to say a players name? -example: (-Npc- "Oh! Hey Fishsticks! How is the weather today?")

    Sorry if I left out detail or important information, just tell me if I left out something and I'll get right back with you!
  2. Name selection.png

    "Event Commands" tab 1 > "Show Text"

    has an NPC asking you to choose a name.

    "Event Commands" tab 3 > "Name Input Processing"

    allows the player to put the name of their choice. You can pick how many letters in the name.

    "Event Commands" tab 1 > "Show Text"

    you type in \N[x] (with x being the number of the character) where you want the name to appear. It will be replaced with whatever name they chose.
  3. Cadh20000 has it right, you can do it without scripts.

    Also, next time you're doing a show text event hover your mouse over the box you type dialog into for a second, a small window should show up with a list of useful commands, including the use actor name one Cadh mentioned.
  4. Why bother using a script just to let the player choose a name to go by when it can be done with a single event command? What else does it do that would make the script preferable?
  5. There's no need at all to use scripts for this. Event commands handle the OP's needs perfectly. It's preferable that we DON'T encourage people to use scripts unless they NEED to - especially when they're just getting started with RPG Maker. Much better to find out what the engine is already capable of without resorting to scripts, and then head that way when you're familiar with what you can do without them and KNOW you need them because there's no other way :)
  6. Go to name input and put the "1" where the actor name is \N[1] example actor 1 (Ralph) actor 2 (Urika) so it would be \N[2] Urika. :)
  7. Sorry about that. I got so use to having yanfly's scripts in my projects I forgot that that line is part of the default program X3
  8. Cadh20000 said:
    Name selection.png

    "Event Commands" tab 1 > "Show Text"

    has an NPC asking you to choose a name.

    "Event Commands" tab 3 > "Name Input Processing"

    allows the player to put the name of their choice. You can pick how many letters in the name.

    "Event Commands" tab 1 > "Show Text"

    you type in \N[x] (with x being the number of the character) where you want the name to appear. It will be replaced with whatever name they chose.

    Worked like a charm! Thanks! Although is there a way to change all of the actors names when the player choose the name, because my current plan is the player is going to choose their class giving them a better appearence, Although through this it seems their name will vanish when the actor is changed. (Changing actor because of appearence and class unless there is a better way to do that.)
  9. Could you just have them choose their name last? After they have selected class? That way you can just pick the correct actor number for the class they select.

    Edit: I wanted to add that you will probably want to save whatever actor they choose as a variable, so that NPCs down the road can call up the variable in order to know what actor they selected at the start of the game.  I know this stumped me the first time I tried to make a character selection intro.  This allows you to do things like ok they selected actor 4, but how does that NPC you want to greet them know they chose actor 4? Because you use the command \N[\V[1]] where variable 1 is set to be equal to the actor number they chose.

    Edit 2: Shaz's way sounds wayyy easier, so go with that.  Always learning.
  10. Sounds like you have half a dozen actors set up when you really only need one. Just use one actor, then use the Change Class and Change Actor Graphic commands to make them act and look the way they should depending on the player's choice. Otherwise you're going to continually run into problems with "I don't know which actor they're using, so I have to test for all of them", just like you've done here.
  11. Yea, I think you're right, I saw that after I made that post and it crossed my mind about that, I'll need to look into that...
  12. Is there a way for the player to choose gender, class, and Character? Thanks
  13. Fanatic said:
    Is there a way for the player to choose gender, class, and Character? Thanks



    Fanatic: You should probably start a new post for your own question, that way more people will see it and you won't be using someone else's post. But to answer your question, yes there is a way to have player pick gender, class, and character. Through events, it gets really tricky and takes a lot of unnecessary events/conditions. You would probably be better off looking for help in the Scripts section of the forum.