Battle Animation 'Flip' Control
#1
Battle Animation 'Flip' Control
Version: 1.2
& 1.3 (RTAB)


Introduction
This script is used to reverse battle animations, whether on the field or in a custom battlesystem. On the field, you can control the flipping ability by setting the Game_temp.animation_flip to the proper value (see below). However, the system is also designed to 'automatically' flip 'battle animations' based on the 'Enemy' or 'Actor' performing the animation.

Features
  • Allows you to flip the animation horizontally, vertically or 180 degrees
  • Works in both FIELD and BATTLE.
  • Able to use Flipping & Non-Flipping Animations

Screenshots
Didn't need any.

Demo
Default version
RTAB version
Including Animated Battlers (default BS)

Instructions
Any animations that are allowed to flip need to have [F] or [f] at the end of the Animation name, like Fire 2[F] or Earth 3[F]. Without it, the system assumes that the animation will not flip in any way. But if the [F]/[f] flag is at the end, the system will permit the animation to flip.

In the field menu, just set $game_temp.animation_flip to the proper value:
Code:
0 = The default
   1 = Horizontal Flip
   2 = Vertical Flip
   3 = 180-degree rotation (similar to Vertical Flip)


During battle, the system (if coded properly) will automatically flip the desired animations.

Additional instructions are in the script itself. Word of warning... this is mainly intended by scripters who know how to edit or code RMXP Battlesystems. The 'edits' that are required may be too much for beginner scripters.

Script
The Script

The next three sets of code are sample edits you will need to perform to work with your battlesystem. These edits are already made if you plan to work with the default battlesystem.

Sample Scene_Battle Edit
Sample Sprite_Character Edit
Sample Sprite_Battler Edit




RTAB VERSION:
Script
The RTAB version

The next three sets of code are sample edits you will need to perform to work with your battlesystem. These edits are already made if you plan to work with the default battlesystem.

Sample Scene_Battle Edit
Sample Sprite_Character Edit
Sample Sprite_Battler Edit


FAQ
Editing to the default scripts may be required, as pointed out in the script itself. The actual design wasn't meant for the default battlesystem, but the scripts and demos do show how to edit your scripts(s) to use the flipped animation system.

This is not designed for beginner scripters. Please do not request 'adaptions' for other systems. It's being presented in the 'basic' format for the battlesystem designers for implementation. The only reason why there is a separate RTAB variant is due to the complexity of Cogwheel's own SPRITE module.

Compatibility
The demo and script for the default version describes how to adapt the animation system to the default battlesystem. Additional work may (or will) be required to adapt to other battlesystems or scripts... especially those that alter the Scene_Battle and RPG:SPRITE classes. While the default version does seem to work with ParaDog's v2.58 and XRXS's #65 system, I cannot guarantee it's compliance with any other system.

And again, due to RTAB's unusual RPG::SPRITE module, the system did have to have a unique main script of it's own.

Credits and Thanks
Thanks go to Dust Wind at the Wind Messer Website for the basis of the script, to hugopkmn, Dargor and PirateFaafy for their input in the Script Request section, hugopkmn for the 180 degree/vertical flip solution, and JirbyTaylor who initially suggested this script.


Terms and Conditions
This system add-on is available royalty-free, and is permitted for commercial use. However, no warranty on this system is expressed or implied.

What is required as conditions for use is due credit. Not only for myself as the lead scripter for this add-on, but Dust Wind, the original scripter. Also credit for hugopkmn, Dargor and Piratefaafy for their input in the design phase of this system. Credit must be visible in the game at some point. If not at the start (in some sort of title credits), then at the very least, full credit to all parties must be visible in the end credit roll of the game.

[Image: xp_warning.png]
Image has link to Enterbrain's Download Page
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Quickie Battler Animation DerVVulfman 0 278 08-26-2024, 10:16 PM
Last Post: DerVVulfman
   Battle Item Count kyonides 4 2,157 02-04-2024, 05:49 AM
Last Post: kyonides
   Dalissa's Battle Cry DerVVulfman 2 7,430 05-09-2023, 03:07 AM
Last Post: DerVVulfman
   Zenith Tactical Battle System Plus (ZTBS+) DerVVulfman 0 2,846 05-10-2022, 10:42 PM
Last Post: DerVVulfman
   Actor Battle Items DerVVulfman 4 6,085 11-08-2020, 12:36 PM
Last Post: Mel
   Battle Report Raziel 1 6,979 05-29-2020, 02:27 AM
Last Post: Whisper
   ZLSL's Battle Portraits DerVVulfman 4 7,517 11-12-2019, 04:10 AM
Last Post: DerVVulfman
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 255,697 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   Mimi's Battle Music DerVVulfman 2 8,834 11-19-2018, 04:18 AM
Last Post: DerVVulfman
   ATOA Chanting Battle Animations DerVVulfman 9 17,857 01-12-2017, 01:46 PM
Last Post: Noctis



Users browsing this thread: 2 Guest(s)