I'm currently working on my first game with VXA, and have implemented a small character creation event at the beginning of it which assigns a different face graphic to the main actor depending on the choice of male/female and class.
The problem I'm seeking help with is a way to display the main character's face graphic in a text box without using a large number of conditionals to check what the player has chosen.
If it helps, I have some programming knowledge, but haven't tried my hand at scripting yet.
Character Conversation Help
● ARCHIVED · READ-ONLY
-
-
The default has no text code for the face display, but there are several advanced messaging scripts available on the master script list, and this is one of the text codes most of them add. I suggest going to the MSL and checking which one you like best, the two most commonly used are the ones from Yanfly and from Modern Algebra.
-
This should be able to be done by using a type of control event. this would be an invisible event that takes place at the start of the game. You would have to do your conditional branch once and use each condition to set the face graphic to the corresponding class/gender selection. This would change the character graphics for the rest of the game, just ensure that it only runs once and then stops as you shouldnt have an uneeded event continuosly running. Use the event command: "Change Actor Graphic" under the "System Settings" section.
Edit: Actually, if you are doing this character creation with an event, you can do all of it in one. If you want i could make a sample event real quick and show you -
Thanks Andar, I'll have to check the list and have a look.
Dexter130013, I think I was probably a little unclear in my original post. My problem is having the chosen face graphic appear for all future conversations that the character would be included in. -
What i was referring to would change the character portrait for the actor permanently, i have just tried it out myself and it works.
During all of those choices which will be made, you will have to use conditionals to set the class of the actor as well, it is very easy to just throw in the actor portrait change. I am not sure how to post a picture or i would show you -
I don't know how to upload images properly on this forum but here is that best of what i could do.
Using the event command in this picture: https://scontent-b-mia.xx.fbcdn.net/hphotos-xap1/t1.0-9/10373716_10203793394937344_4193421095695171349_n.jpg
You can create an event like this: https://scontent-b-mia.xx.fbcdn.net/hphotos-xap1/t1.0-9/10441248_10203793394777340_2150133354931799110_n.jpg
https://scontent-b-mia.xx.fbcdn.net/hphotos-xpa1/t1.0-9/10453316_10203793394857342_6700483810031050017_n.jpg
I have tested it out myself, and it works. I encourage you to make something similar to test it first. But i personally have done it and it works just fine. I don't think you should resort to scripting, especially not for something like this unless it is a lot more complex than i understand.
Anyway, i hope this helps, i'm going to check back in the morning to see if this helped you. -
dexter130013, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.
And the OP wasn't asking how to change the face on the actor (he already got that correct), he was asking how to change the face on a show text command to correspond to the already changed actor face. -
Found a script that does what I want as well as a few things that I didn't realise I wanted until I saw that the script could do it. Thanks Andar for pointing me to that Master List.