Save-Point
Change Name / Graphic or Zoom Character Graphic XP VX - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: Change Name / Graphic or Zoom Character Graphic XP VX (/thread-594.html)



Change Name / Graphic or Zoom Character Graphic XP VX - kyonides - 03-03-2010

Change Name / Graphic or Zoom Character Graphic XP VX
Version: 0.1.1
By Kyonides-Arkanthos alias Kyonides, Shadowball

Introduction

Change any hero's graphic and keep it saved in a variable so he or she can go back to normal (script call based).

You can also change any character sprite's current zoom.

Screenshots

Do you really need one?

Demo

None needed.

Script

Content Hidden

Instructions

Script Calls

$game_party.actors[0].change_graphic(2) # Aluxes is now Basil
$game_party.actors[0].old_graphic # The same old (stupid) Aluxes

$game_party.actors[0].old_name # Falls back to hero's previous name if any

FAQ

You tell me...

Compatibility

It should be compatible with anything that does not modify Game_Actor or Game_Character classes.

Credits and Thanks

Well, thanks to Falca that gave me an idea of how to change a character's x and y zoom by looking at his script. I didn't like the way he dealt with it so I made my own scriptlet because of that.

Author's Notes

Nothing yet.

Terms and Conditions

Not intended for Commercial Use and must include my name and URL if there's any URL at all.


Change Name / Graphic or Zoom Character Graphic XP VX - Villain - 03-03-2010

So, how to Zoom the chatacter's graphic?


Change Name / Graphic or Zoom Character Graphic XP VX - kyonides - 03-03-2010

That's included in the script comments at the beginning of the script... but I'll paste that here now...

$game_player.zoom_xy(2.0,2.0) # Player gets double sized... Fat is bad!

$game_map.events[1].zoom(1.5,1.5) # Event 1 is 50% bigger


Change Name / Graphic or Zoom Character Graphic XP VX - Ramiro - 03-04-2010

i can give an opinion in the project:
by just putting
Code:
class Sprite_Character

instead of
Code:
Sprite = File.exist?('Game.rxproj') ? RPG::Sprite : Sprite_Base
class Sprite_Character < Sprite
It will have the same effect, still its a good adaptation


Change Name / Graphic or Zoom Character Graphic XP VX - Villain - 03-04-2010

Thanks