Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: create unit problem
create unit problem
Jul 26 2011, 10:30 am
By: okeee  

Jul 26 2011, 10:30 am okeee Post #1



i made a ums map, and when playing a game, this message appeared: "unable to create unit". so not, "cannot create more units". but i couldnt create any more buildings it seems but i can create more men. what does it mean and why does it occur?

Post has been edited 1 time(s), last time on Jul 26 2011, 10:45 am by okeee.



None.

Jul 26 2011, 11:17 am Lanthanide Post #2



More specifics on what you are doing when this message appears would be helpful. Does this message occur when you try to build buildings with a worker? Or is it the result of a trigger firing? What is the trigger doing?

One problem I know with creating buildings, although I don't think it prints out any sort of message so this may not be your problem at all, is when you try to create a Lifted terran building over unbuildable terrain. The way it creates lifted terran buildings is to create the building first, then apply the 'lifted' property, so you can't create lifted buildings over water, you must first create them over land and then move them there.



None.

Jul 26 2011, 11:25 am okeee Post #3



it seems to display whenever i want to create a men or building. men seem to be able to be created, buildings sometimes not. also i noticed that units stopped shooting, they try to shoot but they cant fire their shots.



None.

Jul 26 2011, 1:42 pm Azrael Post #4



You have too many units on the map.




Jul 26 2011, 2:17 pm Sacrieur Post #5

Still Napping

^ More or less.

You've hit the sprite limit, meaning that sprites (e.g., attacks) are going to stop appearing. Valkyries are notorious for doing this quickly. And you cannot create a building because the place you're trying to create it simply isn't terrain that can be built upon.



None.

Jul 26 2011, 2:40 pm poison_us Post #6

Back* from the grave

The limit for units is 1700, and sprites I can't remember exactly but I think it's around 100. Which is probably wrong. The reason why you can make men and sometimes not buildings is because the limit is getting hit by the men, and the buildings try to spawn before something dies. Try reducing the number of units on the map.




Jul 26 2011, 3:27 pm Roy Post #7

An artist's depiction of an Extended Unit Death

The max sprites is 500. This kind of information can be found in http://www.staredit.net/topic/7783/.

Quote from Sacrieur
And you cannot create a building because the place you're trying to create it simply isn't terrain that can be built upon.
Buildings count as units, and you cannot create any buildings when you hit the max unit limit.




Jul 26 2011, 3:54 pm poison_us Post #8

Back* from the grave

Ah, that's right, it was 80 for Valkyries or something in the wiki, was getting it mixed up.




Jul 26 2011, 4:07 pm okeee Post #9



well i used sprites, 500, to replace units, because i wanted to avoid creating too much units. I already had too much units, so i used sprites instead. and with sprites, there was no problem at first when buildin buildings or creating units. so how does this limit exactly work?



None.

Jul 26 2011, 6:33 pm poison_us Post #10

Back* from the grave

Preplacing Sprites as units does nothing, IIRC, except give some odd properties. There's no difference to the total unit/sprite count..unless you used whichever set of sprites is unselectable and untargetable, which would only add the sprite.




Jul 26 2011, 8:31 pm okeee Post #11



so sprites that are selectable are detected as units and add to the 1700 unit limit count? i checked and the most used sprites in the map are unselectable.



None.

Jul 27 2011, 10:30 pm rockz Post #12

ᴄʜᴇᴇsᴇ ɪᴛ!

Unit sprites (you can move them around like normal units) are units. I think this is how Staredit makes traps work: via unit sprite attached to the doodad.

Therefore they will add to the 1700 max unit count.

Non-selectable sprites are not units, just images. They count towards the sprite limit, which is either 2500 or 5000. Units also count towards the sprite limit. The pre-placed sprite limit is 499 or something like that.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jul 28 2011, 7:17 pm okeee Post #13



ok, so "unable to create unit" is because of the sprite limit? what else counts to the sprite limit besides units, non-selectable sprites and unit sprites? in the map there are about 1000 units and 499 sprites, most nonselectable.



None.

Jul 28 2011, 7:27 pm rockz Post #14

ᴄʜᴇᴇsᴇ ɪᴛ!

http://www.staredit.net/starcraft/Map_limits

I have no idea which limit you're hitting. It might be the sprite limit. It might be the image limit (unlikely). You might have 1700 units and just not realize it. In any case, you're clearly doing too much in the map.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jul 31 2011, 7:07 am okeee Post #15



if there were 1700 units, would "cannot create more units" message display, instead of "unable to create unit" ?
also i could still create men, just no buildings. but units stopped shooting.



None.

Jul 31 2011, 11:43 am NudeRaider Post #16

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

My guess is image sprite limit (3000 afaik). Do you have a lot of burning buildings? Those take a lot of sprite images.

However the best way to find out is to just delete something (300 units, 200 sprites, 100 buildings, etc.) and then check if the problem persists. You gotta remove *something* since obviously you hit some limit. Just find out what it is.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
Please log in to shout.


Members Online: Roy, DiearAnother