- Joined
- Jun 20, 2004
- Messages
- 229
Still having alot of trouble figuring this out.
If I create a map and using tool palette or random height option in map editor when, and set player camera height to 0 in game the camera will be incorrect.
-Like, itll sometimes even be higher or lower than the ground even through its set to 0 meaning the 0 point which I should see a line in the middle but alot of the time its random. For testing, I created a tall hill, and formed it into a plateu so it had a flat surface on top. I set the cam height to 0 and a number like 75 for further testing. And what happened was it would be different height sometimes while moving around on the surface of the plateu which is compeltey the same height on top. The cam height readout is saying the correct height but its just NOT right and no idea why its off.
But, if I use terrain deformaton via triggers on an unedited flat map with no terrain changes 0 height will start from the very middle of the map Z height 0. Then all I had to do was use a jass script to find the terrain height of a point then add it to that and it would be PERFECT. But it wont work on terrain changed in map editor. If I find Zheight of a location when using a map that has height changed using the map editor terrain palette, Zheight detects WAY too high I mean atleast a few hundred off.
Does anyone know why its all messed up, im about to email blizz on this its rediculious. The camera shouldnt be any differnt on trigger changed terrain height and map editor formed height and the camera is what is messing up, the readouts are fine.
Ill keep bumping this one until some1 might know, if what I said wasnt clear enough I can try explaining better or even show a small map of whats happening.
Thanks
If I create a map and using tool palette or random height option in map editor when, and set player camera height to 0 in game the camera will be incorrect.
-Like, itll sometimes even be higher or lower than the ground even through its set to 0 meaning the 0 point which I should see a line in the middle but alot of the time its random. For testing, I created a tall hill, and formed it into a plateu so it had a flat surface on top. I set the cam height to 0 and a number like 75 for further testing. And what happened was it would be different height sometimes while moving around on the surface of the plateu which is compeltey the same height on top. The cam height readout is saying the correct height but its just NOT right and no idea why its off.
But, if I use terrain deformaton via triggers on an unedited flat map with no terrain changes 0 height will start from the very middle of the map Z height 0. Then all I had to do was use a jass script to find the terrain height of a point then add it to that and it would be PERFECT. But it wont work on terrain changed in map editor. If I find Zheight of a location when using a map that has height changed using the map editor terrain palette, Zheight detects WAY too high I mean atleast a few hundred off.
Does anyone know why its all messed up, im about to email blizz on this its rediculious. The camera shouldnt be any differnt on trigger changed terrain height and map editor formed height and the camera is what is messing up, the readouts are fine.
Ill keep bumping this one until some1 might know, if what I said wasnt clear enough I can try explaining better or even show a small map of whats happening.
Thanks