Need help with options for textbox face graphics.

● ARCHIVED · READ-ONLY
Started by kogunenjou 8 posts View original ↗
  1. I have two selectable main characters. I've worked out all the issues with that with the exception of face graphics in textboxes. Creating two event pages and using a switch to activate the male character or female character's face graphic for every conversation is the only way I can think of to alternate between the two characters, but that seems rather messy. Is there an easier way, perhaps a script, to deal with this?
  2. kogunenjou said:
    I have two selectable main characters. I've worked out all the issues with that with the exception of face graphics in textboxes. Creating two event pages and using a switch to activate the male character or female character's face graphic for every conversation is the only way I can think of to alternate between the two characters, but that seems rather messy. Is there an easier way, perhaps a script, to deal with this?
    What engine are you using?
  3. Since he posted in VX Ace support and his profile says he's using VX Ace, I think we're safe to assume he's using Ace ;)

    Have ONE actor, not two. When the player selects the gender and whatever else needs to be changed, use the Change Actor Name / Change Actor Graphics / Change Actor Class ... whatever else commands to customize that one actor as necessary.

    Then use this script to show the face of the actor:

    Code:
    class Window_Base < Window  alias shaz_ffa_convert_escape_characters convert_escape_characters  def convert_escape_characters(text)    result = shaz_ffa_convert_escape_characters(text)    result.gsub!(/\eF\[(\d+)\]/i) {      $game_message.face_name = $game_actors[$1.to_i].face_name      $game_message.face_index = $game_actors[$1.to_i].face_index      ''    }    result  endend
    and put \f[1] in the text box (don't choose a face at all) to make it show actor 1's face.
  4. I am unworthy of your aid, Shaz-sensei! ;_;
  5. DRS said:
    What engine are you using?
    Sorry, I thought I was in a different forum. My bad.
  6. DRS said:
    Sorry, I thought I was in a different forum. My bad.
    Hey, I appreciate the fact that you at least responded!
  7. kogunenjou said:
    Hey, I appreciate the fact that you at least responded!
    Haha, yeah that would be me procrastinating from what I was doing lol
  8. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.