I just recently started using Ren'Py so please understand if I don't understand the basics of it.
In my visual novel, new characters will be showing up as the story goes along. In real life, you wouldn't know a new person's name by looking at them and that's the idea I want to implement into my VN. I'm looking for a way to have something like "???" for the character's name until they introduce themselves to the main character, and then from that point on, instead of "???" it would be the character's name.
It would be very helpful to doing my visual novel considering it's a crucial part of the game.
A way to "introduce" new characters
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Newbie
- Posts: 14
- Joined: Mon Jun 18, 2018 9:15 pm
- Contact:
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: A way to "introduce" new characters
Are you using side images? Because if you aren't, I'd suggest just naming a character "???" and using them before introducing the actual name of the character
Code: Select all
define bob = Character('Bob')
define bill = Character('Bill')
define nobody = Character('???')
define sarah = Character('Sarah')
label start:
bob "Hi, I'm Bob."
nobody "Hello Bob."
bob "Uh, who are you?"
bill "Oh, sorry Bob. My name is Bill."
nobody "Oh, so you're Bill. Nice to meet you!"
bob "Bill, I'd like tou to meet Sarah."
sarah "Its a pleasure to meet you, Bill."
return
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: A way to "introduce" new characters
A longer but flexible alternative to that.
Code: Select all
default girlname="???"
define girl = Character("[girlname]")
label start:
girl "Hey you wait!"
$ girlname="Blonde Girl"
"A blonde girl approach"
girl "Aren't you GAS, the uncanny and awesome genius?"
girl "I'm Lilith, nice to meet you."
$ girlname="Lilith"
girl "... I'm there to bring you to the worst part of love."
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
-
- Newbie
- Posts: 14
- Joined: Mon Jun 18, 2018 9:15 pm
- Contact:
Re: A way to "introduce" new characters
Oh thank you so much, this really helped me so much and it works exactly as I wanted it to!
- XxrenxX
- Veteran
- Posts: 267
- Joined: Tue Oct 02, 2012 2:40 am
- Projects: Chasing
- Deviantart: bara-ettie
- Location: Canada
- Contact:
Re: A way to "introduce" new characters
I know this resolved but adding for anyone that may plan for voices to be integrated.
In my own, and I completely realize this can be tedious, I have defined 2 separate tags for a character. One for when the character ins't known, and another for when they are.
Ignore the rest if you don't plan to use voice tags
Code: Select all
define dad = Character('Dad', color="#ac0000", voice_tag="Dad")
define da2 = Character('???', color="#ac0000", voice_tag="Dad")
Ignore the rest if you don't plan to use voice tags
Code: Select all
screen preferences:
tag menu
modal True
imagemap:
ground "GUI/Pref/Options_Ground.png"
hover "GUI/Pref/Options_Hover.png"
selected_idle "GUI/Pref/Options_SIdle.png"
#Voice Toggle
hotspot (489,322,31,25) action ToggleVoiceMute("Dad")
Code: Select all
voice "Dad" "03_0460.ogg"
dad "\"my voice can now be muted separately from other characters.\""
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]