I checked and I think that this is the code that does that

function set_fog()
{
clip_range=3000;
fog_color=1;
camera.fog_start=.6*clip_range;
camera.fog_end=1.5*clip_range;
camera.fog=35;
}

Dragon100