[Review]DoubleX RMVXA Basic ATB Delay

Purpose
Aids other scripters to learn how a basic atb system script can be written

Configurations
  1.    # Sets the scale applied to the skill/item's invocation speed
  2.     # The sum of all inputted skills/items' invocation speeds, multiplied by
  3.     # this scale, will be subtracted from the battler's atb value right after
  4.     # that battler finished inputting all that battler's action slots
  5.     # If INVOCATION_SPEED_SCALE_VAR_ID is a natural number, the value of
  6.     # variable with id INVOCATION_SPEED_SCALE_VAR_ID will be used instead of
  7.     # using INVOCATION_SPEED_SCALE
  8.     # The value of variable with id INVOCATION_SPEED_SCALE_VAR_ID should remain
  9.     # the same during the same battle to ensure proper invocation speed scaling
  10.     INVOCATION_SPEED_SCALE = 10
  11.     INVOCATION_SPEED_SCALE_VAR_ID = 0
  12.  
  13.     # Sets the maximum atb value displayed on the atb bars
  14.     # If the actual atb value's greater than this, the atb bar's overlaid
  15.     # If MAX_ATB_VAL_VAR_ID is a natural number, the value of variable with id
  16.     # MAX_ATB_VAL_VAR_ID will be used instead of using MAX_ATB_VAL
  17.     # The value of variable with id MAX_ATB_VAL_VAR_ID should remain the same
  18.     # during the same battle to ensure proper atb bar display
  19.     MAX_ATB_VAL = 60000
  20.     MAX_ATB_VAL_VAR_ID = 0
  21.  
  22.     # Sets the atb value added when the battler's atb's reset
  23.     # If RESET_ATB_VAL_VAR_ID is a natural number, the value of variable with id
  24.     # RESET_ATB_VAL_VAR_ID will be used instead of using RESET_ATB_VAL
  25.     RESET_ATB_VAL = 60000
  26.     RESET_ATB_VAL_VAR_ID = 0
  27.  
  28.     # Sets the maximum atb value at the start of a battle
  29.     # If START_ATB_VAL_VAR_ID is a natural number, the value of variable with id
  30.     # START_ATB_VAL_VAR_ID will be used instead of using START_ATB_VAL
  31.     START_ATB_VAL = 60000
  32.     START_ATB_VAL_VAR_ID = 0
  33.  
  34.     # Sets the 1st atb bar overlay color as text color ATB_OVERLAY_COLOR1
  35.     # It'll be used when the atb bar's overlaid
  36.     # If ATB_OVERLAY_COLOR1_VAR_ID is a natural number, the value of variable
  37.     # with id ATB_OVERLAY_COLOR1_VAR_ID will be used instead of using
  38.     # ATB_OVERLAY_COLOR1
  39.     # The value of variable with id ATB_OVERLAY_COLOR1_VAR_ID should remain the
  40.     # same during the same battle to ensure proper atb bar color displays
  41.     ATB_OVERLAY_COLOR1 = 19
  42.     ATB_OVERLAY_COLOR1_VAR_ID = 0
  43.  
  44.     # Sets the 2nd atb bar overlay color as text color ATB_OVERLAY_COLOR2
  45.     # It'll be used when the atb bar's overlaid
  46.     # If ATB_OVERLAY_COLOR2_VAR_ID is a natural number, the value of variable
  47.     # with id ATB_OVERLAY_COLOR2_VAR_ID will be used instead of using
  48.     # ATB_OVERLAY_COLOR2
  49.     # The value of variable with id ATB_OVERLAY_COLOR2_VAR_ID should remain the
  50.     # same during the same battle to ensure proper atb bar color displays
  51.     ATB_OVERLAY_COLOR2 = 26
  52.     ATB_OVERLAY_COLOR2_VAR_ID = 0
Expand to see the code.


Games Using This Script
None so far

Video


Prerequisites
Scripts:
1. DoubleX RMVXA Basic ATB:
http://www.hbgames.org/forums/viewtopic.php?f=11&t=78855
Abilities:
1. Little RGSS3 scripting proficiency to fully utilize this script

Terms Of Use
You shall keep this script's Script Info part's contents intact
You shalln't claim that this script is written by anyone other than DoubleX or his aliases
None of the above applies to DoubleX or his aliases

Instructions
1. Open the script editor and put this script into an open slot between Materials and Main, save to take effect.

Authors
DoubleX

Changelog
  1. #    v1.00a(GMT 0400 9-8-2015):                                                |
  2. #    1. 1st version of this script finished                                    |
Expand to see the code.


Download Link
http://pastebin.com/BnZZ0npB

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=78856