• 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.

FOg

Status
Not open for further replies.
Just mess around with the options under 'Scenario' - 'Map Options'.
With the terrain fog I don't believe that the two options under style Exponential 1 and 2 don't work. I don't think that I have seen a change in the for with changing the density value either.
I would really like to know what could possible be the use or point of these options. XD

With the terrain for you can't set the Z Start value to a negative through "Scenario" - "Map Options" - "Use Terrain Fog" or GUI although can be changes with Jass script to add a cool effect. Here is an example. This can be placed in your maps initialization script with custom script.
JASS:
call SetTerrainFogEx(0, -7200.00, 8000.00, 0.00, .01, .07, .02)
In the () we have 'The Style', 'ZStart", 'ZEnd', 'Density', 'Red Value', 'Green Value', 'Blue Value'.

  • 'The Style' keep this value as 0 as that style is linear(the one that we would want).
  • 'ZStart' This is the reason why we are doing this. Although I would suggest keeping it as a value of anywhere from 500 to the max value of 'ZEnd' but as a negative. (eg 'ZStart' = -2800, 'ZEnd' = 4000)
  • 'ZEnd' would be the value that you would usually want your fog to end, I would suggest trying any value from 1000 to 15,000.
  • 'Density' I can't really seem to find a reason for this field so I would suggest keeping it as 0.
  • As for the rest of the values they are just colours but instead of the max value being 100 as a percent the max is a real of 1.00.
Just do whatever you would think suit your map with any value.


I've also provided a test map.
 

Attachments

  • lighting test.w3x
    13.8 KB · Views: 76
Last edited:
Status
Not open for further replies.
Top