• 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.

Creep Attack Distances

Status
Not open for further replies.
Level 8
Joined
Dec 10, 2006
Messages
544
Hello,
I'm currently working on an ORpg project, (Link in signature for all interested)
and I'm currently running into a little problem, I've crafted a forest for my Timber Wolves, but they notice when far away wolves are being attack so swarms of them come to that one location.
I'm mainly asking, how would I make it where they won't recognize a a wolf, like, across a set of 3 lines of trees being attack and charge over?

Much Help would be appreciated.
Thank You. For Reading.
-Calvin
 
Level 8
Joined
Dec 10, 2006
Messages
544
Well you could try lowering their eye sight radius in the object editor.

I've tried this, it doesn't much help any.
Thanks for reading tho.

If the units are neutral hostile you can change their 'notice' distance in: Advanced --> Game Constants

(Theirs 2 of them)

I've noticed this, they are neutral hostile,
but I'm not quite sure what either of them do, I'll experiment with it a bit,
thanks for reading. =]
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
Basically for creep AI, wc3 makes so called camps. These camps consist of all creeps within a certain distance from each other and from one entity in the middle. If the camp is attacked all units in the camp will go and attack the attackers.

The other form of mobing creep AI consists of them alearting all other creeps around them in X distance (X is one of the game play constants) to attack the attacker. By the sounds of it your X value is too high for the density of creeps you are using. Like stated, lower it to the size you want creeps to come rushing to help each other.
 
Level 8
Joined
Dec 10, 2006
Messages
544
Basically for creep AI, wc3 makes so called camps. These camps consist of all creeps within a certain distance from each other and from one entity in the middle. If the camp is attacked all units in the camp will go and attack the attackers.

The other form of mobing creep AI consists of them alearting all other creeps around them in X distance (X is one of the game play constants) to attack the attacker. By the sounds of it your X value is too high for the density of creeps you are using. Like stated, lower it to the size you want creeps to come rushing to help each other.

Ah. =]
Thank You, that explains most of it, and I understand.
Thank you a lot, now I won't have 16 wolves attack towards my Heroes. =]
Thanks for the Help.
 
Status
Not open for further replies.
Top