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.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[2026-7-23. : 1:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: Mithras Gnosis