03-07-2008, 06:50 PM
Tiny Overworld Sprites
Version: 1.0.0
Version: 1.0.0
Introduction
This script gives you little bitty characters when on any map marked as an overworld map, similar to the feature in Chrono Trigger with no extra graphics required. Should be compatible with all location window scripts (menus and HUDs) and with any menu. Even though this script already exists, I got a surprising number of requests for this after posting the VX version, so here it is.
Screenshots
Demo
Tiny Overworld Sprites XP
Instructions
For any world you want to mark as an overworld map, simply add the word *WORLD* to the map's name. To change the zoom to make the overworld sprite bigger or smaller, change this line:
ZOOM = 0.3
This is a percentage, so 0.3 is 30%. If you want 50%, change this to 0.5.
FAQ
To make this compatible with my caterpillar script, find these lines:
Code:
if @return_to_player
if self.x == $game_player.x and self.y == $game_player.y
@return_to_player = false
@move_route_forcing = false
else
move_toward_player
end
end
Below that, add this:
Code:
if $game_map.isworldmap
self.zoom_x = ZOOM
self.zoom_y = ZOOM
else
self.zoom_x = 1.0
self.zoom_y = 1.0
end
By DerVVulfman: Also add the following lines to (1) prevent a no-method-error and (2) have it detect her Party actors *tested*
Add the following two lines to the Game_TrainActor class, so it recognizes the zoom factors:
Code:
attr_accessor :zoom_x
attr_accessor :zoom_y
Code:
if @character.is_a?(Game_Player) and $game_map.isworldmap
Code:
if (@character.is_a?(Game_Player) or @character.is_a?(Game_TrainActor)) and $game_map.isworldmap
To make this compatible with Fukuyama's caterpillar script, find this line in this script:
Code:
if @character.is_a?(Game_Player) and $game_map.isworldmap
And change it to:
Code:
if (@character.is_a?(Game_Player) or @character.is_a?(Game_Party_Actor) and $game_map.isworldmap
By DerVVulfman: Use the below code for Fukuyama's Train Actor script instead and have Train Actor placed above Tiny Overworld. *tested*
Code:
if (@character.is_a?(Game_Player) or @character.is_a?(Train_Actor::Game_Party_Actor)) and $game_map.isworldmap
Use
Free for noncommercial or commercial use with credit.
Distribution
Do not redistribute this script without permission. Do not direct link the demo or paste the script anywhere. Instead, please link to this thread.
UNSUPPORTED SYSTEM.
This script is no longer supported by its creator.
This script is no longer supported by its creator.