- Joined
- Aug 2, 2006
- Messages
- 346
I'm trying to make a map similar to Exilus5's Soldiers map. Normally I'd feel bad about taking someone else's concept, but Soldiers seems to have been discontinued, not to mention the movement delay in the game caused by predominantly GUI triggers is irritating other players. I'll be programming this in all JASS.
The part that's giving me trouble is the movement system, or more precisely, the movement up a diagonal slope. Because cliff height only changes ever 128 units, the level of precision in the cliff heights is unreliable, and it's difficult to discern a slope from that.
How did Exilus do this??? I've experimented with at least 5 methods including looking at the surrounding cliff heights to get the normal line, or simply moving the unit into the cliff, then pushing it out after the fact.
EDIT: Ok to clarify, the slope problem is caused by the low resolution of the "cliff height grid" as I am now calling it. It's difficult to distinguish between a slope and a wall because there are no definite 45 degree tell tales in the cliff data.
EDIT2: Oh you have got to be shitting me... There's a GetLocationZ() function??? WTF??? HOW LONG HAS THAT BEEN THERE??????????????????? Well that's great, now I can finish the map!
The part that's giving me trouble is the movement system, or more precisely, the movement up a diagonal slope. Because cliff height only changes ever 128 units, the level of precision in the cliff heights is unreliable, and it's difficult to discern a slope from that.
How did Exilus do this??? I've experimented with at least 5 methods including looking at the surrounding cliff heights to get the normal line, or simply moving the unit into the cliff, then pushing it out after the fact.
EDIT: Ok to clarify, the slope problem is caused by the low resolution of the "cliff height grid" as I am now calling it. It's difficult to distinguish between a slope and a wall because there are no definite 45 degree tell tales in the cliff data.
EDIT2: Oh you have got to be shitting me... There's a GetLocationZ() function??? WTF??? HOW LONG HAS THAT BEEN THERE??????????????????? Well that's great, now I can finish the map!
Last edited: