Sprite script (Animated if possible) to replace facesets: SOLVED

Must be compatible with: YEA party system & Yami guardian menu http://yanflychannel.wordpress.com/rmvxa/core-scripts/party-system/

                                                                                                         http://forums.rpgmakerweb.com/index.php?/topic/240-yse-guardian-menu/

Hi!

I would like a simple script to replace the facesets in menu's to actor sprites. If they could be animated walking in 4 directions, slowly, starting with down that would be great but is not needed as long as a sprite is produced id be happy 🙂

Thanks!
Well I don't have the animated solution, but for drawing the actor sprite instead of the faceset in the down-direction, it's under Window_MenuStatus, comment out draw_actor_face and replace it with

draw_character(actor.character_name, actor.character_index, rect.x + 48, rect.y + 64)Then in Window_Status you replace the same thing with

draw_actor_graphic(@actor, 64, y + 64)To whoever can help with an animated version, this will help I guess.
If it must be compatible with other scripts, then please be kind enough to provide links to those other scripts. If you want someone to help you, take the load off them and don't make them search around for it.
@kerbonklinthanks i will try it out Update: yes it works, and no it doesn't. It changes to sprites for the menu and status but not equip, guardian, formation, etc.. But thank you very much looking at what you did has got me to tinkering 🙂

@ shaz np done

Update: still lookin for a solution to this problem it essentially needs to call a sprite instead of a face whenever the game requests it, check op for more details.
Bump*

If i can just get the sprite to appear in the skill menu im set 🙂

this is the line i think i need to change in window_skillstatus:

 #--------------------------------------------------------------------------

  # * Refresh

  #--------------------------------------------------------------------------

  def refresh

    contents.clear

    return unless @actor

    draw_actor_face(@actor, 0, 0)

    draw_actor_simple_status(@actor, 108, line_height / 2)

  end

end

 

but i have no idea what to change i tried draw actor graphic but it didnt seem to work....
 
Code:
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    contents.clear
    return unless @actor
    draw_actor_graphic(@actor, 0, 0)
    draw_actor_simple_status(@actor, 108, line_height / 2)
  end
end

 

This should do it, unless there is another method that draw the face as well.

 

 

Here you go this is a mod to my Awesome Options script. It should replace all of them.


Code:
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>#
#                                                                              #
#                           V's Simple Face Replace                            #
#                                 Version  0.1                                 #
#                                                                              #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#                                Written By:  V                                #
#                        Last Edited: September 6, 2013                        #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#                                                                              #
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>#
 
 
#==============================================================================#
#------------------------------------------------------------------------------#
# ** Disclaimer                                                                #
#------------------------------------------------------------------------------#
#                                                                              #
# This script was intended for Non-commercial use only, if you wish to use     #
# this script in a commercial game please PM me at which ever site you found   #
# this script. Either way please give me credit in your game script as the     #
# writer of this script, and send me a PM abuot the release of the game/demo.  #
#                                                                              #
#------------------------------------------------------------------------------#
# ** How To Use                                                                #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#                                                                              #
# * This script is pretty much plug-and-play. You can adjust the x and y's.    #
#                                                                              #
#------------------------------------------------------------------------------#
# ** Description                                                               #
#------------------------------------------------------------------------------#
#                                                                              #
#  v0.1                                                                        #
# ~=~=~=~                                                                      #
#  * This script allows you to replace all of the faces in the game with the   #
# actors graphics instead.                                                     #
#                                                                              #
#------------------------------------------------------------------------------#
#==============================================================================#
module V_Simple_Face_Replace
  module Specs
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>#
#                                                                              #
#                           Start Customizable Area.                           #
#                                                                              #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#                                                                              #
#                      ONLY EDIT AFTER THE EQUALS SYMBOL.                      #
#                                                                              #
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>#
   
    
  #============================================================================
  #  Menu Command Options
  #============================================================================
    
    Actor_Graphic_x = 50
    Actor_Graphic_y = 50
    
    
    
    
    
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>#
#                                                                              #
#        DO NOT EDIT PASSED THIS POINT UNLESS YOU KNOW WHAT YOUR DOING.        #
#                                                                              #
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>#





























 
end
end
class Window_Base < Window
  include V_Simple_Face_Replace::Specs
  def draw_actor_face(actor, x, y, enabled = true)
    draw_actor_graphic(actor, x + Actor_Graphic_x, y + Actor_Graphic_y)
  end
end
** Sorry accidental double post.
nope, and i've actually tried that before i thought it would produce the sprite, but alas no....

If anyone else has got any ideas im stumped 🙁

even tried it on a virgin project still notta...
Yes it does I just tested it with the others. Did you put my script at the top? unless you mean the thumbs that is different then the faces, If that's the case, I would just leave the faces blank. and use this script. Here's a screenshot of it working.

Spoiler
i put the script in at the top but what i forgot to do was revert window_skillstatus to its normal setting 🙁 doh! sorry for the confusion and trouble... SO yes it works thank you very much solves lots of issues   🤘   🤣   🤘

Mods go ahead and close im happy with this script
Your welcome. 😀

Original thread: https://forums.rpgmakerweb.com/threads/sprite-script-animated-if-possible-to-replace-facesets-solved.17596/