Shadow Eliminator 2.0Script by
GameClover, edited from the shadow eliminator by
gamebaker.com to have improved features, and to eliminate a few problems. (Posted here with permission by
Dark Gaia)
IntroductionThis script, when inserted into your game, will stop RMVX generating shadows next to your wall autotiles, yet still retains the functionality of bushes and counter tiles. It's really that simple! This can help to negate some of the inconsistancy these shadows may cause in some detailed maps.
Installation/CompatibilityThis script is plug and play! Simply insert it above Main and you're ready to get to work, no configuring needed! This script is compatible with most other scripts, except any Mode 7 scripts, or any other scripts that involve the editing or changing of how Sprite_Tileset works.
ScreenshotThis small screenshot demonstrates the shadow elimination at work.
ScriptCODE
# Ultimate shadow remover!
# By the folks at
http://rmvx.gameclover.com# Problems?
#
http://rmvx.gameclover.com/scripts/shadow-remover/class Game_Map
alias gamebaker_goodbyeshadow_oldsetup setup
def setup(*args)
gamebaker_goodbyeshadow_oldsetup(*args)
goodbye_shadows
end
def goodbye_shadows
for x in 0...$game_map.data.xsize
for y in 0...$game_map.data.ysize
if $game_map.data[x,y,0] >= 4352
$game_map.data[x,y,1] = $game_map.data[x,y,0]
$game_map.data[x,y,0] = 0
end
end
end
end
end
CreditsThis script was made by
GameBaker and improved/enhanced by
GameClover. Visit
GameClover at their site today at
http://rmvx.gameclover.com!
Script posted on RRR by
Dark Gaia with permission.