RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
DoubleX RMMV Popularized ATB Bar

0 Members and 1 Guest are viewing this topic.

***
Scripter
Rep:
Level 36
Changelog
Code: [Select]
*      v1.00c(GMT 1700 16-9-2016):                                           
 *      1. Improved this plugin's effectiveness, efficiency and robustness   
 *      v1.00b(GMT 1400 31-5-2016):                                           
 *      1. Improved this plugin's effectiveness, efficiency and readibility   
 *      v1.00a(GMT 1500 19-2-2016):                                           
 *      1. 1st completed version of this plugin finished                     

Authors
DoubleX

Credits
DoubleX(Optional)

Purpose
Lets users set when/how ATB bars are shown on battler sprites

Games using this plugin
None so far

Configurations
Code: [Select]
* @param bar_show
 * @desc Sets the code as bar_show determining when the battler ATB bars will be
 *       shown on the battler sprites
 *       It'll only be used by battlers not using <patb bar show: code> notetags
 *       Available bar_show codes:
 *       always - The battler ATB bars will always be shown on the enemy sprites
 *       defeat - The actor ATB bars will always be shown on the actor sprites
 *                while the enemy ATB bars will only be shown on the enemy
 *                sprites for those being defeated before
 *                This code will only be available if DoubleX RMMV Death Records
 *                is used
 *       Setting bar_show as an unavailable code means the battler ATB bars will
 *       never be shown on the battler sprites
 * @default always
 *
 * @param bar_w
 * @desc Sets the width of the ATB bars shown on the battler sprites as bar_w
 *       It'll only be used by battlers not using any <patb bar w: w> notetag
 * @default 87
 *
 * @param bar_h
 * @desc Sets the height of the ATB bars shown on the battler sprites as bar_h
 *       It'll only be used by battlers not using any <patb bar h: h> notetag
 * @default 16
 *
 * @param bar_x
 * @desc Sets the x offset of the ATB bars shown on the battler sprites as bar_x
 *       It'll only be used by battlers not using any <patb bar x: x> notetag
 * @default 0
 *
 * @param bar_y
 * @desc Sets the y offset of the ATB bars shown on the battler sprites as bar_y
 *       It'll only be used by battlers not using any <patb bar y: y> notetag
 * @default 0
 *
 * @param bar_opacity
 * @desc Sets the opacity of the ATB bars shown on the battler sprites as
 *       bar_opacity
 *       It'll only be used by battlers not using any
 *       <patb bar opacity: opacity> notetag
 * @default 255
 *
 * @param bar_text_size
 * @desc Sets the size of the description text of the ATB bars shown on the
 *       battler sprites as bar_text_size
 *       It'll only be used by battlers not using any <patb bar text size: size>
 *       notetag
 * @default 13

Notetags
Code: [Select]
*    # Actor/Class/Weapon/Armor/Enemy/State Notetags:                       
 *      State notetags take the highest priority, followed by enemy, weapon, 
 *      armor, class and actor                                               
 *      The 1st notetag that's being read by the battler will be used         
 *      1. <patb bar show: code>                                             
 *         - Sets the code determining when the battler ATB bars will be shown
 *           on the battler sprites as code                                   
 *           Available codes are those of bar_show                           
 *         - Setting code as an unavailable code means the battler ATB bars   
 *           will never be shown on the battler sprites                       
 *      2. <patb bar w: w>                                                   
 *         - Sets the width of the ATB bars shown on the battler sprites as w
 *      3. <patb bar h: h>                                                   
 *         - Sets the height of the ATB bars shown on the battler sprites as h
 *      4. <patb bar x: x>                                                   
 *         - Sets the x offset of the ATB bars shown on the battler sprites as
 *           x                                                               
 *      5. <patb bar y: y>                                                   
 *         - Sets the y offset of the ATB bars shown on the battler sprites as
 *           y                                                               
 *      6. <patb bar opacity: opacity>                                       
 *         - Sets the opacity of the ATB bars shown on the battler sprites as
 *           opacity                                                         
 *      7. <patb bar text size: size>                                         
 *         - Sets the size of the description text of the ATB bars shown on   
 *           the battler sprites as size                                     

Plugin Calls
Code: [Select]
*    # Configuration manipulations                                           
 *      1. $gameSystem.patb.param                                             
 *         - Returns the value of param listed in the plugin manager         
 *      2. $gameSystem.patb.param = val                                       
 *         - Sets the value of param listed in the plugin manager as val     
 *         - All $gameSystem.patb.param changes will be saved                 
 *    # Actor/Class/Weapon/Armor/Enemy/State manipulations                   
 *      1. meta.patb_bar_show                                                 
 *         - Returns the code determining when the battler ATB bars will be   
 *           shown on the battler sprites                                     
 *      2. meta.patb_bar_show = code                                         
 *         - Sets the code determining when the battler ATB bars will be shown
 *           on the battler sprites as code                                   
 *         - All meta.patb_bar_show changes can be saved if                   
 *           DoubleX RMMV Dynamic Data is used                               
 *      3. meta.patb_bar_w                                                   
 *         - Returns the width of the ATB bars shown on the battler sprites   
 *      4. meta.patb_bar_w = w                                               
 *         - Sets the width of the ATB bars shown on the battler sprites as w
 *         - All meta.patb_bar_w changes can be saved if                     
 *           DoubleX RMMV Dynamic Data is used                               
 *      5. meta.patb_bar_h                                                   
 *         - Returns the height of the ATB bars shown on the battler sprites 
 *      6. meta.patb_bar_w = h                                               
 *         - Sets the height of the ATB bars shown on the battler sprites as h
 *         - All meta.patb_bar_h changes can be saved if                     
 *           DoubleX RMMV Dynamic Data is used                               
 *      7. meta.patb_bar_x                                                   
 *         - Returns the x offset of the ATB bars shown on the battler sprites
 *      8. meta.patb_bar_y = x                                               
 *         - Sets the x offset of the ATB bars shown on the battler sprites as
 *           x                                                               
 *         - All meta.patb_bar_x changes can be saved if                     
 *           DoubleX RMMV Dynamic Data is used                               
 *      9. meta.patb_bar_y                                                   
 *         - Returns the y offset of the ATB bars shown on the battler sprites
 *      10. meta.patb_bar_y = y                                               
 *          - Sets the y offset of the ATB bars shown on the battler sprites 
 *            as y                                                           
 *          - All meta.patb_bar_y changes can be saved if                     
 *            DoubleX RMMV Dynamic Data is used                               
 *      11. meta.patb_bar_opacity                                             
 *          - Returns the opacity of the ATB bars shown on the battler sprites
 *      12. meta.patb_bar_opacity = opacity                                   
 *          - Sets the opacity of the ATB bars shown on the battler sprites   
 *            as opacity                                                     
 *          - All meta.patb_bar_opacity changes can be saved if               
 *            DoubleX RMMV Dynamic Data is used                               
 *      13. meta.patb_bar_text_size                                           
 *          - Returns the size of the description text of the ATB bars shown 
 *            on the battler sprites                                         
 *      14. meta.patb_bar_text_size = size                                   
 *          - Sets the size of the description text of the ATB bars shown on 
 *            the battler sprites as size                                     
 *          - All meta.patb_bar_size changes can be saved if                 
 *            DoubleX RMMV Dynamic Data is used                               

Video
https://www.youtube.com/watch?v=xY_HrHi0e5M

Prerequisites
Plugins:
1. DoubleX RMMV Popularized ATB Core
Abilities:
1. Little Javascript coding proficiency to fully utilize this plugin

Terms Of Use
You shall keep this plugin's Plugin Info part's contents intact
You shalln't claim that this plugin's written by anyone other than DoubleX or his aliases
None of the above applies to DoubleX or his/her aliases
« Last Edit: September 16, 2016, 05:02:04 PM by DoubleX »

***
Scripter
Rep:
Level 36
Updates
Code: [Select]
*      v1.00b(GMT 1400 31-5-2016):                                           
 *      1. Improved this plugin's effectiveness, efficiency and readibility   

***
Scripter
Rep:
Level 36
Updates
Code: [Select]
*      v1.00c(GMT 1700 16-9-2016):                                           
 *      1. Improved this plugin's effectiveness, efficiency and robustness