Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Walling off on a defense map
Walling off on a defense map
Apr 5 2017, 6:06 am
By: DrSteele  

Apr 5 2017, 6:06 am DrSteele Post #1



I'm making a defense map where units walk down a simple lane and the player needs to build a maze for the units to go through. I remember some maps where the units would attack your buildings if their path was blocked. How is this done? Currently if the path is blocked the units will get stuck.

My Defense uses disabled bunkers, could this be the reason why the offensive units do not attack?

Are there any other ways of preventing walling off completely? The only other method I can think of is adding terrain on the sides that is unbuildable.

Also, even if the player hasn't walled off, but simply built a small cavern to trap the attackers, the units often times get stuck and don't back out to go around the maze. I don't remember other similar maps (Like Defense F) having this issue. Could it be a problem with the number of units spawning, or the direction they are moving, size of the lane, or the trigger ordering the move command? Or I may just be out of luck cause i'm mostly only seeing this issue with dumber units like the dragoon and siege tank.




Apr 5 2017, 8:18 am Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Disabled bunkers are cloaked. Thus, the enemy units might not see them and therefore only flee when being attacked. So, try sharing vision.




Apr 5 2017, 3:31 pm DrSteele Post #3



Ah yes, I think that was it. Totally slipped my mind. Thanks!



None.

Apr 5 2017, 6:10 pm NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from DrSteele
units would attack your buildings if their path was blocked. How is this done?
You order the units to move, so they normally don't attack. When their path is blocked they briefly try to find a way and when they determine there is no path to their target they simply stop, cancelling their move order. Then the normal idle unit ai kicks in and makes them stand there and attack their surroundings.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: Sie_Sayoka, Butch