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.
    [06:47 am]
    NudeRaider -- lil-Inferno
    lil-Inferno shouted: nah
    strong
    [05:41 am]
    Ultraviolet -- 🤔 so inf is in you?
    [04:57 am]
    O)FaRTy1billion[MM] -- my name is mud
    [04:35 am]
    Ultraviolet -- mud, meet my friend, the stick
    [10:07 pm]
    lil-Inferno -- nah
    [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:
    Please log in to shout.


    Members Online: 9camilac8523wp6, jjf28, 3miae123rr9, Roy