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.

Change battler graphic with equipment

I've searched and tried events and script tutorials here, but I just couldn't seem to get this to work for me.

All I'm looking for is a way to change the Battler Graphic when an actor has a certain and/or multiple pieces of equipment equipped.
I know very little about scripting so I'm just looking for a little guidance. If anybody can help me with this it would be greatly appreciated.
 

e

Sponsor

This would potentially be a very complex thing (or not at all, I suppose, depending on the pieces of equipment). The thing is, your battler is a little graphic, a .png most likely. You want to add other .pngs on top of it, in a layer fashion, in certain key places. The trick is to define those key places (upper-left corners of those areas I suppose) and, depending on the equipment, add certain items' pictures there.

You'd have to have "empty" battlers, I guess, for this to work; that is, battlers with no equipment at all. Then, say you equip a new sword, you paint the sword's icon at the coordinate of the battler's hand. You'd have to make sure all battlers that will be changed thus would have certain standards (unless you do a per-battler thing), and then define those spots such that you know what the coordinates of said battler's hand, head, shield arm, armor, etc., are.

Once you've got those, it's simply a matter of finding the relative coordinates for the item, since I assume not every item will have the same size.

Now, this forum is for people looking for RGSS/RGSS2 support, in the sense that they will script what they want, with the help of others. If this is a script request, I urge you to post it in the Script Analysis forum, in the Script Request sub-forum.
 
If you just want to switch to a different battler though (which would be another way to do what etheon said, since you can create all the different combos XD)
it's fairly simple. Probably even possible with just events
 

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