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.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Sie_Sayoka