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.
[2022-6-29. : 8:18 am]
GGmano -- I would have released my New map yesterday if scmdraft didnt fail on saving the merged file
[2022-6-29. : 8:17 am]
GGmano -- Not cool when I made such Nice system and I could make it even better if more trigger allowed
[2022-6-29. : 8:16 am]
GGmano -- Damn now I have reduce trigger amount impossible to save fil
[2022-6-27. : 11:03 pm]
jjf28 -- GGmano
GGmano shouted: its not possible to move around a p12 owned preplaced a
when I tried - ya not possible
[2022-6-27. : 11:02 pm]
Zoan -- idk, maybe if you change a setting with euds you can do it. Something like the Unit List and Palletes thing or whatever it's called
[2022-6-27. : 9:42 pm]
GGmano -- i thought that would be easy but dont work on my test
[2022-6-27. : 9:42 pm]
GGmano -- its not possible to move around a preplaced p12 owned dark swarm?
[2022-6-27. : 9:41 pm]
GGmano -- dark swarm
[2022-6-27. : 9:41 pm]
GGmano -- its not possible to move around a p12 owned preplaced a
[2022-6-27. : 1:08 pm]
jjf28 -- having played the architect just fine - no not necessarily
Please log in to shout.


Members Online: Ahli, MidNighTime