Well, I was directed here for this script. Must say, amazing job. It's making me think it should be standard among all games (whereas most scripts, like AMS's, CMS's, etc. should be collected differently for each game to be unique). This script is just so great it deserves to be standard among all.
Also, it saves me all the work I was putting into making this script myself (and failing :P)
EDIT: That Ragnarok sprite in the isometric test looks like one that I ripped...if it is, I don't mind. I think it is though, because of the altered colour of certain things that I ripped him with.
EDIT again: Is it possible to instead of having that array of looped maps, to have it like in KGCMapLoop that looped maps have [LH], [LV], or [LHV]? The script he used for that was this:
class RPG::MapInfo
#--------------------------------------------------------------------------
# — マップå
#--------------------------------------------------------------------------
def name
return @name.gsub(/\[.*\]/) {""}
end
#--------------------------------------------------------------------------
# — オリジナルå
#--------------------------------------------------------------------------
def original_name
return @name
end
#--------------------------------------------------------------------------
# — 横方å‘ループ
#--------------------------------------------------------------------------
def horizontal_loop?
return @name =~ /\[L[ ]*([HV]+)\]/i && $1.upcase.scan(/./).include?("H")
end
#--------------------------------------------------------------------------
# — 縦方å‘ループ
#--------------------------------------------------------------------------
def vertical_loop?
return @name =~ /\[L[ ]*([HV]+)\]/i && $1.upcase.scan(/./).include?("V")
end
end
Expand to see the code.
This also returned the name for location scripts without anything inside of [brackets]. And to tell if a map had a map loop, you would call:
$data_map = load_data("Data/MapInfos.rxdata")
$data_map[$game_map.map_id].horizontal_loop? #True if looped horizontally, false if not
$data_map[$game_map.map_id].vertical_loop? #True if looped vertically, false if not
Expand to see the code.
And sorry if this is too much, but one more question......does this script include all of the code for Game_Character, Game_Player, and/or Game_Map?