I’m completely stuck on how to do this, I’ve checked all of the fog output descriptions on the Valve Dev wiki and I cannot find any tutorials. I need to change the fog distance periodically in my map, I can do this part, but I can’t figure out how transition is smoothly. The end distance on the fog is going to change from 8000 to 3000 every hour, so during this time, I want the distance to change smoothly, without the player noticing. Any help or possible solutions are welcome.
Lots and lots of timed outputs from your control entity with small incremental changes. It’s not going to be smooth, but it will work.
**Logic_timer** *Keyvalues-* Refire Interval: 1 *Outputs-* OnTimer | fogDistanceController | Test
**Logic_branch** *Keyvalues-* Name: fogDistanceController Initial value: 1 *Outputs-* OnTrue | fogDistanceCounter | Add | 3 OnFalse | fogDistanceCounter | Subtract | 3
**Math_counter** *Keyvalues-* Name: fogDistanceCounter Initial Value: 3000 Minimum Legal Value: 3000 Maximum Legal Value: 8400 *Outputs-* OnHitMax | fogDistanceController | Toggle OnHitMin | fogDistanceController | Toggle OutValue | <env_fog_controller> | SetEndDist
Terrenteller is the Jezus of Source mapping.