• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Terrain generation?

Status
Not open for further replies.
Level 3
Joined
Dec 31, 2003
Messages
42
I was tampering a little bit with randomising terrain and I've come across some issues:

- Objects, apart from units, do not seem to consider height changes when placed. Eg, placing a doodad or special effect where the ground has been lowered or raised makes it appear floating or buried, respectively.
- Similarily, water effects initially present in the map show even if the terrain is raised. (And the opposite)
- The minimap does not update​

I guess I could avoid water and use a minimap icon instead, but the first problem would make the terrain look quite bland. I tried using GetLocationZ but it seems to return the "old" Z value. I guess I could store Z changes to the terrain but that'd still be quite difficult to calculate...

Anyone got any ideas or know a good system?

Edit: Perhaps SetTerrainPathable could be used for fixing the water issue, if I can get the Z value.
 
Hmm, weird... I get some issues. Maybe not special effects, it seems I was a little eager to place them, but trees and shadows are odd...
 

Attachments

Status
Not open for further replies.
Back
Top