01-26-2009, 12:54 AM
Shadow Remover
Version: 1
Version: 1
Introduction
Here's a little script we did & fixed up based on problems with all the other shadow killer-type scripts. :)
Features
- Removes automatic shadows by putting walls on RMVX's 3rd map layer
- That's it. End of story.
- The table still has feet!
Script
Code:
# Ultimate shadow remover!
# By the folks at http://rmvx.gameclover.com
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
Instructions
Plug & play
Credits and Thanks
Enterbrain for making their automatic shadows easily removable.
Initial version (last year) was based on code by Abt Ploufen.
Terms and Conditions
Not intended for commercial use. If you'd like to repost this script somewhere, please include a link to http://rmvx.gameclover.com along with it :)