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.
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
Please log in to shout.


Members Online: Dem0n