1
0
forked from 0ad/0ad

Adjust animal stances.

There have been complaints on the forums (e.g.
https://wildfiregames.com/forum/topic/51245-how-do-you-guys-feel-about-a25-in-terms-of-how-much-fun-you-have-compared-to-a23-or-a24/#comment-446690).
Boar and walrus now behave the same as the elephants (only attack back
when attacked), whilst most other animals have defensive stance (attack
only within some smaller distance and chase until left vision).

Differential revision: https://code.wildfiregames.com/D4533
Reviewed by: @marder, @wowgetoffyourcellphone
Comment by: @Silier
This was SVN commit r26694.
This commit is contained in:
Freagarach 2022-03-21 06:58:13 +00:00
parent aca70ab800
commit 3c0c9098cf
23 changed files with 30 additions and 21 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_aggressive_bear">
<Entity parent="template_unit_fauna_hunt_defensive_bear">
<Attack>
<Melee>
<AttackName>Paws</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_aggressive_bear">
<Entity parent="template_unit_fauna_hunt_defensive_bear">
<Attack>
<Melee>
<AttackName>Paws</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_aggressive_bear">
<Entity parent="template_unit_fauna_hunt_defensive_bear">
<Attack>
<Melee>
<AttackName>Paws</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_aggressive">
<Entity parent="template_unit_fauna_hunt_passive-defensive">
<Attack>
<Melee>
<AttackName>Tusks</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_defensive_bull">
<Entity parent="template_unit_fauna_hunt_passive-defensive_bull">
<Attack>
<Melee>
<AttackName>Horns</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_wild_aggressive">
<Entity parent="template_unit_fauna_wild_defensive">
<Attack>
<Melee>
<AttackName>Teeth</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_defensive_elephant">
<Entity parent="template_unit_fauna_hunt_passive-defensive_elephant">
<Attack>
<Melee>
<AttackName>Trunk</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_defensive_elephant">
<Entity parent="template_unit_fauna_hunt_passive-defensive_elephant">
<Attack>
<Melee>
<AttackName>Trunk</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_defensive_elephant">
<Entity parent="template_unit_fauna_hunt_passive-defensive_elephant">
<Attack>
<Melee>
<AttackName>Trunk</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_aggressive">
<Entity parent="template_unit_fauna_hunt_defensive">
<Attack>
<Melee>
<AttackName>Tusks</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_wild_violent">
<Entity parent="template_unit_fauna_wild_defensive">
<Attack>
<Melee>
<AttackName>Paws</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_aggressive">
<Entity parent="template_unit_fauna_hunt_defensive">
<Attack>
<Melee>
<AttackName>Horn</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_wild_violent">
<Entity parent="template_unit_fauna_wild_defensive">
<Attack>
<Melee>
<AttackName>Paws</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_defensive">
<Entity parent="template_unit_fauna_hunt_passive-defensive">
<Attack>
<Melee>
<AttackName>Tusks</AttackName>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_wild_aggressive">
<Entity parent="template_unit_fauna_wild_defensive">
<Attack>
<Melee>
<AttackName>Fangs</AttackName>

View File

@ -4,6 +4,9 @@
<GenericName>Arctic Wolf</GenericName>
<Icon>gaia/fauna_arctic_wolf.png</Icon>
</Identity>
<UnitAI>
<DefaultStance>aggressive</DefaultStance>
</UnitAI>
<VisualActor>
<Actor>fauna/arctic_wolf.xml</Actor>
</VisualActor>

View File

@ -52,6 +52,6 @@
<RetainInFog>true</RetainInFog>
</Visibility>
<Vision>
<Range>60</Range>
<Range>90</Range>
</Vision>
</Entity>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt">
<UnitAI>
<DefaultStance>passive-defensive</DefaultStance>
<DefaultStance>defensive</DefaultStance>
</UnitAI>
</Entity>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_aggressive">
<Entity parent="template_unit_fauna_hunt_defensive">
<ResourceSupply>
<Max>300</Max>
</ResourceSupply>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt">
<UnitAI>
<DefaultStance>passive-defensive</DefaultStance>
</UnitAI>
</Entity>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_defensive">
<Entity parent="template_unit_fauna_hunt_passive-defensive">
<Sound>
<SoundGroups>
<select>actor/fauna/animal/cattle_select.xml</select>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_defensive">
<Entity parent="template_unit_fauna_hunt_passive-defensive">
<Identity>
<VisibleClasses datatype="tokens">Elephant</VisibleClasses>
</Identity>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_wild">
<UnitAI>
<DefaultStance>passive-defensive</DefaultStance>
<DefaultStance>defensive</DefaultStance>
</UnitAI>
</Entity>