Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Mobile Anti-Lift
Mobile Anti-Lift
May 2 2010, 8:46 pm
By: Aristocrat  

May 2 2010, 8:46 pm Aristocrat Post #1



I'm attempting to create an anti-lift that will be able to destroy the lifted building and create a landed building at the original location.

The naive method of using a 3x4 location and an air-only location obviously does not work, as the lifted building will be slightly to the north of the original location. See my test map for more info. (Pick terran at start and lift something)

Does anyone know of a method of anti-lift that preserves the original building and does not require slaving one location to every preplaced building?

Attachments:
Tele test.scx
Hits: 4 Size: 56.32kb



None.

May 2 2010, 8:56 pm youarenotworthy Post #2



Location 1 - Air only, covers all needed space (Might be entire map in your case)
Location 2 - 3x4 Ground
Location 3 - 3x4 Air only

Condition -

Player 1 brings Command Center to Location 1.

Actions -

Move location 3 to Command Center at Location 1.
Remove Command Center at Location 1.
Create 9 Devourers at Location 3.
Remove 3 Devourers at Location 1.
Move location 2 to Devourer at Location 1.
Create Command Center at Location 2.



None.

May 2 2010, 9:02 pm Aristocrat Post #3



Quote from youarenotworthy
Location 1 - Air only, covers all needed space (Might be entire map in your case)
Location 2 - 3x4 Ground
Location 3 - 3x4 Air only

Condition -

Player 1 brings Command Center to Location 1.

Actions -

Move location 3 to Command Center at Location 1.
Remove Command Center at Location 1.
Create 9 Devourers at Location 3.
Remove 3 Devourers at Location 1.
Move location 2 to Devourer at Location 1.
Create Command Center at Location 2.

Thanks, but that's already what I am doing (minus the mobile grid adjustment part). Again, it doesn't work, since the number of pixels moved by the lifted building is random. I can use a wait() to ensure that the building is fully lifted before trigger executes and I can move it a specified number of pixels, but it creates undesirable wait blocks.



None.

May 2 2010, 9:05 pm Apos Post #4

I order you to forgive yourself!

Could it work if you center the location only if the building is not lifted?




May 2 2010, 9:07 pm Aristocrat Post #5



Quote from Apos
Could it work if you center the location only if the building is not lifted?

How would I know if the building is lifted before it even becomes lifted?

Well, your method would require 1 location per building.



None.

May 2 2010, 9:11 pm Apos Post #6

I order you to forgive yourself!

You can use burrowed units.

Step 1: Center a location on a building that is not lifted.
Step 2: Create a unit elsewhere and move it to your location.
Step 3: If the building is lifted, center a location on it.
Step 4: Center the location on the burrowed unit at your location.
Step 5: Remove the burrowed unit create a new building.
Step 6: Loop the process.




May 2 2010, 9:23 pm youarenotworthy Post #7



[14:21] <yanw> it will require a little bit extra, but it's worth it as a global mechanism
[14:21] <yanw> Put a burrowed unit above every liftable building, the proper placement you will have to figure for yourself
[14:21] <yanw> so that if it goes up, when you move the location onto the building the location will be in range of the unit

PROBLEM SOLVED, YOU'RE WELCOME. i only posted this cause i wanted credit for helping you. :O



None.

May 2 2010, 9:53 pm CecilSunkure Post #8



Are the buildings in pre-placed static spots on the map?



None.

May 2 2010, 10:28 pm Aristocrat Post #9



NudeRaider claims that I can move a burrowed unit under a building with a trigger, but it does not seem to work. Even if it does, that implementation also gets unit unplaceable errors on map launch for certain zerglings and requires triggers to cycle through every building to place burrowed units.

A workaround with observers has been proposed and works cleanly. See this test map for implementation.

It requires 3 locations to work. One problem:
-The observer on top of the barracks/infested command center is 1-matrix to the left of where it is supposed to me (editor position and in-game position do not match up), and there are no other air units in the area. What could be causing this?



None.

May 2 2010, 10:47 pm Apos Post #10

I order you to forgive yourself!

It can happen that your observers move if they are pushed by other air units.




May 2 2010, 11:00 pm Aristocrat Post #11



Quote from Apos
It can happen that your observers move if they are pushed by other air units.

Quote from Aristocrat
and there are no other air units in the area.

It moves exactly 1 matrix. A workaround is putting it 1 matrix to the right to start with, but I'm confused as to what could actually trigger the displacement.



None.

May 2 2010, 11:40 pm Apos Post #12

I order you to forgive yourself!

Quote from Aristocrat
It moves exactly 1 matrix. A workaround is putting it 1 matrix to the right to start with, but I'm confused as to what could actually trigger the displacement.

Are you using computer owned units 1 - 8 or player 9 - 11 units?




May 2 2010, 11:41 pm Aristocrat Post #13



Quote from Apos
Quote from Aristocrat
It moves exactly 1 matrix. A workaround is putting it 1 matrix to the right to start with, but I'm confused as to what could actually trigger the displacement.

Are you using computer owned units 1 - 8 or player 9 - 11 units?
See my test map. It is a p9 observer.



None.

May 8 2010, 1:40 am CanadaOwnedU Post #14



Enh... I just stack 2 buildings of anything that is able to lift off, use 1 air location to kill any buildings that enter it, and they usually get the picture when they liftoff and the shit blows up; they dont try again. Its lazier but it works fine.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[2024-5-15. : 3:08 pm]
Oh_Man -- example of wat u mean?
[2024-5-15. : 5:59 am]
NudeRaider -- *is
Please log in to shout.


Members Online: 4jordanc98100hg9