Staredit Network > Forums > SC2 Assistance > Topic: Observer Collision
Observer Collision
Sep 28 2010, 5:19 am
By: payne  

Sep 28 2010, 5:19 am payne Post #1

:payne:

How can I make it so Observers are at Height 3.75, but it's not their projection on the ground that collides, but their actual actor position, as if the game was 2D ?
I'd also like them not to elevate when they get near the cliffs' edges, but I do want them to be able to pass over those.
Finally, I have "Unclickable" check in the unit's flag, but it is still clickable. Why? I want the cursor to not highlight the observer (highlight in the sense that the a circle surrounding the unit appears).



None.

Sep 28 2010, 2:10 pm Temp Post #2



What do you mean by collision here, is it units running into it or a search effect from a position.

I don't understand how you want the observer to pass over the cliff without actually going over it. Do you want the observer to pass right through it?

Use the unselectable flag as well.



None.

Sep 28 2010, 3:09 pm payne Post #3

:payne:

What I don't want is the fact that air units, when they get close to a cliff, they start elevating based on their distance with this cliff. I'd like the observer to stay at the same height relatively to the ground under it so when he is right beside a cliff, he isn't "elevated a little".

A bit like the Collosus.



None.

Sep 28 2010, 5:40 pm Ahli Post #4

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Change the unit's mover to whatever you want (like the thing that collossus uses).
You could even create your own mover. But you cannot have everything you can imagine (e.g. fly above canyons & just "jump" onto high ground & fly through buildings [if you have the settings for that, PM me ^^ ]), afaIk.




Sep 28 2010, 7:19 pm payne Post #5

:payne:

Quote from Ahli
Change the unit's mover to whatever you want (like the thing that collossus uses).
You could even create your own mover. But you cannot have everything you can imagine (e.g. fly above canyons & just "jump" onto high ground & fly through buildings [if you have the settings for that, PM me ^^ ]), afaIk.
I have already tried changing the Mover field from Air to Colossus and it didn't prevent the unit from elevating near cliffs. :/



None.

Sep 28 2010, 7:48 pm Ahli Post #6

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Because collosus hover...
Then create your custom mover.




Sep 29 2010, 12:04 am Temp Post #7



Using the ignore terrain height flag on the unit will cause it to stay at an absolute height. You need to make sure you have a height specified that is high enough to be above your default terrain height though.



None.

Sep 29 2010, 7:15 am payne Post #8

:payne:

Ignore Terrain Height flag simply made them all disappear! O.o
... how to know what is my Default Terrain Height? :S

But for the "selectable" problem, indeed, I had to select "Unselectable"... but also "Untargetable"! :)



None.

Sep 29 2010, 3:11 pm Temp Post #9



just change the observer's height to something high (10ish maybe). Because it is ignoring terrain height it will fly through any terrain that is higher than itself. Which is why they disappeared, they are all under the ground.



None.

Sep 29 2010, 7:26 pm payne Post #10

:payne:

Ah! 9.5 worked perfectly!
Thank you very much! ^^

Now, the problem is that they will pass through cliffs like ghosts, right?



None.

Sep 30 2010, 2:05 am Temp Post #11



Yes but this is a condition of what you want. You cannot say you want them to be above all cliffs but not raise themselves above the cliff.



None.

Sep 30 2010, 2:31 am payne Post #12

:payne:

I do want them to raise above cliffs... I just don't want them to do it smoothly!
As it is, if a mutalisk is at 2 squares unity (arbitrary number), it is as its normal height.
At 1 square unity, it is at half of the height-gain that he'd have if he was over the cliff.
At 0 square unity, he is at the cliff's height + his basic height.

I don't want the transition slope. :/



None.

Sep 30 2010, 2:47 pm Temp Post #13



I doubt there is functionality to do this built in to the data editor. You will probably need to use triggers to change the height of observers over cliffs.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
Please log in to shout.


Members Online: Oh_Man