- Code:
-
#=============================================================================
# ENEMY OPTIONS
#=============================================================================
# These are the attack animations for enemies when they use a regular attack.
# It follows this format: enemy_id => animation_id
ENEMY_ATK_ANIMS = {
1 => 4,
6 => 2,
5 => 27
}
enemy_id : id dari enemy yang ada di database, settingan default dari rmvx:
1 => Slime
6 => Willowisp
5 => Rat
sebelah kanannya animation_id : id dari animasi pada tab animation, default:
4 => Melee/Thunder
2 => Melee/Fire
27 => Breath/Thunder
jadi kalo misalnya lagi lawan Slime, pas dia attack pasti keluar animasi "Melee/Thunder", dst.
untuk ilangin efek animasi cukup kosongin aja.
- Code:
-
# This is the default enemy attack animation, used when they do not have a
# specific attack animation above.
ENEMY_ATK_ANIMS.default = 1
nah kalo dikosongin (selain enemy_id yang di setting di atas) ketika melakukan Attack, di setting default pakai animation_id = 1 (Melee/Physical)
masalah bikin actor posisi terdampar, edit aja pake sotosop atau image editor apapun.
tinggal main rotate doang