How do you names in the stats screen? I’ve seen quite a few games do it but I’m not sure how
For me, in the startup file, I just use something like:
*create first_name “”
*create surname “”
Then in the stats file:
Name: ${first_name} ${surname}
That’ll leave you with ‘Name:’ and nothing after it.
You could also use *if statements. So, something like this in the startup file:
*create first_name “”
Then in the stats file:
*if first_name = ""
Name:
*else
Name: ${first_name}
The first option would just display ‘Name:’. It really just depends on how you want to handle it.
I’ll try that out, thanks
No problem. If you want to hide relationship values for characters you’ve yet to meet as well, just create a met so and so variable.
Anyway, good luck with the project/testing things out.
I dont think you actually need the if/else
And empty variable as thus will display as blank
Personally, I have another stat that determines whether the MC’s knows the other characters, and code the stats so that the character’s name and the MC’s relationship with them only show if the MC has actually met the character. (I also code the game to mention if the character in question is dead.) For example:
*if BobLife = "Alive"
*temp title "Bob"
*stat_chart
text Bob ${title}
*if BobLife = "Dead"
*temp title "Bob (Deceased)"
*stat_chart
text Bob ${title}
In this example, the stat “Bob” records the approval score with Bob, and the stat “BobLife” determines Bob’s status in the game. Before the character meets Bob, the stat “BobLife” will be set to “Unknown”. When the character meets Bob, “BobLife” will be changed to “Alive”, and if Bob dies, “BobLife” will be changed to “Dead”. This way, the character’s relationship doesn’t show up until they meet Bob, and if Bob dies, the player can still see their relationship score with Bob, but it reminds the player that the character is dead.