Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Best way for naval units not to go on land?

Creator: Craftstar2
Time: Sep 3 2008, 10:14 pm

Post #1     Craftstar2 Sep 3 2008, 10:14 pm

[Avatar]
 online contact
What's the best way for naval units to not be able to go on land, other than making a ton of locations on the edges of the land and moving them back to the water when they get near? I want only a selected few air units to be unable to go on land, because there are also airplanes (meaning i will need specific conditions for the type of unit rather than having a location checked only to air). There will also be multiples of the same unit (centerview and move land unit to the spot beneath the air unit will not work). Is there a simple way to do this?
Top

Post #2     Roy Sep 3 2008, 10:32 pm

[Avatar]
 offline contact
Uh, I know what you're getting at, but I don't see a simple solution. A friend and I were working on box triggers, if you want to look at that. It uses quite a bit of locations, though, and won't be a reasonable solution...

You can place burrowed units around the edges of land, and run a detection system of bringing a unit to a location running through the burrowed units.

Conditions:
Player 7 brings at least 1 burrowed unit to anywhere
Actions:
Move location labelled locationX on burrowed unit owned by player 7
Give 1 burrowed unit owned by player 7 at anywhere to player 8
Preserve Trigger

Conditions:
Player 7 brings at most 0 burrowed unit to anywhere
Actions:
Give all burrowed unit owned by player 8 at anywhere to player 7
Preserve Trigger

Conditions:
Current Player brings at least 1 "naval ship unit" to locationX
OR
Always
Actions:
Kill all "naval ship unit" for current player at locationX
Preserve Trigger


Note: I used "kill" because it's the easiest and the one that makes the most sense. Naval units would be destroyed if they crashed upon land.

Edit: Nude's post (below) wouldn't work (or would be very complex/have a delay) if you have a lot of units of the same type.
This post was edited 1 time, last edit by Roy: Sep 3 2008, 10:40 pm.
Top

Post #3     NudeRaider Sep 3 2008, 10:32 pm

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
Constantly move a burrowed unit under the naval unit.
Now if you detect the burrowed unit underneath you know its illegally on land.

You might want to kill the unit, or use some kind of mobile grid (also using burrowed and air units) to order it back in the direction of water.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top

Post #4     FooFighters Sep 3 2008, 11:56 pm

[Avatar]
WooHoo! Lets Party!
 offline contact
I agree with Roy, but instead, just use a centered location on your navel units and then when it detects the unit, it stops the location and you move back... like Ðrant did on his Labyrinthos map, but you cant use the high dirt and stuff for them :(

edit: you cant use more then 1 navel unit unless you make other locations and share with other players...
Top

Post #5     Falkoner Sep 4 2008, 12:52 am

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Quote
You might want to kill the unit, or use some kind of mobile grid (also using burrowed and air units) to order it back in the direction of water.

You could use the mobile grid, then try and move the zergling to all directions, if you hit a direction that the zergling cannot be moved to, order the wraith there, of course, that would cause problems if you can unplaceable terrain next to the shore, such as cliffs.
Top

Post #6     Craftstar2 Sep 4 2008, 9:30 pm

[Avatar]
 online contact
Yeah but i might use more than 1 of the same unit, and then that means i can't use mobile grids or center a location on the naval unit.
Top

Post #7     Falkoner Sep 5 2008, 12:52 am

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
More than 1 for each player, or 1 per player? If it's more than 1 per player, you're going to have to use massive amounts of locations, or run through a bunch of zerglings, checking for air units, which would cause lag depending on how large your coasts are..
Top

Post #8     Roy Sep 6 2008, 2:11 am

[Avatar]
 offline contact
Quote from
Yeah but i might use more than 1 of the same unit, and then that means i can't use mobile grids or center a location on the naval unit.
Uh, I didn't mention either of those two ideas. So... My idea would work?

And what's with these moving back ideas? If you're going for realism, ships would be completely destroyed if they try to keep a course straight through land. :P
Top

Post #9     [Echo]:] Sep 6 2008, 2:12 am

[Avatar]
[=]:] Inc.
 offline contact
The Great Yam had a concept going. You should PM/Contact him.
(user posted image)
Giants vs Jets : Super Bowl XLIII, Let's Roll NY!

,___,
[=]:]
/)__)
-"--"-
Top

Post #10     [Vi3t-X]:] Sep 6 2008, 3:37 am

[Avatar]
An Echo To Catch™
 offline contact
Quote from NudeRaider
Constantly move a burrowed unit under the naval unit.
Now if you detect the burrowed unit underneath you know its illegally on land.

You might want to kill the unit, or use some kind of mobile grid (also using burrowed and air units) to order it back in the direction of water.
This.
http://www.youtube.com/watch?v=1oxRZ-uSbMc
Because Rikku is Hawt

http://www.youtube.com/watch?v=xXZlAPD0z5k
Dawn isn't as great, but the theme song is good enough.

When life gives you lemons, throw them back and demand for chocolate.
Top

Post #11     NerdyTerdy Sep 6 2008, 4:28 am

[Avatar]
"Atheism is a non-prophet organization"
 offline contact
You could make it so all the coastlines are high ground then make a location over the entire map and kill the specified units when they go to that location. That of course limits your coast choices, but should be a simple solution.
[23:05] fiercesob: lol no I just went up to him and he was like "oh what are you going to do bitch!" and I just fucking grabbed him and threw him against the car and went to town on his shit
[23:06] KingXander[TCB]: went to town on his shit? does that mean you ate his ass?
[23:06] KingXander[TCB]: sorry, im not a straight up thug like fierce
[23:06] KingXander[TCB]: i don't know the lingo
Top

Post #12     [Echo]:] Sep 6 2008, 4:35 am

[Avatar]
[=]:] Inc.
 offline contact
Quote from [Vi3t-X]:]
Quote from NudeRaider
Constantly move a burrowed unit under the naval unit.
Now if you detect the burrowed unit underneath you know its illegally on land.

You might want to kill the unit, or use some kind of mobile grid (also using burrowed and air units) to order it back in the direction of water.
This.
That isn't going to work on multi units, unless you put locations on all land terrain so when the air unit goes on it and it detects a burrowed unit, it kills it.
(user posted image)
Giants vs Jets : Super Bowl XLIII, Let's Roll NY!

,___,
[=]:]
/)__)
-"--"-
Top

Post #13     OMC)Anonymous Sep 6 2008, 4:37 am

[Avatar]
Der Metzgermeister
 online contact
Actually, you could implement Nude's idea very easily. Just have the location that the burrowed unit moves to recycle.
I believe in:
  • Communism
  • Atheism
  • Nuclear Energy
  • Freedom
  • Dissent
Top

Post #14     PCFredZ Sep 6 2008, 4:38 am

[Avatar]
Not enough minerals.
 offline contact
The most seamless ship crash system can be implemented on the Snow tileset, which has two different Water elevations. Simply make a river using Water in the low elevation and then use a map editor that can edit by tile to use the shore tiles from the High Water elevation to replace the shore tiles near the regular Water. Create a location that covers the whole river that only applies to "High Air" and always kill any units in that location. If you would like this to also apply to a river in the High Water level, simply repeat the whole thing with Low and High reversed.
(user posted image)
Top

Post #15     NerdyTerdy Sep 6 2008, 5:24 am

[Avatar]
"Atheism is a non-prophet organization"
 offline contact
Quote from
The most seamless ship crash system can be implemented on the Snow tileset, which has two different Water elevations. Simply make a river using Water in the low elevation and then use a map editor that can edit by tile to use the shore tiles from the High Water elevation to replace the shore tiles near the regular Water. Create a location that covers the whole river that only applies to "High Air" and always kill any units in that location. If you would like this to also apply to a river in the High Water level, simply repeat the whole thing with Low and High reversed.

This is what I suggested, but my way works on all tilesets; while it is not quite so seamless, it does work :P
[23:05] fiercesob: lol no I just went up to him and he was like "oh what are you going to do bitch!" and I just fucking grabbed him and threw him against the car and went to town on his shit
[23:06] KingXander[TCB]: went to town on his shit? does that mean you ate his ass?
[23:06] KingXander[TCB]: sorry, im not a straight up thug like fierce
[23:06] KingXander[TCB]: i don't know the lingo
Top

Post #16     [The Great Yam]:] Sep 6 2008, 11:34 am

[Avatar]
I can't get no Satisfaction
 offline contact
If you are willing to spend some time on it, you can use a coordinate grid to program in the tiles that the unit is not supposed to go to and move them back. IE, tile 56, 56 is part of the cliff wall, so you move it back to a water tile such as 55,56 or kill it.
(signature image)
Top

Post #17     [Vi3t-X]:] Sep 6 2008, 12:03 pm

[Avatar]
An Echo To Catch™
 offline contact
Using NudeRaider's idea:

Locations are centered on the various "ships".
Triggers involve moving a burrowed zergling to the location in which the "ship" is located.
Normally, this is impossible, as zerglings cannot be on water (normally...)
Zergling gets detected in location, kill ship.

However, this may backfire, I haven't tested it myself, but it is possible that with usage of multiple ships:

Via hyper triggers, the location moves too quickly and either
A: Misses the ship death target
B: Kills some random ship
http://www.youtube.com/watch?v=1oxRZ-uSbMc
Because Rikku is Hawt

http://www.youtube.com/watch?v=xXZlAPD0z5k
Dawn isn't as great, but the theme song is good enough.

When life gives you lemons, throw them back and demand for chocolate.
Top

Post #18     NudeRaider Sep 6 2008, 6:00 pm

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
Following my method, when he has multiple ships of the same type per player then he needs some cycling system which constantly causes deselect. So this is really only an option for a computer player.

I have no idea how it may miss the target or kill random ships. It won't do it if you set it up properly.


If it just so happens that human players can control multiple shps of the same type then you will need to use the high/low elevation trick mentioned. If you have no other high elevation (like temple terrain) then this would be the method of choice, because you'd only need a single location.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top

Post #19     Falkoner Sep 6 2008, 6:02 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Quote
The most seamless ship crash system can be implemented on the Snow tileset, which has two different Water elevations. Simply make a river using Water in the low elevation and then use a map editor that can edit by tile to use the shore tiles from the High Water elevation to replace the shore tiles near the regular Water. Create a location that covers the whole river that only applies to "High Air" and always kill any units in that location. If you would like this to also apply to a river in the High Water level, simply repeat the whole thing with Low and High reversed.

I'm still not certain this would work on multiple units, if you center a location on a unit inside a high-air only location, and there's other units not on high ground, will it center on them?
Top

Post #20     NudeRaider Sep 6 2008, 6:04 pm

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
Quote from Falkoner
Quote
The most seamless ship crash system can be implemented on the Snow tileset, which has two different Water elevations. Simply make a river using Water in the low elevation and then use a map editor that can edit by tile to use the shore tiles from the High Water elevation to replace the shore tiles near the regular Water. Create a location that covers the whole river that only applies to "High Air" and always kill any units in that location. If you would like this to also apply to a river in the High Water level, simply repeat the whole thing with Low and High reversed.

I'm still not certain this would work on multiple units, if you center a location on a unit inside a high-air only location, and there's other units not on high ground, will it center on them?
No, it will only center on the units inside the location. Units with the wrong elevation are not inside the location.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top
0 members in this topic: None
+ 0 guest(s)


[01:45 am]
Phobos[MM] -- lol homophobia
[01:37 am]
[lil-Inferno]:] -- Pudding...Mmm.
[01:36 am]
OMC)Anonymous -- fuck your homophobia
[01:36 am]
OMC)Anonymous -- i prefer neither sandwhiches nor pudding, i enjoy them both D:
[01:17 am]
[Echo]:] -- I've gotten 0's 10 times in a row before today
[01:16 am]
Phobos[MM] -- And that comprobes gay boxes are gay
[01:13 am]
Elvang -- Wow, second time i've gotten 140 this week...
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions