Main Menu
  • Welcome to The RPG Maker Resource Kit.

Help! I cannot display hero name.

Started by scramcrew, June 11, 2009, 05:01:55 AM

0 Members and 1 Guest are viewing this topic.

scramcrew


I am using rpg xp on windows vista. AT the start of my game, i ask the player to enter a name for the hero.
Afterwards, when i use \N[001] to display the name, nothing comes out. If anyone knows how to solve this, please reply... ???

Martin W.

Quote from: scramcrew on June 11, 2009, 05:01:55 AM

I am using rpg xp on windows vista. AT the start of my game, i ask the player to enter a name for the hero.
Afterwards, when i use \N[001] to display the name, nothing comes out. If anyone knows how to solve this, please reply... ???

You need Dubealex's Advanced Messaging System or a similar script. Unfortunately, the Creation Asylum is down so I can't link you =/
Let's eat Grandpa!
Let's eat, Grandpa!

Commas save lives.

---

"Filmmusic needs to be more than just convenient." - Denny Schneidemesser

shaz

No, that's an RMXP standard function.  You don't need a messaging system for it.

Things to check - what number are you using for the actor?
Does your name input processing refer to the correct actor number, and does it allow enough characters?
You're outputting it using Show Text?

I created a 9th character in the default project, used #9 for name input processing, and I tried all of the following:
Show Text: Hello \N[9]
Show Text: Hello \N[009]
Show Text: Hello \n[9]
Show Text: Hello \n[009]

and they all worked.

Do you HAVE a custom message system installed in your scripts - if so, could that be interfering?

You say "nothing" comes out.  Does that mean you don't even get a message box?  Or do you get a message box, but it's empty?  Or does it have something in it, but just not the name?

Can you tell us what you're outputting in the Show Text command, and tell us exactly what you see when it hits that logic?
Always remember you're unique.
Just like everybody else.

scramcrew

Thanks for replying!
I used event - text
Hello, \N[001]
and it came out "Hello, "
Anyway, I do not have a messaging system.

modern algebra

Well, did you go through the naming event yet?

In any case, it is better to lose the 0s. Though it ought not to make a difference, it does for some people. \n[1] should work. Just try it. If it doesn't we'll go from there.

scramcrew

At the start of the game, i ask the player to rename actor 1, max 10 characters.
The first time i use \n[1], it works, but after that it stops working, just display a space there
:'(

scramcrew

i have tried to use slipknot's AMS and Dubealex's AMS but it still did not work.
Please help. This is very important... ???

modern algebra

Well, it doesn't make sense that \n[1] would just stop working. It doesn't stop working in either shaz's or my programs. If \n[1] works the first, \n[1] ought to work the second time. There must be something different about your project. Please upload the project and let me take a look.

shaz

do you do something anywhere else that might reset the actor name?
Always remember you're unique.
Just like everybody else.

scramcrew

#9
No...I don't think I reset the name anywhere...
Anyway,l have attached my game here...Please help me take a look and find the error?
Many Thanks!

shaz

Downloaded it, played it.  Typed in my name, and in at least two places, my name showed up in the message boxes.

Where it said \Na[\n[2]] in your event, I actually got \Na[Lotus] in the game.  I think something's wrong there.

But my name showed up twice.


Perhaps something glitchy about your RPG maker?  Dare I ask if it's the PK version?
Always remember you're unique.
Just like everybody else.

scramcrew

What's Pk version? Don't think i am using it....
Anyway, if you have no problem playing my game...I think i will delete and remake my game!
Thanks for helping me! :lol:

shaz

don't delete it.  Create a new map and make a new starting point. 

Experiment a bit - see if you can name character 1 via events, rather than getting the player to key it in.

I'm assuming you're saying it's just that second dialogue in the same event, that's supposed to display the name, but doesn't?

If you can't figure this one out, deleting and starting again isn't likely to help you, because the problem isn't with the event itself.
Always remember you're unique.
Just like everybody else.

shaz

Wait for Modern Algebra to take a look - maybe the same thing will happen with him, maybe not.  He can give you some more feedback on the event, though I didn't see anything after a quick glance that would cause the issue.
Always remember you're unique.
Just like everybody else.

scramcrew

Well, did you take a look at the events?
At the second map where there are lots of snow...
you will see " ,thanks for coming"
before the comma, the name is supposed to come out.
It happens in the next few events too.

modern algebra


shaz

On the second map, I could move around, but I couldn't see my character.

I assumed the problems were on the first map.  I'll go back and check further.

Should I be able to see a character walking around on the screen?
Always remember you're unique.
Just like everybody else.

shaz

ok - I got exactly the same as MA.  On the second page, my name showed at least three times.
Always remember you're unique.
Just like everybody else.

scramcrew

Thank you all of you for replying.
I guess there is a problem with my RPGXP...
I will try reinstalling it and tell you guys...
And about shaz's comment about the missing character, you have to press enter.
I don't know what the problem is, but you have to press enter all each time you enter the second map.
;D

scramcrew

I tried to reinstall RPGXP, but the error still persist.
if you see the first picture, the name shows.
but the 2 and 3 one does not have.
The 4 picture shows the player in combat. The name of player 1 does not appear!
What should i do now?

modern algebra

Oh, I wish you had told me that you had to press ENTER to add the character. That's the event where it is messing up.

A) That should be before the Transfer Player command in the first map or it should be parallel. You def. shouldn't make the player have to press ENTER.

B) You are initializing the actor when you add him. What that does is set him back to database stats, and database name. ALl you need to do is uncheck that box and you'll be fine.

scramcrew

Hahaha....my problem is now resolved! Many thanks to modern algebra, shaz and any others for helping me.
The name appears with no problem and the user does not have to press enter anymore! Thanks to modern algebra who told me to make it a parallel event!
Cheers!  ;D