• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

how to make things more natural?

Status
Not open for further replies.
Level 4
Joined
Mar 27, 2009
Messages
66
It would involve a great number of regions/triggers to make it natural.
Guess only good option is wander if you want dumb animals.

i would do wander, but then wolves don't attack...they just run away because the wander triggers when they are attacked for some reason.

edit: is there a way i could force the wolves to attack, and ignore wander?
 
Last edited:
Level 6
Joined
Apr 26, 2007
Messages
225
Here is an exemple of what you can do i dint test or check for leaks sorry but i think it might help a bit:

  • Wolf
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (Unit-type of (Attacked unit)) Equal to Timber Wolf
          • (Owner of (Attacked unit)) Equal to Neutral Hostile
    • Actions
      • Unit - Order (Attacked unit) to Attack-Move To (Position of (Attacking unit))
 
Level 8
Joined
Nov 9, 2008
Messages
502
....or remove the Wander ability, if you can, when the wolf aquires a target. That means he will run to attack instead of the above trigger which would only attack when attacked.

OR

You do not need regions. You can easily have a trigger that plays every <<random>> seconds that orders units to move a <<random>> distance in a <<random>> direction (polar offset).
 
Level 2
Joined
Aug 1, 2009
Messages
10
It might be more natural if you remove "Stats - can flee" from the units. Thats what i used and it works fine.
 
Level 4
Joined
Mar 27, 2009
Messages
66
....or remove the Wander ability, if you can, when the wolf aquires a target. That means he will run to attack instead of the above trigger which would only attack when attacked.

OR

You do not need regions. You can easily have a trigger that plays every <<random>> seconds that orders units to move a <<random>> distance in a <<random>> direction (polar offset).

that second part seems like it would lag quite a bit...
 
Level 8
Joined
Nov 9, 2008
Messages
502
Why? I have had very much more complex triggers running every 0.02 seconds with no visible lag.

You'll only want to run it every 30-60 secs anyway.

You could make it look even better by reducing their movement speed while they are wandering so it looks like they are walking, then when they go to atatck you remove the debuff so they appear to run to attack.
 
Status
Not open for further replies.
Top