Normal Attack Animation Replacer

Need some help getting started writing a plugin.

Problem:

$gameActors uses Animation1 (hit1) for unarmed attacks other whatever the weapons animation is otherwise for skill 1.

What i Want to do:
1. I want to be able to change it so actors use a different animation.
2. I want to assign the battlers animation for skill 1 for each individual battler.

Solution: pending
do you know what the setting "normal attack" really means and does?
it means "check the equipped weapon of the actor and switch to the animations and elements and states assigned by it"

And the different weapon types (including "unarmed") are set in the systems tab of the database.
If things go differently, then either you haven't configured those settings correctly for the weapon type that is equipped by the actor, or a plugin messes up the setting (yanfly's battlecore for example has settings that override those)

So "normal attack" has no direct setting, it already includes the replacer you want by default, and if you want a different form of replacement you need to describe what exactly you want.
especially because that "39" animation sounds as if you already have a plugin that messes this up...
Okay, so i checked and yes their is a setting for battlers so that is addressed.
But actors lack that. And I use unarmed attack for the MC. Why you may ask?

'Her hands are registered as lethal weapons, she gets into a fight and she accidently kills someone. she goes to jail.''
there is a setting "bare armed" for the weapon type, and I think you're confusing actors and battlers somehow as well, because your descriptions make no sense.
can you give us some screenshots of what you're referring to?

Moved to Learning Javascript

Oh sorry for the confusion. I was never referring too weapon types to begin with. I was referring to the animation which is 1 by default. The animation that plays when you attack the enemy. For example the default animation is Hit Physical for example.

Original thread: https://forums.rpgmakerweb.com/threads/normal-attack-animation-replacer.110849/