Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Always "the" walking around sprite...

Eventing_Guy

Awesome Bro

I am currently using...

Party Changing System by Leon_Westbrooke
-v 1.2

and I have about 6-7 main characters that I will use in my game.

However, whenever I switch 1st party members it also changes the Main walking around sprite...

Im not sure If I would need a seperate script or if it's possible to event it, but I was wondering if anyone knew how I could make it so only a certain character will show even if they are not in the 4 battling characters.


(I hope Im making sence)

*also sorry If this isn't posted in the right place, still trying to figure it all out.*
 

Eventing_Guy

Awesome Bro

OK, well since I don't think anyone can't edit the script for me...

Would this be possible to event?

make it so a specific character sprite is the "Sarah" character sheet,
but without changing the 1st sprite in the menu.

(since I have a party switcher)
 
[rgss]class Game_Player
  def refresh
    # Get character name and hue
    @character_name = 'name_here'
    @character_hue = 0
    # Initialize opacity level and blending method
    @opacity = 255
    @blend_type = 0
  end
end
[/rgss]

This would be the absolute simplest way, I think. There might be a more correct/functional way, or it might conflict with your scripts, but...
Just change 'name_here' to the image name. For example, @character_name = '001-Fighter01'
 

Star

Sponsor

Did you change @character_name = "To the filename of the sprite you want your Player to have throughout the whole game?"

Otherwise through events it's just as simple as set move route/ player/ change graphic
 
Place BwdYeti's code in a new page bellow the Party Changing script
and above main.
I'm using the a similar code in my game- it works.
Unless you're using VX.. not sure if it'll work there.
 

Eventing_Guy

Awesome Bro

This is exactly what I was asking for THANK YOU BwdYeti

and thank you silver wind for telling me to make a new page...

I know nothing about scripting, with the exception of placing them. :biggrin:



1 more thing... The main character sometimes changes clothes...
how would I go about changing '001-Fighter01' to '001-Fighter02' for example
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top