block airships
Mar 20 2008, 9:19 am
By: okeee  

Mar 20 2008, 9:19 am okeee Post #1



I d like to make a location that not any airships can enter. So that area should be as a mountain is to ground units, they can't go through the mountain. Airships should be blocked in such a way. How do you do this ?(staredit)

Post has been edited 1 time(s), last time on Mar 20 2008, 10:01 am by okeee.



None.

Mar 20 2008, 10:01 am Daedalus Post #2



Here's a tutorial you might want to read: Elevation Locations

Basically want you want to do is create a location over the no-fly zone. Select the locations and go to properties, uncheck all boxes except one you need, probably the "High Air" one. Now whenever an unit is detected in that location kill/remove it or move it to a location of your choice.

Terrain has 3 different heights. Some tilesets only have low and mid hight, others also have high hight.
Here's a list of how those locations work:
- Low Ground: Ground units on lowered terrain (like Dirt in all tilesets)
- Mid Ground: Ground units on mid higth terrain (High Dirt, High Grass, Plating, etc)
- High Ground: Grounds units on high terrain (High Basillica, High Platform, High Outpost)
Same goes for air units.



None.

Mar 20 2008, 2:24 pm Falkoner Post #3



Well, he can just place it over the area he doesn't want air, and uncheck all the ground ones, and then it just targets air units, but the way you said is a bit more precise. And here's the tutorial on what terrain is what height, if you want: Terrain Elevation



None.

Mar 20 2008, 4:29 pm Saucon Post #4



there are no ways to physically block an air unit with terrain, triggers described by the posts above are about as close as it comes, units will still see over the cliff as usual.



None.

Mar 20 2008, 7:48 pm okeee Post #5



But if i just want one type of airship not able to enter a location,
do still need to check any "air" checkboxes? Can't I just set:
move ship x from location 1, to location 2.



None.

Mar 20 2008, 7:52 pm Fisty Post #6



Quote from okeee
But if i just want one type of airship not able to enter a location,
do still need to check any "air" checkboxes? Can't I just set:
move ship x from location 1, to location 2.
Yes, that is how you would do it.



None.

Mar 21 2008, 8:54 am okeee Post #7



Then something else i would like to try..for example, blocking only dropships that carry a specific unit x. So all dropships should be able to enter the location, except if they're carrying unit x. Is this possible?



None.

Mar 21 2008, 10:09 am NudeRaider Post #8

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

I'm not sure, but IF it's possible to detect units in transports then by checking for "exactly <# of units> at <air location>".
You should go and just try it. :P




Mar 21 2008, 11:28 am okeee Post #9



ah yes..
But any amount of dropship should be able to enter, as long as they do not carry unit x.



None.

Mar 21 2008, 6:16 pm NudeRaider Post #10

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

Maybe you don't even need exactly. At least could work too. As I said: TRY IT




Mar 21 2008, 6:37 pm Ryan Post #11



You can detect whether or not a unit is in transport.

You wouldn't be able to detect whether or not a specific dropship is or isn't carrying Unit X easily, it'd be very tedious and very time consuming. It may not be possible at all, even. You could try sending one dropship at a time through said location, but that wouldn't look very professional.




None.

Mar 22 2008, 11:50 pm Falkoner Post #12



It wouldn't be that hard, center a location on the unit inside the air only location, and it immediately centers it on the unit inside the dropship, even if there are units of the same kind on the ground.



None.

Mar 23 2008, 5:16 am Pyro682 Post #13



Can't you detect certain dropships that are carrying certain units By using EUDS???

Also, if the dropships are carrying different units, for example : one is carrying a marine while the other is carrying a firebat, move the location to "Firebats controlled by player" and it will center on the dropship.

This wont work well if theyre carrying the same units



None.

Mar 23 2008, 5:47 am Pyro682 Post #14



HAVING AIR UNITS ONLY FLY TO WHERE GROUND UNITS CAN BE
Have a unit (i use a Civillian) in the top right hand corner (or somewhere far away from anything else)

now, what you do, is you have the civillian check to see if the Air unit is over walkable ground.

OK, now here are some triggers. Here are what the locations are
"AIR UNIT" ---- Finds the air unit, so its Constantly being Centered on any air.
"Past Location" ---- A Location that is centered Upon the player's Air unit every 1000 miliseconds.
"Far away Place" ---- Where the civ starts

Trigger
Players

  • Player with the Air unit
  • Conditions

  • Always
  • Actions

  • Move 1 Civillian for Player 12 at "far away place" to "AIR UNIT"
  • Set Switch 1
  • Commentzor?
  • Preserve Trigger


  • Trigger
    Players

  • Now to see if the Air unit is on walkable terrain
  • Conditions

  • Switch 1 is Set
  • Player 12 Brings at most 0 Terrain Civillian to "Air Unit"
  • Actions

  • Clear Switch 1
  • Move (Whatever the Air unit is) to "Past Location"
  • Commentzor?
  • Preserve Trigger




  • Trigger
    Players

  • Now to see if the Air unit is on walkable terrain
  • Conditions

  • Switch 1 is Set
  • Player 12 Brings at least 1 Terrain Civillian to "Air Unit"
  • Actions

  • Clear Switch 1
  • Move Terran Civillian to "Far away place"
  • Commentzor?
  • Preserve Trigger




  • None.

    Mar 23 2008, 1:50 pm Falkoner Post #15



    Pyro, we have already discussed a much simpler way than EUD's and THAT mess, it's like you're trying to detect burrowed units... It's quite simple, just center an air-only location on the unit you don't want there, if it is in the air, it will center on it, otherwise, it will not.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [2026-9-25. : 12:00 am]
    Oh_Man -- he hasnt won a single game so far this is hilarious
    [2026-9-24. : 11:41 pm]
    Oh_Man -- new arty username Rage Against The Machine
    [2026-9-24. : 10:14 pm]
    Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
    [2026-9-24. : 8:12 pm]
    Ultraviolet -- do you even lift bro?
    [2026-9-23. : 5:21 pm]
    NudeRaider -- Oh_Man
    Oh_Man shouted: NudeRaider yeh thts straight up cheating
    the mutas yes, the wraiths probably not. Have you even watched the video? ;)
    [2026-9-23. : 12:56 pm]
    Oh_Man -- NudeRaider
    NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
    yeh thts straight up cheating
    [2026-9-23. : 12:24 pm]
    Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
    [2026-9-23. : 10:09 am]
    NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
    Please log in to shout.


    Members Online: Symmetry