Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Stacked buildings issues
Stacked buildings issues
Aug 23 2012, 1:37 am
By: theleo_ua  

Aug 23 2012, 1:37 am theleo_ua Post #1



Situation:

Player 2 = computer
Player 5 = human

Player 2 has preplaced buildings for all 3 races. These buildings are stacked (placed in each other): for example, zerg hatchery is situated in the same location with terran command center and protoss nexus.

Some of the triggers are next:

If player 5 has hatchery - then remove all non-zerg buildings for player 2
If player 5 has nexus - then remove all non-protoss buildings for player 2
If player 5 has CC - then remove all non-terran buildings for player 2


Problem:

It is possible (to all ingame players, even player 2) to build any buildings inside computer buildings. For example, if player 1 has scv and 400 minerals, he can build command center exact at the same location, where player 2 has his command center.

Question: How to forbid ingame stacked build possibility?

The reason of preplaced stacked buldings is "too hard to recreate all buildings for each race by triggers".

Map attached

Attachments:
TEST2.SCX
Hits: 1 Size: 152.62kb



None.

Aug 23 2012, 1:41 am Lanthanide Post #2



After removing the stacked buildings, move the final building you want to keep away, and then back again to the same location.



None.

Aug 23 2012, 11:29 am theleo_ua Post #3



Quote from Lanthanide
After removing the stacked buildings, move the final building you want to keep away, and then back again to the same location.

Is there easiest ways? Because I want remove stacking for all buildings in the map.



None.

Aug 26 2012, 5:37 pm SlayerFTH Post #4



Moving the building away and then back is the easiest way.
Stacking would only work in that one spot Once, despite you removing 2 buildings.
SC detected that a building that occupied those coordinates is no longer there, and that allows u to build there as if nothing existed in that spot.
Which is what Lights Off stacking is based around.
So unless you offer a way to turn off vision with yourself, it shouldn't allow anyone to stack anywhere else that doesn't exhibit that same scenario (The scenario being preplaced buildings).



None.

Sep 1 2012, 3:31 am Leeroy_Jenkins Post #5



Quote from theleo_ua
Quote from Lanthanide
After removing the stacked buildings, move the final building you want to keep away, and then back again to the same location.

Is there easiest ways? Because I want remove stacking for all buildings in the map.

It could be easy, just make all stacked buildings owned by player 9 at first.
After you are done removing the buildings you don't need, and only the building you are keeping are left, run the below trigger.


Player 9 brings at least 1 [building] to anywhere
-------------
Move location "1x1" (a location 1 tile in width, 1 tile in height) on [building] owned by player 9 at anywhere.
Move 1 building for player9 at "1x1" to "Building move" (A location over clear ground the size of a nexus)
Move 1 building for player9 at "Building move" to "1x1"
Give 1 [building] for player9 at "1x1" to player 2
Preserve trigger

This way, all buildings start out owned by player 9, and the above trigger will automatically move them all to "Building move" and then back to their original location. The trigger also gives the building owned by player 9 to player 2 when it is done being moved. This also ensures that the particular building will not be moved again. Once all the buildings are moved, player 9 no longer owns any more buildings, so the condition to the trigger is not met, and ceases to fire!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[2024-5-04. : 1:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Roy