Attack Mystery - short range attack behaves strange

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
User avatar
Phex
Posts: 251
Joined: Tue Aug 24, 2004 6:26 pm

Post by Phex »

I have made a unit with a long-range and a short-range attack (like the myth archer with his knife).
But when I double click on a near target and let the unit use its short-range attack, it always turns arround 180° and back before it attacks. The attack itself works fine.

I would be glad about a helping hint.

- Phex.

Edit: I also have another question: whats the trigger for a unit to switch to its running sequence?
thank you for your help.
Image
User avatar
ChrisP
Posts: 977
Joined: Fri Mar 12, 2004 10:57 pm
Location: Upstate New York

Post by ChrisP »

Off the top of my head, here are some things to try. Dunno if any will work.

1. Reduce or increase the minimum range of the long range attack.

2. Change the order of attacks in the attack dialog box, i.e. if the short range attack is first on the list, make it second.

3. Duplicate the short range attack. Check the "Is Primary Attack" box. Use this attack in conjunction with your original short range attack while you repeat experiments with combos of #1 and # 2 above.

As for causing a unit to charge, I think you have to select the unit you want to make charge and click on an enemy unit that is within a set range.
User avatar
haravikk
Site Admin
Posts: 987
Joined: Mon Mar 22, 2004 12:56 pm
Location: Scotland

Post by haravikk »

Run sequences can be used in two different ways:

First is ambient life, units with the 'Deer' script chosen in their tag will run away when units come near.

The 'Charge' ability. If you are using Fear 1.5 for Windows then you should have a new set of options which allow you to specify the unit as having the charge ability, this will require you to set a percentage by which the unit's speed increases, and also a range within which the unit will charge an enemy. All the info is in the docs.

When the unit is in charge range of the enemy and told to attack, or told to attack and makes it within charge range of the enemy, they will run at the speed determined by the settings and use their running sequence.
Being Haravikk gets you girls like these:
Image
User avatar
carlinho
Posts: 1224
Joined: Tue Jun 08, 2004 8:23 pm

Post by carlinho »

you can also check in page 2 of this mapmaking forums a topic by the name:

couple of fear questions

where I asked same thing and the guys at magma gave some really good answers too.
http://carlinho7.tripod.com
Home of ANCIENT and CLASSICAL GREECE plugin on the works.
Image
Post Reply