tolong ya saya bingung cara nggunain script" ini
Enemy Animated Battlers
#==============================================================================
# โ Enemy Animated Battlers for RPG Tankentai Sideview Battle System
# 1.17.09
#------------------------------------------------------------------------------
# Script by Kylock
# Updated by Mr. Bubble
# Visual Guide at:
# http://www.rpgrevolution.com/forums/index.php?s=&showtopic=18304&view=findpost&p=212499
#==============================================================================
# Easy to implement interface to specify animated battlers for enemies. Note
# enemy batters must be formatted THE SAME as your character battlers. Also,
# you must have 2 copies of your enemy battler:
# <game folder>\Graphics\Battlers\$<enemy name>.png
# <game folder>\Graphics\Characters\$<enemy name>.png
#
# If you are using this script with the Kaduki's Battlers setup, enemies must
# have "_1", "_2" and "_3" files in the Characters folder similar to the
# Kaduki actors. See inside Kaduki demo's Characters folder for an example.
#
# If used with IAB, enemies must have a 4x11 "_1" file in the Characters
# folder. See inside IAB demo's Characters folder for an example.
#
# When you set up your "troops" for the encounter, you may need to tweak the
# positioning of the enemy as the sprites look funny and the actual placement
# may be slightly off. A few battle tests should be sufficient.
# Enemy shadows may also look odd. You may adjust or change the shadow using
# the respective settings within this script.
#
# All settings in this add-on can also be done within the Configuration script.
#==============================================================================
module K_ENEMY_BATTLERS
ENEMY_ID = [1] # list of enemies with batter sprites(ex. [1,24])
end
class Game_Enemy < Game_Battler
#--------------------------------------------------------------------------
# โ Enemy Screen Positioning Adjustment
#--------------------------------------------------------------------------
# Postive Y-values move the battler down. Negatives move the shadow up.
# If the battler is offscreen, it is suggested to use this to function.
#
# return [ 0, 0] <- [X-coordinateใY-coordinate]
alias bubs_eab_position_plus position_plus
def position_plus
case @enemy_id
when 33 # Animated Slime
return [0, 0]
end
bubs_eab_position_plus
end
#--------------------------------------------------------------------------
# โ Enemy Shadow
#--------------------------------------------------------------------------
# Define a separate shadow image file for an enemy battler.
#
# return "shadow01" <- Image file name in .Graphics/Characters
# return "" <- No shadow used.
alias bubs_eab_shadow shadow
def shadow
case @enemy_id
when 31, 32, 33 # Ralph, Mercenary, Animated Slime
return "shadow00"
end
bubs_eab_shadow
end
#--------------------------------------------------------------------------
# โ Enemy Shadow Adjustment
#--------------------------------------------------------------------------
# Postive Y-values move the shadow down. Negatives move the shadow up.
#
# return [ X-Coordinate, Y-Coordinate]
alias bubs_eab_shadow_plus shadow_plus
def shadow_plus
case @enemy_id
when 33 # Animated Slime
return [ 0, 1]
when 31, 32 # Ralph, Mercenary
return [ 0, 5]
end
bubs_eab_shadow_plus
end
#--------------------------------------------------------------------------
# โ Enemy Animated Battler Settings
#--------------------------------------------------------------------------
alias keb_anime_on anime_on
def anime_on
for x in K_ENEMY_BATTLERS::ENEMY_ID
return true if @enemy_id == x
end
keb_anime_on
end
#--------------------------------------------------------------------------
# โ Enemy Invert Settings
#--------------------------------------------------------------------------
alias keb_action_mirror action_mirror
def action_mirror
for x in K_ENEMY_BATTLERS::ENEMY_ID
return true if @enemy_id == x
end
keb_action_mirror
end
end
sama ini
Enemy Equipped Weapons
=begin
--------------------------------------------------------------------------
โ Enemy Equipped Weapon Addon for RPG Tankentai Sideview Battle System
8/27/08
--------------------------------------------------------------------------
With this addon, you can equip a weapon from your Database to an Enemy.
You can already do this within the Config script, but creating a seperate
addon with an easier explanation would be better for people who are new. Do
not expect this to work with Kylock's Stationary Enemies Addon.
When an enemy is equipped with a weapon, the weapon sprite will also appear
when any Weapon Animation actions are used just like an actor's weapon. They
will also gain any stat boosts the weapon provides.
To equip more enemies with weapons, add in more case statements under
"case @enemy_id" like this:
when 31 # Enemy ID number
return 2 # Weapon ID number
when 32
return 2
when 1
return 3
=end
class Game_Enemy < Game_Battler
alias bubs_enemy_equipped_weapon weapon
def weapon
case @enemy_id
when 1 # Enemy ID number
return 1 # Weapon ID number
when 32
return 69
when 34
return 69
end
bubs_enemy_equipped_weapon
end
end
tolong dibantu ya