<Battle Screen Borders>
<July15, 2009>
SummaryIn short all that i really need is a black border on the top and bottom of the battle screen to appear at the beginning of battle and then for it to scroll away after the enemies are defeated.
Example:
You run into a slim enemy. The black borders appear at the top and bottom. Once the slime is dead the top boarder moves up until it isn't visible and the bottom boarder moves down until its not visible.
Features Desired
- Borders at the top and bottom of the battle screen.
- Must be compatible with ahref's EarthBound Backgrounds script.
- The boarders must be behind all the other windows in battle.
- Must be compatible with STR's XP battle system.
Mockupshttp://walkthrough.starmen.net/mother3/image/screens/01/firstbattle.png
http://walkthrough.starmen.net/mother3/image/screens/01/flyingmouse.png
Games its been in
- EarthBound
- Mother 3 (aka. EarthBound 2)
Did you search?No.
Hello. My name is kitkatkan. I am here to help.
Repeat, i am here to help.
OKAY, I AM GOING TO ASK YOU TO DO TWO THINGS:
Firstly, it's not boarders it's borders. Please change it over >.>
Secondly, search around a bit before requesting - who knows, maybe there is a battle system like that floating around?
Do these two things and i'm sure that there will be a scripter or two around who'll be willing to make this for you :)
Otherwise you're not going to attract too many able scripters >.>
THAT'S ALL!
*kitkat poofs away*
OMG I'm such a bad speller. Thanks for pointing that out Kit!
Also I'm not really looking for a battle system, just a little add on.
I already have a battle system. Its STR's XP battle system. I just want the borders added on is all.
Also I will have a look around, but I don't think someone has thought of making a snippet or battle system script with borders on it...
Thanks again!
I'm just happy you followed my advice ^^;;
We get alot of stubborn folks over here who can't admit their own faults >.>
I always take advice from people who want to help!
I just hope someone notices this request and actually makes it for me...
I just searched three different sites and nothing yet! :'(
Something I haven't tried before, but I suppose it's worth giving it a shot. Have you tried using a picture event command at the beginning of the battle? (in side the troop's events). I haven't thought of even trying that, so I wouldn't know. I wouldn't at all be surprised if it didn't work, but it's worth a try.
I just tried. It won't work for some reason.
But thank you so much for helping me out bro! You rock!
Haven't made a script in a while, so let me know if it has any errors.
Also it was made with the default battle system in mind. I couldn't find the battle system you mentioned and I saw no links leading to it.
#==============================================================================
# ** TDS Battle Black Bars
# Version: 1.0
#------------------------------------------------------------------------------
# This script will display black bars at the top and bottom of the battle and
# remove them when the fight is over.
#==============================================================================
#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
# This class performs battle screen processing.
#==============================================================================
class Scene_Battle < Scene_Base
#--------------------------------------------------------------------------
# * Start processing
#--------------------------------------------------------------------------
alias tds_scene_battle_battle_black_bars_start start
def start
tds_scene_battle_battle_black_bars_start
super
@black_bar_sprite = Sprite.new
@black_bar_sprite.bitmap = Bitmap.new(544, 416)
@black_bar_sprite.bitmap.fill_rect(0, 0, 544, 50, Color.new(0, 0, 0, 255))
@black_bar_sprite.bitmap.fill_rect(0, 350, 544, 70, Color.new(0, 0, 0, 255))
end
#--------------------------------------------------------------------------
# * Termination Processing
#--------------------------------------------------------------------------
alias tds_scene_battle_battle_black_bars_terminate terminate
def terminate
tds_scene_battle_battle_black_bars_terminate
super
@black_bar_sprite.bitmap.dispose
@black_bar_sprite.dispose
end
#--------------------------------------------------------------------------
# * Remove Black Bars
#--------------------------------------------------------------------------
def remove_black_bars
for i in 0...21
update_basic
@black_bar_sprite.update
@black_bar_sprite.bitmap.clear_rect(0, 50 - i * 3, 544, 3)
@black_bar_sprite.bitmap.clear_rect(0, 350 + i * 3, 544, 3)
end
end
#--------------------------------------------------------------------------
# * Determine Win/Loss Results
#--------------------------------------------------------------------------
def judge_win_loss
if $game_temp.in_battle
if $game_party.all_dead?
remove_black_bars
process_defeat
return true
elsif $game_troop.all_dead?
remove_black_bars
process_victory
return true
else
return false
end
else
remove_black_bars
return true
end
end
end
Dude it works perfectly!
Thank you SO MUCH!
You don't think you can help me out with 1 more script, can you?
I just need one that lets me play a battle animation when a actor does a critical hit.
anyways thanks again dude, u rock!