I don’t know how to create a rank or title script.
I took a look at the Choice of Broadsides title script but it didn’t solve my problem.
Just want to make a title screen.
As the game goes on, the player can earn titles because of their choices.
I dont know how to create this in stats.txt scene and also add it to mygame.js folder.
Thanks to all!
Yes your right.
I’m not an English person so my English is not good enough for detailed conversations.
I’m too hasty about learning ChoiceScript because I have a limited time to make my game. But my first problem solved. Let me ask you another thing.
I’m trying to program the “name choose” system.
In the beginning of the game, I will give lots of names to the player to choose.
For example:
Choose a name
Name1
Name2
Name3
Name4
So, every name choice makes differences in the game.
The characters of the game will call the player with different names.
How can I build this thing?
I don’t know what to write to choicescript_stats.txt file.
And also mygame.js file.
If my words are not clear enough, please inform me again, then I will try to explain it again =))
Thank you =)))
Simply create the variable name then use:
*set name “Alice”
(Including the quotation marks)
As for mygame.js, open it with whatever program you’re using to edit the text files (probably notepad), and look at where it lists the scenes and stats. To add a new stat, copy the exact way it lists the stats when inserting a new one at the end of the list. The same goes for new scenes.
Thanks again, and one more question: I made it! The player can choose his/her name and the stat chart changes. But real problem is, is there any simple code to response that names. I mean like *given_name. For Example
Choose a name:
Name1
Name2
Name3
Lets say you chose Name1
And then, a character comes and says “Greetings Name1”
Whats the code to response that name? Like “Greetings *given_name”
@Mert, I think for what you’re wanting, you’d need to create multiple name variables- in mygame.js like title_1, title_2, first_name, last_name, epithet. (which could be filled in, for example, as Exalted Admiral Quizbi Forubuc White-eye).
Then you could write:
As you enter the room, the mercenaries leap up, saluting and shouting, "$!{title_2}." "$!{title_1} $!{title_2} $!{last_name}," their scarred captain says, one eyebrow raised. "We don't often see such exalted visitors in here." "Call me $!{first_name}," you say to her, sitting down wearily. "Or $!{epithet}, like everyone else does. It's going to be a long war, and there's no time for formalities between us."
which would display as
As you enter the room, the mercenaries leap up, saluting and shouting, “Admiral.”
“Exalted Admiral Forubuc,” their scarred captain says, one eyebrow raised. “We don’t often see such exalted visitors in here.”
“Call me Quizbi,” you say to her, sitting down wearily. “Or White-eye, like everyone else does. It’s going to be a long war, and there’s no time for formalities between us.”
*choice
__#Jack
____*set name 1
____A good name…
____*finish
__#Jason
____*set name 2
____A good name…
____*finish
__#Patrick
____*set name 3
____A good name…
____*finish
So, the name choose is finished.
And then a character comes, and speaks your name.
Hello $!{name}!
But the problem is, when the character says “Hello”, the other part of the sentence is like “Hello 1”