Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

RPG Maker VX - [change battlebacks]

I decided to download the trial to see how different it was from XP. But uh, the battlebacks are nauseating. How do you change them? I'm really stating to feel sick....  :dead:
 
RMVX battle backs, by default, are just a screenshot of the map radial blurred with a wave effect added on.  This is very easy to change to have different battle backs and that.  See: Spriteset_Battle#make_battleback
 
There is a script for it, right here:
Code:
#==============================================================================
# â–  VX-RGSS2-7 Change Battle Background [Ver.1.0.0]     by Claimh
#------------------------------------------------------------------------------
# English Translation By: Elemental Crisis [http://www.rpgcrisis.net]
#------------------------------------------------------------------------------
# Changes the battle background.
#==============================================================================


module BattleBack
  #   Select Battle Background Type
  #   0:Current map with wave effect for battle background (Default VX Style).
  #   1:Current map used as battle background. 
  #   2:Uses a picture for battle background. 
  BB_TYPE = 2
  
  # Display Battle Floor
  BT_FLOOR = false

  # Picture (Only required if BB_TYPE = 2)
  M_B_BACK = {
    # Map ID => "Picture File Name(Graphics/System)"
    1 => "Grassland"
  }
end


#==============================================================================
# â–  Spriteset_Battle
#==============================================================================
class Spriteset_Battle
  #--------------------------------------------------------------------------
  # â—
 
Ok thnx for the script. but im still haveing trouble on were this goes. if someone would please explain on were it belongs and how to activate it. im not sure on were or what i should do to get the battle background to work. please make it as easy as possible to understand ty
 
Copy-paste the script above Main in the Script Editor. Then put your battle backgrounds in Graphics/System and choose which maps get which backgrounds in the configuration in the script.
 
Ok sorry again guys but i ran into another problem while i inserted the battlebackgrounds script and restart the rmvx program. Now for somereason when i activated my database, troops, battle test, its giveing me an error:  Script 'Cache' line 75: TypeError occurred.cannot convert nil into string    /once the error pops up the battletest screen goes black and once i push ok the battletest just shuts down. I also checked out the cache line in the scripts section.     Line 75     path = folder_name + filename > not sure on what to do here. Maybe i have to insert a path or a folder name or a filename for it to work properly but i ve tryied to replace them with certain folder names and file names but i couldn't find anything that will work so please if anyone knows anything about this errror please let me know on how to fix it thank you.
 
Here is a clean, simple way to have a battle back;

1 - Open script editor in your project (F11)
2 - Scroll down under scripts and find the Sprites \/ heading
3 - Bottom of the Sprites \/ list "Spriteset_Battle" and select it
4 - Find the code
Code:
  #-----------------------------------
  # * Create Battlefloor Sprite
  #-----------------------------------
  def create_battlefloor
    @battlefloor_sprite = Sprite.new(@viewport1)
    @battlefloor_sprite.bitmap = Cache.system("BattleFloor")
    @battlefloor_sprite.x = 0
    @battlefloor_sprite.y = 192
    @battlefloor_sprite.z = 1
    @battlefloor_sprite.opacity = 128
  end

5 - Change the @battlefloor_sprite.y = 192 to > 0
6 - This will place the underlaying "BattleFloor.png"'s top-left corner, in your games System folder, at the topleft of the screen. (0x,0y)
7 - Create your own nice, 512x416 battle screens! This only works to have the same bg all the time.  The original system only had a single type bg all the time.. why not this one? :)

NOTE: I'm not sure if this works with other scripts. This is just a change in the default script where using no other external ones. Also you prolly call this action in a new script so you could assign different bg's, but I'm not sure how to call the script, if it were an external one with "DifferentBattleFloor.png" images.. I'm trying to figure it out now..

8 - You can also change the opacity of the bg as well. Preferable to 255 so it's not translucent at all, but may be neat to try some different bg's with a translucent WAVEY effect.

Hope this helps
 
But how can I change the battlebacks because to have only one all the time is a little bit boring.can someone tell me how to change them and how can I put facesets into the battle screen.I mean I saw it into a demo game by some user here in this forum.
He used facesets in the left corner while you are fighting and it depends on which chara is on his turn ...because the chara which is the next this was is allways shown in the front...OH my god...i really can't explain it in englisch ....but I hope that someone will understand what I mean.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top