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.
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
Please log in to shout.


Members Online: Ultraviolet