+- 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)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: A good map name show (/thread-1725.html)
Well loooking a nice map name show, i decided to make my own one, its full customizable and has a nice effect :P
This is the first script posted here ^^
Instructions
On the script
- to see the effect just teleport to another map(when you transfer the player the man name will work
- if you want to hide the name of some maps just add their ids to the variable DONT_SHOW_MAPS
(more instructions in the demo)
Screenshot
Content Hidden
Take a look of the secuence:
Script
script
Code:
#===============================================================================
# SHOW THE MAP NAME - REVOLUTION MODE -
#------------------------------------------------------------------------------
# Author Ramiro (Holy_wyvern, ramiazul)
#------------------------------------------------------------------------------
# Version 1.0
#------------------------------------------------------------------------------
# Description:
# Allows you to show the name of some maps, whit a nice graphical style
#------------------------------------------------------------------------------
# Compatibility:
# RPG maker VX script.
# Shoud work with anyting (99.999 % sure)
#------------------------------------------------------------------------------
# Instructions:
# Insert on materials section
#
# To show the hero's name on a map or a variable
# \N[id of actor on database] (1 - 999)
# \P[id of variable] (1 - 999)
# \PN[id of actor on party position] (0 - 3)
# (Yes it's like the massage window...)
#------------------------------------------------------------------------------
# BUGS:
# Not now... Report if you found one
#------------------------------------------------------------------------------
# Author's notes:
# FOR non-Comertial games only. Giving credit it's not necesarry but it's nice :P
#===============================================================================
VIEWING_TIME = 160 # viewing time of letter
LETTER_ANIM = 200 # starting animating time
LETTER_END = 20 # time for hiding the name
INIT_X = 10 # start X of first letter
INIT_Y = 10 # start Y of first letter
START_ANGLE = -180 # start angle of firs letter
RECT_COLOR = Color.new(255,255,255) # The line's color
RECT_X = 0 # the X correction of the rect
RECT_Y = -14 # the Y correction
FIRST_LETTER = Color.new(255,255,255) # the first letter´s color
LETTER_COLOR = Color.new(255,255,255,200) # other letter´s colors
OPACITY = 200 # the letter´s opacity
RECT_OPACITY = 255 # opacity of the rect
FONT_SIZE = 25 # the size of the font
EX_START_X = 0 # X start movement
RECT_HEIGHT = 1 # the height of the rect
NOT_SHOW_MAPS= [] # put map id of maps than don't show
# it's name eg. [1,2,3]
end
#===============================================================================
# GAME MAP SETUP
#===============================================================================
class Game_Map
def name
map_infos = load_data("Data/MapInfos.rvdata")
name = map_infos[@map_id].name.clone
name.gsub!(/\\N\[([0-9]+)\]/i) { $game_actors[$1.to_i].name }
name.gsub!(/\\PN\[([0-9]+)\]/i) { $game_party.members[$1.to_i].name }
name.gsub!(/\\V\[([0-9]+)\]/i) { $game_variables[$1.to_i] }
return name
end
end
#===============================================================================
# The spritest of letters
#===============================================================================
class Spriteset_MapName
include MAPWINDOW
def initialize
@letters = []
@index = 0
@finish_count = @dispose_count = 0
end
def dispose_sprites
for i in @letters
i.dispose
end
if @border
@border.bitmap.dispose if @border.bitmap
@border.dispose
end
end
end
#===============================================================================
# The map
#===============================================================================
class Scene_Map < Scene_Base
alias smsbstrt start
alias smsbupdbas update_transfer_player
alias smsbupdnorm update
alias smsbterm terminate
def start
@letters = Spriteset_MapName.new
smsbstrt
#~ @letters.set_sprites
end
def update
@letters.update
smsbupdnorm
end
def update_transfer_player
teleported = true if $game_player.transfer?
smsbupdbas
@letters.set_sprites if teleported
end
def terminate
@letters.dispose
smsbterm
end
end
Demo
Are you serious? This don't need a demo...
Compatibility
SHOUD work with anything, just allieases three methods in scene_map
Termos & conditions
For non-comercial games only.
Giving credit it's not a must but its a nice act from your part ^^
I don't mean to be rude, but I'm afraid I don't understand what this script does. Based on the name of the script and the coding, I can only assume it shows the name of the map. Anyway, a screenshot would be nice if it's possible. I think the problem is coming from your description, it's a little confusing.
Anyway, thanks for posting this!
I think it might be an animated(?) pop up box with the name for the maps? Its what it sounds like to me. A screen will need to be posted, or maybe just a small demo (so we can see the full effects if it is animated) to confirm unless someone wants to randomly plug it in and try.
Added screenshots(for lazy people than don't want to paste a little script in materials section...)
Ok its all, maybe just give it a try and look all the effect
We're not lazy. It was just impossible to determine what this script REALLY was without a screen. But now that I look at it, could be nice. And by the way, I don't have VX, so there was really no way to test it otherwise...
Ok ok :P, about the lazy ones it was just a joke, don't take all my words with all of its meaning ok?
Just have a bit of 'side thinking'. Well, maybe y can do an XP verison too...
Okay okay. But still, an XP version would be awesome, because I'd love to see the effects first hand. Couldn't use them in my game-in-planning though, because I'm going commercial. XD