this contain the unit attack particle files damage, attack speed and sounds
<skill>
<type value="attack"/>
<name value="attack_skill"/>
<ep-cost value="0"/>
<speed value="300"/>
<anim-speed value="40"/>
<animation path="models/ant.g3d"/>
<sound enabled="true" start-time="0.2">
</sound>
<attack-strenght value="20"/>
<attack-var value="25"/>
<attack-range value="1"/>
<attack-type value="blade"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<attack-start-time value="0.45"/>
<projectile value="true">
<particle value="true" path="particle_proj.xml"/>
<sound enabled="true">
</sound>
</projectile>
<splash value="false"/>
</skill>
and this for if you want the creature to have an attack button, if not you can attack by side clicking the enemy but the cpu wont use it.
<command>
<type value="attack"/>
<name value="attack"/>
<image path="images/initiate_attack.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<attack-skill value="attack_skill"/>
</command>