Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Is there any script to allow the player to name the character him/herself?
« previous next »
  • Print
Pages: [1]

Author Topic: Is there any script to allow the player to name the character him/herself?  (Read 5282 times)

Offline Doomsdaylee

  • Member
  • Initiate
  • *
  • Posts: 21
Is there any script to allow the player to name the character him/herself?
« on: January 12, 2009, 02:32:06 PM »
I've searched the forums, and I can't find any.
Logged

Offline Red Giant

  • Leader
  • *
  • Posts: 2,608
  • The best damn bio in the whole damn world. YEAH!!
Re: Is there any script to allow the player to name the character him/herself?
« Reply #1 on: January 12, 2009, 03:51:51 PM »
No need for a tutorial, Assuming you're using rm2k or rm2k3, look for the even command "Enter Hero Name."

This has been known to function incorrectly in older versions of the rpg maker, so you might wanna search for a patch if it doesn't work right.
Logged

Offline Doomsdaylee

  • Member
  • Initiate
  • *
  • Posts: 21
Re: Is there any script to allow the player to name the character him/herself?
« Reply #2 on: January 12, 2009, 04:33:33 PM »
Now I feel retarded. Thanks
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: Is there any script to allow the player to name the character him/herself?
« Reply #3 on: January 12, 2009, 08:01:12 PM »
Dont you have to set the name to a variable for it to work properly? Ive never even used the command to know how it works.lol
Logged

Offline Red Giant

  • Leader
  • *
  • Posts: 2,608
  • The best damn bio in the whole damn world. YEAH!!
Re: Is there any script to allow the player to name the character him/herself?
« Reply #4 on: January 12, 2009, 09:47:57 PM »
Quote from: gemini on January 12, 2009, 08:01:12 PM
Dont you have to set the name to a variable for it to work properly? Ive never even used the command to know how it works.lol
Nope. The game handles the data itself, all you need to do is choose which hero you're renaming.
Logged

Offline fruckert

  • Star-Star-Star-Star
  • Sage
  • *
  • Posts: 8,148
  • Not intended for public consumption
Re: Is there any script to allow the player to name the character him/herself?
« Reply #5 on: January 13, 2009, 02:59:32 AM »
Too bad GM doesn't work out all that nicely
Logged
Quote
Ellie: I had a slice of ham in my hand. I was going to drop it, so I slapped it hard. It attached itself to the wall

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: Is there any script to allow the player to name the character him/herself?
« Reply #6 on: January 13, 2009, 08:02:09 AM »
But where is the name stored...like, is there a variable you call to use it in text?
Ive always been enough of a nazi with my projects not to let the player choose his name...mostly out of ignorance. Back in 2003, when i first tired the maker, I had heard the feature didnt work right, so i just kind of phased it out of my mind.lol. Im kind of curious.
Logged

Offline Red Giant

  • Leader
  • *
  • Posts: 2,608
  • The best damn bio in the whole damn world. YEAH!!
Re: Is there any script to allow the player to name the character him/herself?
« Reply #7 on: January 13, 2009, 04:32:12 PM »
Quote from: gemini on January 13, 2009, 08:02:09 AM
But where is the name stored...like, is there a variable you call to use it in text?
Well in the same way that the game stores each character's attack, defense etc. It's not listed with variable variables but yeah, there's one piece of data per character that is their name.

You can use names in event conditions, but nothing more advanced than "If name =*** do this". Which can actually be quite spiffy for like, password systems and junk.
Logged

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
Re: Is there any script to allow the player to name the character him/herself?
« Reply #8 on: January 23, 2009, 12:17:35 AM »
Quote from: gemini on January 13, 2009, 08:02:09 AM
But where is the name stored...like, is there a variable you call to use it in text?
Ive always been enough of a nazi with my projects not to let the player choose his name...mostly out of ignorance. Back in 2003, when i first tired the maker, I had heard the feature didnt work right, so i just kind of phased it out of my mind.lol. Im kind of curious.

\n[XX]  X being the actor id.  Put it in the message and it appears.  it might be the other slash though.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Is there any script to allow the player to name the character him/herself?
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum