Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> [RMVX] Battle Backgrounds
Ty
post Jan 19 2008, 09:34 PM
Post #1


Level 38
Group Icon

Group: +Gold Member
Posts: 1,007
Type: Scripter
RM Skill: Undisclosed




Script Name: Battle Backgrounds
Written by: Synthesize
Current version: Version 1.00A
Release Date: January 20, 2008

What is this script?
This simple script allows you to have a battle background instead of the abstract background which is the default for RPG Maker VX. Simply define the Background filename in the customization section, along with your Map_ID.

Features:
- Simple
- Easy to use
- Turn ON/OFF the battlefloor
- Once RMVX is released, I will interpret more features

Version History:
V1.00
- Script is released

[Show/Hide] Script:

CODE
#===============================================================================
# Battle Backgrounds - RMVX
#===============================================================================
# Written by Synthesize
# January 20, 2008
# Version 1.00A
#===============================================================================
#                       * This script is untested. *
#===============================================================================
module SynBattleB
  # Place your battle backgrounds in the 'Pictures' folder (Graphics/Pictures)
  # Format = {map_id => Battleback Name}
  Battle_background =
  {
  1 => "001-Grassland01",
  2 => "001-Grassland01"
  }
  #-----------------------------------------------------------------------------
  # Create the battlefloor?
  Create_battlefloor = false
  #-----------------------------------------------------------------------------
  # This was being requested on quite a fe forums now, so I threw a quick script
  # together. It is nice and simple, and does what it is suppsoed to do. Once
  # RMVX is released in English, then I will add additional features into this.
  #-----------------------------------------------------------------------------
end
#-------------------------------------------------------------------------------
# Spriteset_Battle
#-------------------------------------------------------------------------------
class Spriteset_Battle
  alias syn_create_battlefloor create_battlefloor
  #-----------------------------------------------------------------------------
  # Create Battleback
  #-----------------------------------------------------------------------------
  def create_battleback
    image = SynBattleB::Battle_background[$game_map.map_id]
    @battleback_sprite = Sprite.new(@viewport1)
    @battleback_sprite.bitmap = Cache.picture(image)
  end
  def create_battlefloor
    @battlefloor_sprite = Sprite.new(@viewport1)
    syn_create_battlefloor if SynBattleB::Create_battlefloor == true
  end
end
#===============================================================================
#                        * This script is untested *
#===============================================================================  
# Version 1.00A
# January 20, 2008
# Written by Synthesize
#===============================================================================
# Battle Backgrounds - RMVX
#===============================================================================


Questions? Concerns? Post them.


__________________________
My Script Demo link broken? Looking for old scripts? Go here:
http://synthesize.4shared.com
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
megamario
post Nov 12 2009, 11:09 PM
Post #2


Level 2
Group Icon

Group: Member
Posts: 27
Type: Mapper
RM Skill: Intermediate




When You get that error, its from the script, I got it too so i removed it and it still said it. Then i removed the battle back picture and it went fine! wink.gif


__________________________
I love Waffles, I love Pancakes, hmmmm French Toast?

[Show/Hide] Open it?




[Show/Hide] My FF Caracters
FF9Yay!
FF10


[Show/Hide] Current Project
Game Title: FFIX - Legend Of The Chocobo Knight
Story:9%
Characters:12%
Scripts:21%
Maps:1.8%

Overall Percent: 2.5%


[Show/Hide] Open if you Dare!
You Just got Shoop Da Whooped
Go to the top of the page
 
+Quote Post
   

Posts in this topic
- Synthesize   [RMVX] Battle Backgrounds   Jan 19 2008, 09:34 PM
- - jens009   Wow. NIce add Synthesize to the RMVX scripts. You...   Jan 19 2008, 09:40 PM
- - Rabu   Seems to be a good first step. Would be nice, if y...   Jan 20 2008, 04:03 AM
- - Synthesize   QUOTE (Rabu @ Jan 20 2008, 04:10 AM) Seem...   Jan 20 2008, 12:22 PM
- - Lord Grundlefunk   Looks like a simplified version of Moghunter's...   Jan 21 2008, 01:27 AM
- - ComicStripGod   I'm underStand.How i call to this script on ba...   Jan 22 2008, 08:46 AM
- - Synthesize   QUOTE (ComicStripGod @ Jan 22 2008, 08:53...   Jan 22 2008, 09:17 AM
- - kageryuto   i have a question. the background depend on which ...   Mar 1 2008, 09:18 AM
- - Synthesize   QUOTE (kageryuto @ Mar 1 2008, 09:25 AM) ...   Mar 1 2008, 08:21 PM
|- - kageryuto   QUOTE (Synthesize @ Mar 1 2008, 07:28 PM)...   Mar 2 2008, 03:06 AM
|- - semajames   QUOTE (Synthesize @ Mar 2 2008, 11:35 AM)...   Apr 26 2008, 01:15 AM
|- - Shanefpt   QUOTE (semajames @ Apr 26 2008, 04:29 AM)...   Jun 23 2008, 12:57 PM
- - Lentho   One bug with this script is the inability to use t...   May 7 2008, 01:06 PM
- - Icedsnake   For me it say Error Script 'Cache' line 7...   Jun 17 2008, 08:59 AM
|- - Varaosa   QUOTE (Icedsnake @ Jun 17 2008, 06:59 PM)...   Feb 26 2012, 06:53 AM
- - 2gamergirl2   I think what is wrong with yours is that you named...   Jun 17 2008, 10:35 AM
- - puppeto4   QUOTE For me it say Error Script 'Cache' ...   Jun 17 2008, 11:02 AM
- - ChaoticFox9900   Awesome! Thanks for uploading this!   May 16 2009, 09:02 PM
|- - breadlord   please don't necropost.   May 16 2009, 11:00 PM
- - TalesOf_Fantasy   cool script! it's simple and easy. definel...   May 17 2009, 01:30 AM
|- - akura   QUOTE (megamario @ Nov 13 2009, 12:09 AM)...   Dec 14 2011, 11:31 AM
- - Jediknightjace   Working great, but does anyone know if there's...   Dec 14 2009, 01:59 PM
|- - ZeroManArmy   QUOTE (Jediknightjace @ Dec 14 2009, 02:5...   Dec 16 2009, 04:42 PM
|- - Jediknightjace   QUOTE (ZeroManArmy @ Dec 16 2009, 08:42 P...   Dec 21 2009, 12:41 PM
- - Hiromu656   sorry for necro, but this is a very useful script:...   Dec 13 2010, 04:49 PM
- - Kread-EX   That's because you are probably entering a bat...   Dec 14 2010, 05:08 AM
- - mozzy   QUOTE (Kread-EX @ Dec 14 2010, 09:08...   Aug 7 2011, 10:05 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th May 2013 - 06:40 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker