DoubleX RMVXA Basic ATB Bar

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,787
Reaction score
939
First Language
Chinese
Primarily Uses
N/A
Note


For scripters going to learn from this script, reading how to write an atb system script first can help quite a lot.


Purpose


Aids other scripters to learn how atb system addon dependency can be solved


Script Calls

 




# * Battle manipulations |
# 1. batb_offset_change = true |
# - Notifies that the atb bars' x or y offsets are changed |



Configurations

 




# Sets the actor atb bars to be shown at their sprites instead of the
# status window if ATB_BAR_ACTOR returns true
# It should only return true if the actor sprites are already created
# If ATB_BAR_WIDTH_SWITCH_ID is a natural number, the state of switch with
# id ATB_BAR_WIDTH_SWITCH_ID will be used instead of using ATB_BAR_ACTOR
# The state of switch with id ATB_BAR_WIDTH_SWITCH_ID should remain the same
# during the same battle to ensure proper atb bar displays
ATB_BAR_ACTOR = false
ATB_BAR_ACTOR_SWITCH_ID = 0

# Sets the maximum atb bar width as ATB_BAR_W
# If ATB_BAR_W_VAR_ID is a natural number, the value of variable with id
# ATB_BAR_W_VAR_ID will be used instead of using ATB_BAR_W
# The value of variable with id ATB_BAR_W_VAR_ID should remain the same
# during the same battle to ensure proper atb bar displays
ATB_BAR_W = 48
ATB_BAR_W_VAR_ID = 0

# Sets the atb bar height as ATB_BAR_H
# If ATB_BAR_H_VAR_ID is a natural number, the value of variable with id
# ATB_BAR_H_VAR_ID will be used instead of using ATB_BAR_H
# The value of variable with id ATB_BAR_H_VAR_ID should remain the same
# during the same battle to ensure proper atb bar displays
ATB_BAR_H = 12
ATB_BAR_H_VAR_ID = 0

# Sets the atb bar x offset from the battler sprite as ATB_BAR_X
# If ATB_BAR_X_VAR_ID is a natural number, the value of variable with id
# ATB_BAR_X_VAR_ID will be used instead of using ATB_BAR_X
# The value of variable with id ATB_BAR_X_VAR_ID should remain the same
# during the same battle to ensure proper atb bar displays
ATB_BAR_X = -12
ATB_BAR_X_VAR_ID = 0

# Sets the atb bar y offset from the battler sprite as ATB_BAR_Y
# If ATB_BAR_Y_VAR_ID is a natural number, the value of variable with id
# ATB_BAR_Y_VAR_ID will be used instead of using ATB_BAR_Y
# The value of variable with id ATB_BAR_Y_VAR_ID should remain the same
# during the same battle to ensure proper atb bar displays
ATB_BAR_Y = -8
ATB_BAR_Y_VAR_ID = 0

# Sets the atb bar z position as ATB_BAR_Z
# If ATB_BAR_Z_VAR_ID is a natural number, the value of variable with id
# ATB_BAR_Z_VAR_ID will be used instead of using ATB_BAR_Z
# The value of variable with id ATB_BAR_Z_VAR_ID should remain the same
# during the same battle to ensure proper atb bar displays
ATB_BAR_Z = 125
ATB_BAR_Z_VAR_ID = 0

# Sets the atb back bar color 1 as ATB_BACK_COLOR1
# If ATB_BACK_COLOR1_VAR_ID is a natural number, the value of variable with
# id ATB_BACK_COLOR1_VAR_ID will be used instead of using ATB_BACK_COLOR1
# The value of variable with id ATB_BACK_COLOR1_VAR_ID should remain the
# same during the same battle to ensure proper atb back bar color displays
ATB_BACK_COLOR1 = 15
ATB_BACK_COLOR1_VAR_ID = 0

# Sets the atb back bar color 2 as ATB_BACK_COLOR2
# If ATB_BACK_COLOR2_VAR_ID is a natural number, the value of variable with
# id ATB_BACK_COLOR2_VAR_ID will be used instead of using ATB_BACK_COLOR2
# The value of variable with id ATB_BACK_COLOR2_VAR_ID should remain the
# same during the same battle to ensure proper atb back bar color displays
ATB_BACK_COLOR2 = 15
ATB_BACK_COLOR2_VAR_ID = 0



Games Using This Script


None so far


Video










Prerequisites


Scripts:


1. DoubleX RMVXA Basic ATB


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 DoubleX RMVXA Basic ATB and Main, save to take effect.


Authors Notes


None so far


FAQ


None so far


Authors


DoubleX


Changelog

 




# v1.00b(GMT 0900 9-9-2015): |
# 1. Fixed drawing the actor sprite atb bars and window atb bars together |
# 2. Fixed not updating the atb bar positions when their offsets changes |
# 3. Little RGSS3 scripting proficiency's needed to fully utilize the script|
# v1.00a(GMT 0900 22-8-2015): |
# 1. 1st version of this script finished |



(DoubleX)BATB Bar v1.00b.rar
 

Attachments

Last edited by a moderator:

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,787
Reaction score
939
First Language
Chinese
Primarily Uses
N/A
Updates

Code:
#    v1.00b(GMT 0900 9-9-2015):                                                |#    1. Fixed drawing the actor sprite atb bars and window atb bars together   |#    2. Fixed not updating the atb bar positions when their offsets changes    |#    3. Little RGSS3 scripting proficiency's needed to fully utilize the script|
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top