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.
[11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
[2024-4-16. : 5:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[2024-4-16. : 4:31 pm]
Zoan -- where's the option to delete my account
[2024-4-16. : 4:30 pm]
Zoan -- goodbye forever
Please log in to shout.


Members Online: Sie_Sayoka