I went ahead and created the hybrid of the two scripts. It works great for me, and is exactly what I'm looking for. I added the Variable controls from the other script I linked to above by I just sort of merged the two scripts into one package.
#######################################################################
#######
# Basic Dual Battle Landscape of Awesome VX v1.0 # Author: Leongon
# Change Battle Background v1.0 ==== GEXROX, 16th May 2010
# Marged by OrleanKnight June 3rd 2010
##############################################################################
# #Original Threads:
#
http://www.rpgmakervx.net/index.php?showto...8&hl=gexrox#
http://www.rpgrevolution.com/forums/index....showtopic=42122##############################################################################
# This script allows the user to add an additional layer to the combat scene
# during the loading process. The additional Foreground layer will overlap
# enemy units and characters, but not the battle status windows. Use Variables
# to give each Event or Map Area ID a given Background and Foreground.
# #
# To use, Create a new folder called: BattleBacks in your Game/Graphics folder.
# Then lable the images as follows:
# BattleBack1, BattleBack2, BattleBack3, etc
# BattleFront1, BattleFront2, BattleFront3, etc
##############################################################################
# Configurations # #
################## #
module DBL_Configs #
DBL_create_battlefloor = true # false to not draw the battle shadow circle #
end
module Cache
def self.battleback(number)
load_bitmap("Graphics/BattleBacks/", "BattleBack" + number)
end
def self.battlefront(number)
load_bitmap("Graphics/BattleBacks/", "BattleFront" + number)
end
# Change BB_VARIABLE & BF_VARIABLE to the variable to link to the images
BB_VARIABLE = 21 # Can be anything, but in my game, it's 21
BF_VARIABLE = 22 # Can be anything, but in my game, it's 22
#Create Variable Controls on an Event or Common Event, create and select
# BB & BF_VARIABLE as 21 & 22 (Or whatever number you like, just change it above)
# and add the # of the image as the Constant.
#Example: If You want BattleBack3, the Constant is 3.
#Note: You'll Generate an Error if you do not specify a Back AND a Front.
#---#########################------------------------------------------------#
end# End of Configurations #
#---#########################------------------------------------------------#
class Spriteset_Battle
#------------------------------------------------------
include DBL_Configs
alias leon_create_viewports create_viewports
def create_viewports
leon_create_viewports
@viewportDBL = Viewport.new(0, 0, 544, 416)
@viewportDBL.z = 75
end
alias leon_dispose_battleback_bitmap dispose_battleback_bitmap
def dispose_battleback_bitmap
leon_dispose_battleback_bitmap
@battleback_sprite_front.bitmap.dispose
end
alias leon_dispose_battleback dispose_battleback
def dispose_battleback
leon_dispose_battleback
@battleback_sprite_front.dispose
end
alias leon_dispose_viewports dispose_viewports
def dispose_viewports
leon_dispose_viewports
@viewportDBL.dispose
end
#---------------------------------------------
def create_battleback
source = $game_temp.background_bitmap
@battleback_sprite = Sprite.new(@viewport1)
@battleback_sprite.bitmap = Cache.battleback($game_variables[Cache::BB_VARIABLE].to_s)
@battleback_sprite_front = Sprite.new(@viewportDBL)
@battleback_sprite_front.bitmap = Cache.battlefront($game_variables[Cache::BF_VARIABLE].to_s)
end
#-------------------------------------------
alias leon_create_battlefloor create_battlefloor
def create_battlefloor
@battlefloor_sprite = Sprite.new(@viewport1)
leon_create_battlefloor if DBL_create_battlefloor == true
end
def leon_update_battleback update_battleback
leon_update_battleback
@battleback_sprite_front.update
end
def leon_update_viewports update_viewports
leon_update_viewports
@viewportDBL.update
end
#----------------------------------------------------------------------------#
end
#----------------------------------------------------------------------------#
Enjoy! I put the instructions in the Script itself, I hope I made them very clear. Credit has been given to both creators.