Unit Error?

Discussion in 'Maps and Replays' started by Shadowdragon, Dec 7, 2007.

Unit Error?

Discussion in 'Maps and Replays' started by Shadowdragon, Dec 7, 2007.

  1. Shadowdragon

    Shadowdragon New Member

    Joined:
    Jul 17, 2007
    Messages:
    507
    Likes received:
    0
    Trophy points:
    0
    I have a map with a problem...see, it spawns a horde of units, but I keep getting placement errors in game. I've done a few things to allieviate the problem, but the error isn't consistant, so tracking it is hard. I think it's caused by one of two things:
    1. Units keep trying to spawn on top of each other
    2. The unit count in-game is being maxed.

    Any ideas? Or at least, is it possible to make the stupid spawn error not appear in game?

    Serially, that stupid alarm sound ruins the mood. :p
     
  2. The Watcher

    The Watcher Guest

    I don't have any experience with UMS maps, but what i've learned guessed is that with placement errors it is that their is no room for whatever creature to spawn in that area. (maybe making the area from where they spawn larger, to/or spread out the spawn points.

    Don't know if this will help :(
     
  3. Shadowdragon

    Shadowdragon New Member

    Joined:
    Jul 17, 2007
    Messages:
    507
    Likes received:
    0
    Trophy points:
    0
    It helps a bit, as does making the units spawn in smaller waves...but the error continues regardless.
     
  4. needler

    needler New Member

    Joined:
    Aug 18, 2007
    Messages:
    273
    Likes received:
    0
    Trophy points:
    0
    Maybe the units spawn too fast, so the first wave don't have time to move out of the way before the second wave spawns.
     
  5. Rex

    Rex New Member

    Joined:
    Jul 14, 2007
    Messages:
    1,032
    Likes received:
    0
    Trophy points:
    0
    Maybe you map is corrupted and you need to make a new one?
     
  6. longlivefenix

    longlivefenix New Member

    Joined:
    Sep 8, 2007
    Messages:
    648
    Likes received:
    0
    Trophy points:
    0
    maybe you should make many different locations that will all spawn at the same time :-\
    but idk
     
  7. Shadowdragon

    Shadowdragon New Member

    Joined:
    Jul 17, 2007
    Messages:
    507
    Likes received:
    0
    Trophy points:
    0
  8. Imagine.

    Imagine. New Member

    Joined:
    Jun 24, 2007
    Messages:
    1,260
    Likes received:
    4
    Trophy points:
    0
    The problem with the Unit Placement error is because a location you are spawning units at is not traversable or the location spawns too many units at once. The way StarCraft functions in creating units at a location is pretty much a grid-like pattern. It'll build until it makes a full square of units. Once the square is full, the unit placement error activates.

    Judging by your location placement, the two spawn points overlap, doubling the rate the square fills up at. Might want to move them a little bit away from each other and place a wait trigger.
     
  9. Shadowdragon

    Shadowdragon New Member

    Joined:
    Jul 17, 2007
    Messages:
    507
    Likes received:
    0
    Trophy points:
    0
    Well, that reduced the problem, but I guess that error likes me to much to leave. There isn't, per chance, simply a way to stack the units when they spawn, is there?
     
  10. Imagine.

    Imagine. New Member

    Joined:
    Jun 24, 2007
    Messages:
    1,260
    Likes received:
    4
    Trophy points:
    0
    I cannot believe I forgot to ask you what sets off the spawning trigger. There is a way to stack (Zerg) units, but they would have to be burrowed.
     
  11. Shadowdragon

    Shadowdragon New Member

    Joined:
    Jul 17, 2007
    Messages:
    507
    Likes received:
    0
    Trophy points:
    0
    A scenario time elapsed condition (least). The problem is mainly with hydralisks, but also some mutas at the end.
     
  12. Imagine.

    Imagine. New Member

    Joined:
    Jun 24, 2007
    Messages:
    1,260
    Likes received:
    4
    Trophy points:
    0
    Okay! There is your problem! Once the specific time has elapsed, the condition will be recurring, hence the over-spawning. You might want to activate the spawn trigger using a switch or death counter. Here is how it will work:

    The above trigger sets up the switch.

    This trigger reacts to the switch by creating any amount of units all the while shutting off.

    You could work around these triggers so that switch 1 is set every time opponents do something or when a specific time has passed. An example would be having the game time pass 11 seconds, the result would be switch 1 set. Then when the game passes 22 seconds, the switch will be set again! Hope this helps!
     
  13. Shadowdragon

    Shadowdragon New Member

    Joined:
    Jul 17, 2007
    Messages:
    507
    Likes received:
    0
    Trophy points:
    0
    Ok...well, I'll give it a try.
     
  14. Imagine.

    Imagine. New Member

    Joined:
    Jun 24, 2007
    Messages:
    1,260
    Likes received:
    4
    Trophy points:
    0
    Let me know if it solves the problem!
     
  15. Shadowdragon

    Shadowdragon New Member

    Joined:
    Jul 17, 2007
    Messages:
    507
    Likes received:
    0
    Trophy points:
    0
    A switch solved the problem, but a diffrent kind of switch. The problem occured because units were in the spawn area. So I made a switch make them disappear. I don't know how to fix the path-finding problem, but this should work.