Mimi's Battleback Changer
#16
@bswi13:
Do not edit the actual codework of the script itself. Changing the if...end blocks and so forth would prevent other features such as map-for-battleback systems and others from functioning. You should only change the $game_system.bbg_type (or $bbg_type in your global script case) should be performed.

As an example, the left most ghost's events start with a script call like so:
Code:
# Set music to 'HERO'
$game_system.bgm_type = 1
# Set battlebackground to 'Terrain'
$game_system.bbg_type = 1
( :P ... the line reads 'set to terrain' when it should say set to animated)
Note how the last statement sets the bbg type (battle background graphic type) to a setting of 1. By default, it is 0 (no animation or whatnot), but a setting of 1 sets it to an animated battleback. ONCE this is run and the BBG TYPE is set, all battles afterwards are assumed to use animated battlebacks... until another bbg_type value is set.

Now the middle ghost has a script call at the beginning of his event like so:
Code:
# Choose Field Music
$game_system.bgm_type = 4
# Doesn't matter if lead hero is dead
$game_system.bgm_living = nil
Don't worry about the bgm_living command at the bottom as you're not worried about that. But notice that it doesn't have a BBG TYPE command. IF you run this event first, you fight a battle with the currently defaulted battleback... likely the non-animated battleback. But if you fight the ghost on the left, the left-most ghost will set the battleback to an animated one. ONCE that is done, all battles (including this one) would assume animated battlebacks.

IF you wanted to let the middle ghost use an animated battleback, make it look like this:
Code:
# Choose Field Music
$game_system.bgm_type = 4
# Set battlebackground to 'Animated'
$game_system.bbg_type = 1
See? It's the bbg_type line in there that makes it animated.



The script could be adjusted, though that would mean a battleback can have filenames of KasperCrew1900, where you have 19 frames ranging from 00 to 18. However, I typically feared some people not thinking (a common issue) and I would need to include code that would format the index values (0 - 18) to always be double digits.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
Mimi's Battleback Changer - by DerVVulfman - 03-05-2008, 07:08 AM
RE: Mimi's Battleback Changer - by edmhotta - 07-27-2011, 02:29 PM
RE: Mimi's Battleback Changer - by bswi13 - 08-25-2014, 08:03 PM
RE: Mimi's Battleback Changer - by KasperKalamity - 08-25-2014, 10:28 PM
RE: Mimi's Battleback Changer - by DerVVulfman - 08-26-2014, 03:40 AM
RE: Mimi's Battleback Changer - by bswi13 - 08-26-2014, 04:16 AM
RE: Mimi's Battleback Changer - by KasperKalamity - 08-26-2014, 02:56 PM
RE: Mimi's Battleback Changer - by DerVVulfman - 08-27-2014, 04:12 AM
RE: Mimi's Battleback Changer - by bswi13 - 08-27-2014, 08:13 AM
RE: Mimi's Battleback Changer - by DerVVulfman - 08-28-2014, 04:28 AM
RE: Mimi's Battleback Changer - by KasperKalamity - 08-28-2014, 05:12 PM
RE: Mimi's Battleback Changer - by bswi13 - 08-28-2014, 05:50 PM
RE: Mimi's Battleback Changer - by DerVVulfman - 08-29-2014, 03:51 AM
RE: Mimi's Battleback Changer - by bswi13 - 08-29-2014, 05:45 AM
RE: Mimi's Battleback Changer - by KasperKalamity - 08-29-2014, 06:44 PM
RE: Mimi's Battleback Changer - by DerVVulfman - 08-30-2014, 03:35 AM
RE: Mimi's Battleback Changer - by DerVVulfman - 08-31-2014, 05:20 PM
RE: Mimi's Battleback Changer - by bswi13 - 08-31-2014, 05:45 AM
RE: Mimi's Battleback Changer - by DerVVulfman - 11-19-2018, 04:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Mimi's Battle Music DerVVulfman 2 8,840 11-19-2018, 04:18 AM
Last Post: DerVVulfman
Photo  Map Tileset Changer during the game Narzew 1 6,423 05-06-2013, 09:18 PM
Last Post: Narzew
   Party Changer Dargor 7 19,382 06-10-2010, 05:02 AM
Last Post: Meegz0
   XRXS's Full-View Battleback & Movable Camera XRXS 0 5,771 06-10-2009, 03:30 AM
Last Post: XRXS
   Mog Battleback XP 1.0 moghunter 0 5,439 12-07-2008, 04:40 PM
Last Post: moghunter
   Party Changer by Leon Westbrooke earthboy 0 5,566 03-06-2008, 06:42 AM
Last Post: earthboy
   Disc Changer Zeriab 0 4,451 03-06-2008, 05:39 AM
Last Post: Zeriab



Users browsing this thread: 1 Guest(s)