Ultimate Shadow Remover
#1
Shadow Remover
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!
Screenshots

[Image: shadowslay.jpg]

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 :)
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Sprite Shadow syvkal 0 6,025 03-08-2008, 04:31 AM
Last Post: syvkal



Users browsing this thread: 1 Guest(s)