Change Actor Graphics on Equip

Change Actor Graphics on Equip

Version: 1.0.1

By Jeneeus Guruman

​

Introduction

This script allows to change sprite and face graphics depending on the equipped weapons or armors.

Features

  • Change sprites depending on equipment.
  • Change faces depending equipment.
  • You can change the default graphics (if you don't equip anything that assigned to replace it) by Change Actor Graphic event command.

Screenshots

Spoiler
Equipping items not modified for graphic change.

[IMG]http://i1071.photobucket.com/albums/u503/eujene_ugly/Change%20Equip%20Ace/Screen1.png[/IMG]

Eric equipping Dragon Armour.

[IMG]http://i1071.photobucket.com/albums/u503/eujene_ugly/Change%20Equip%20Ace/Screen5.png[/IMG]

Using a single-sprite file..

[IMG]http://i1071.photobucket.com/albums/u503/eujene_ugly/Change%20Equip%20Ace/Screen4.png[/IMG]

Eric equipping Gigantes Sword and using Multiple (8-sprite) file.

[IMG]http://i1071.photobucket.com/albums/u503/eujene_ugly/Change%20Equip%20Ace/Screen3.png[/IMG]

[IMG]http://i1071.photobucket.com/albums/u503/eujene_ugly/Change%20Equip%20Ace/Screen2.png[/IMG]
How to Use

Just insert above main and below other scripts (including other non-defaults).

Demo

Graphic Equip Ace

Script

Graphic Equip Ace

Known Bugs

None so far.

Author's Notes

  • This script is free to use commercially or not. If commercially, you must credit me. If not, just don't claim this as your own but not crediting me is okay if you don't want to.
Awesome! I'm gonna use this with a few of the extra Generator parts floating around the forum.

This'd be perfect for certain enchanted items... like a wolf-skin belt that turns you into a werewolf! All we'd need is a werewolf sprite and face.
Waaaaah, sweet! Thanks :3
Thanks, guys.

Since it's my script in Ace and first time to place notetags, you can reply some bugs if there's any.

EDIT: Also done it in 10 hours (1st 5 by learning notetags).
I will probably be using this script once I get going on my main project. Looks and sounds epic. Might I ask how we might be able to use this with custom face/body sprites being used for the player sprite?
Updates:

  • You can change the default graphics (if you don't equip anything that assigned to replace it) by Change Actor Graphic event command.
  • Reuploaded the demo.
  • Placed the script directly in the post.

I will probably be using this script once I get going on my main project. Looks and sounds epic. Might I ask how we might be able to use this with custom face/body sprites being used for the player sprite?


Code:
# How to use:
#
#	 To use this, you need to put the following notetags:
#
#	 To change sprites:
#
#	 <ge: actor_id, sprite_name, sprite_index>
#
#	 actor_id: The ID of the actor to be change graphics.
#	 sprite_name: The filename of the sprite graphic to be placed.
#	 sprite_index: The index of the sprite graphic to be placed.
#
#	 To change face:
#
#	 <fe: actor_id, face_name, face_index>
#
#	 actor_id: The ID of the actor to be change face.
#	 face_name: The filename of the face graphic to be placed.
#	 face_index: The index of the face graphic to be placed.
#
#	 Notes:
#	 * If you use a single-sprite file (files with $ at the
#	 beginning), you may also add it but the index must be 0.
#	 * If the notetag is not fit in a single line, shorten the filename or
#	 use the other method below.
#	 * You may put many notetags for the different actors at the same
#	 equipment.
I know this is like veeery old, but can someone help me, I'm a beginner and I want to equip the player with casual clothes when he opens the chest. But I just can't figure out how to do it, please can someone assist me?
What have you done so far? Did you download the demo? Did you study it for the processes to perform? What's not working?
What have you done so far? Did you download the demo? Did you study it for the processes to perform? What's not working?
I downloaded the demo, pasted the script but couldn't figure out the event commands to change the player sprite when equipping an armour. But I solved the problem on my own, so sorry for taking your time, I shall delete my previous reply.
That's just what I need it. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/change-actor-graphics-on-equip.3015/