lavalord96 0 Posted October 3, 2020 Alright I've used this forum to help me fix a glitch once, so I hope this will work again. So here is the problem, I have been making my game and I have just completed the alpha version for it and am now working on it's second part of the story. I have ran into a fairly annoying glitch where one of my actors doesn't have their face displayed in the in-game menu, I should also note, its JUST for this one specific actor (her name is Solar) I have replaced Solar with other actors and their faces shown up just fine, I'm not sure if this has to do with one of my scripts that I've installed, or just as simple as not making the actor face sheet the correct dimensions. It's not game breaking, but it certainly is annoying to deal with! Here is a picture of my issue (Funnily enough, her sprite is working for some reason...) I have also included my event that effects this situation. I can't seem to find this problem any where else, and yes, I am using ONLY Yanfly scripts for the aspects of the game, I have two other scripts that specifically effect the title ONLY. Share this post Link to post Share on other sites
Rikifive 3,411 Posted October 3, 2020 Kinda hard to tell from provided information; The event doesn't seem to have anything to do with this and I suppose you didn't toy with the menu code, so that leaves that basic question to start with - Are you sure Solar's face is correctly set in the [Actor Tab] in the Database? Does the face show properly in the [Graphic] setting there? If yes, what scripts exactly you're using? Share this post Link to post Share on other sites
lavalord96 0 Posted October 3, 2020 Okay, so I do have Solar's face set for her character, and I have also attached a picture of all of the scripts that I am using. Share this post Link to post Share on other sites
lavalord96 0 Posted October 3, 2020 I should mention that this problem ONLY happens with Solar, all the other characters work just fine. Share this post Link to post Share on other sites
Rikifive 3,411 Posted October 4, 2020 That's interesting.. I'm afraid I can't really tell anything without seeing the code. Try hitting CTRL+SHIFT+F in the script editor and search for draw_actor_face and show the results. Then also search for draw_face If any script is having anything to do with this, it might pinpoint which one is doing that. Eventually you can check things yourself by removing custom scripts to see if anything changes. If adding a particular script causes that, then it would be much easier to locate the problem. Share this post Link to post Share on other sites
lavalord96 0 Posted October 4, 2020 Alright, I looked in each script, and I found two scripts that had something to do with drawing the faces; they are the "Yanfly Party System" and the "Yanfly Battle System" here are the pictures I took. Share this post Link to post Share on other sites
Rikifive 3,411 Posted October 4, 2020 Hmm... now search for class Window_MenuStatus that will tell more Share this post Link to post Share on other sites
lavalord96 0 Posted October 4, 2020 (edited) I can't seem to find it. I even checked all the other addon scripts just to be sure. Edited October 4, 2020 by lavalord96 Share this post Link to post Share on other sites
Rikifive 3,411 Posted October 4, 2020 Huh? Really? Not even in the default script? Share this post Link to post Share on other sites
lavalord96 0 Posted October 4, 2020 lemme check the default scripts Share this post Link to post Share on other sites
lavalord96 0 Posted October 4, 2020 (edited) Alright I found it, here it is (I'm dumb): #============================================================================== # ** Window_MenuStatus #------------------------------------------------------------------------------ # This window displays party member status on the menu screen. #============================================================================== class Window_MenuStatus < Window_Selectable #-------------------------------------------------------------------------- # * Public Instance Variables #-------------------------------------------------------------------------- attr_reader :pending_index # Pending position (for formation) #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize(x, y) super(x, y, window_width, window_height) @pending_index = -1 refresh end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width Graphics.width - 160 end #-------------------------------------------------------------------------- # * Get Window Height #-------------------------------------------------------------------------- def window_height Graphics.height end #-------------------------------------------------------------------------- # * Get Number of Items #-------------------------------------------------------------------------- def item_max $game_party.members.size end #-------------------------------------------------------------------------- # * Get Item Height #-------------------------------------------------------------------------- def item_height (height - standard_padding * 2) / 4 end #-------------------------------------------------------------------------- # * Draw Item #-------------------------------------------------------------------------- def draw_item(index) actor = $game_party.members[index] enabled = $game_party.battle_members.include?(actor) rect = item_rect(index) draw_item_background(index) draw_actor_face(actor, rect.x + 1, rect.y + 1, enabled) draw_actor_simple_status(actor, rect.x + 108, rect.y + line_height / 2) end #-------------------------------------------------------------------------- # * Draw Background for Item #-------------------------------------------------------------------------- def draw_item_background(index) if index == @pending_index contents.fill_rect(item_rect(index), pending_color) end end #-------------------------------------------------------------------------- # * Processing When OK Button Is Pressed #-------------------------------------------------------------------------- def process_ok super $game_party.menu_actor = $game_party.members[index] end #-------------------------------------------------------------------------- # * Restore Previous Selection Position #-------------------------------------------------------------------------- def select_last select($game_party.menu_actor.index || 0) end #-------------------------------------------------------------------------- # * Set Pending Position (for Formation) #-------------------------------------------------------------------------- def pending_index=(index) last_pending_index = @pending_index @pending_index = index redraw_item(@pending_index) redraw_item(last_pending_index) end end Edited October 4, 2020 by lavalord96 Share this post Link to post Share on other sites
roninator2 257 Posted October 5, 2020 There should not be any problem with the scripts as it only affects one actor. Unless you have programmed somewhere if actor.id == 1 then do not draw_face. Which would be very weird. Try copying the actor to a blank spot in the editor (below your other actors - increase maximum) and screen shot of your actor page would be nice (the one with the issue) Share this post Link to post Share on other sites
lavalord96 0 Posted October 6, 2020 Hey thanks roninator! It works now! Also thank you Rikifive for also trying to help! Here is what it looks like! Share this post Link to post Share on other sites
Rikifive 3,411 Posted October 6, 2020 Well that is a valid workaround, so if it works for you then that's good. I'm still curious what is causing the issue in the 7th slot, but it's harder to work remotely and keep asking for things. Anyway, it doesn't matter now i suppose. Share this post Link to post Share on other sites
lavalord96 0 Posted October 6, 2020 Well I mean, it wasn't just the seventh slot, I actually tried copy and pasting her data in some of the other open slots, but it didn't seem to work at first Share this post Link to post Share on other sites