05-14-2009, 04:13 PM
ARRRRRG!!!
I passed all the day changing things and testing and finally... only got errors XD
for that a try other thing, i add a new array to the anim battlers:
XL_STATIONARY_HEROES = []
this array contains the ID of the character in the database, not weapons, because in my game an 'archer' always be an 'archer' for that i don't need the weapons ID.
after that i add this line on anim battlers:
after the line 503
of sprite system.
finally i change some lines in your CTB:
CTB by Charlie - Scene_Battle line 1337:
for this
CTB by Charlie - Game_Battler line 68:
for this
CTB by Charlie - Reaction, Altruismo,etc line 16:
for this
for now in tests it works fine, but i want to know your opinion as scripter, Have I done all things well? or I forgot something? Is it possible that this changes give me an error in the future?
What do you think as scripter and as CTB creator? :D
I passed all the day changing things and testing and finally... only got errors XD
for that a try other thing, i add a new array to the anim battlers:
XL_STATIONARY_HEROES = []
this array contains the ID of the character in the database, not weapons, because in my game an 'archer' always be an 'archer' for that i don't need the weapons ID.
after that i add this line on anim battlers:
Code:
XL_STATIONARY_HEROES.include?(@battler.id)
Code:
MNK_STATIONARY_ITEMS.include?(@item_used) or
finally i change some lines in your CTB:
CTB by Charlie - Scene_Battle line 1337:
Code:
unless MNK_STATIONARY_WEAPONS.include?(@active_battler.weapon_id)
Code:
unless XL_STATIONARY_HEROES.include?(@active_battler.id)
CTB by Charlie - Game_Battler line 68:
Code:
if MNK_STATIONARY_WEAPONS.include?(attacker.weapon_id)
Code:
if XL_STATIONARY_HEROES.include?(attacker.id)
CTB by Charlie - Reaction, Altruismo,etc line 16:
Code:
unless MNK_STATIONARY_WEAPONS.include?(self.weapon_id)
Code:
unless XL_STATIONARY_HEROES.include?(self.id)
for now in tests it works fine, but i want to know your opinion as scripter, Have I done all things well? or I forgot something? Is it possible that this changes give me an error in the future?
What do you think as scripter and as CTB creator? :D