• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Unit Collision Help.

Status
Not open for further replies.
Level 2
Joined
Sep 25, 2007
Messages
14
I'm making a TD Map but I got a problem on spawning a creeps,. I make them spawn 1 by 1 every 0.7 sec, but I'm not satisfied with the result. The creeps collide with the other creeps that they can't even walk smoothly, Does anyone have solution about this?

Thanks!
 
Order them to move as soon as they are spawned?
Increase the time interval between creeps spawning to 0.9 or 1 sec?
Reduce collision size to scale with unit size?
 
View attachment Just a TD Example.w3m

This is just a TD example, nothing special, just 4 regions.
Contains these triggers:


  • Spawn
    • Events
      • Time - Elapsed game time is 10.00 seconds
    • Conditions
    • Actions
      • Unit - Create 1 Footman for Player 2 (Blue) at (Center of Spawn Point 0 <gen>) facing Default building facing degrees
      • Wait 1.50 seconds
      • Unit - Create 1 Footman for Player 2 (Blue) at (Center of Spawn Point 0 <gen>) facing Default building facing degrees
      • Wait 1.50 seconds
      • Unit - Create 1 Footman for Player 2 (Blue) at (Center of Spawn Point 0 <gen>) facing Default building facing degrees
      • Wait 1.50 seconds
      • Unit - Create 1 Footman for Player 2 (Blue) at (Center of Spawn Point 0 <gen>) facing Default building facing degrees

  • Move to Point 1
    • Events
      • Unit - A unit enters Spawn Point 0 <gen>
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 2 (Blue)
    • Actions
      • Unit - Order (Triggering unit) to Move To (Center of Point 1 <gen>)


  • Move to Point 2
    • Events
      • Unit - A unit enters Point 1 <gen>
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 2 (Blue)
    • Actions
      • Unit - Order (Triggering unit) to Move To (Center of Point 2 <gen>)


  • Move to Point 3
    • Events
      • Unit - A unit enters Point 2 <gen>
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 2 (Blue)
    • Actions
      • Unit - Order (Triggering unit) to Move To (Center of Point 3 <gen>)


  • Move to Point 0
    • Events
      • Unit - A unit enters Point 3 <gen>
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 2 (Blue)
    • Actions
      • Unit - Order (Triggering unit) to Move To (Center of Spawn Point 0 <gen>)
 
What i tried to point out was how he would have done. Never said that these was 100% complete triggers.
 
Status
Not open for further replies.
Back
Top