Farplane looks as if its working because the LOD terrain is clipped, its just that there is no fog effect at all
This is the fog scripting:
Code: Select all
$world farplane_color "0.5 0.5 0.6"
level.fogplane = 2000
$world farplane level.fogplaneModerator: Moderators
Code: Select all
$world farplane_color "0.5 0.5 0.6"
level.fogplane = 2000
$world farplane level.fogplaneCode: Select all
level waittill prespawn
local.tempstring = "0.25 0.15 0.1"
level.farplane = 25000
level.farplanecolor = local.tempstring
Code: Select all
farplane_on:
$farplane_trigger waittill trigger
$farplane_switch anim move
$farplane_switch playsound lighthouse_lever
$farplane_switch anim waittill animdone
$bulb1_off hide
$bulb1_on show
$farplane_corona show
$world farplane_color (.42 .42 .42)
wait .1
$world farplane 3900
wait .1
$world farplane 3800
wait .1
$world farplane 3700
wait .1
$world farplane 3600
wait .1
$world farplane 3500
wait .1
$world farplane 3400
wait .1
$world farplane 3300
wait .1
$world farplane 3200
wait .1
$world farplane 3100
wait .1
$world farplane 3000
wait .1
$world farplane 2900
wait .1
$world farplane 2800
wait .1
$world farplane 2700
wait .1
$world farplane 2600
wait .1
$world farplane 2500
wait .1
$world farplane 2400
wait .1
$world farplane 2300
wait .1
$world farplane 2200
wait .1
$world farplane 2100
wait .1
$world farplane 2000
thread farplane_off
end
farplane_off:
$farplane_trigger waittill trigger
$farplane_switch anim idle
$farplane_switch playsound lighthouse_lever
$farplane_switch anim waittill animdone
$bulb1_on hide
$bulb1_off show
$farplane_corona hide
wait .1
$world farplane 2100
wait .1
$world farplane 2200
wait .1
$world farplane 2300
wait .1
$world farplane 2400
wait .1
$world farplane 2500
wait .1
$world farplane 2600
wait .1
$world farplane 2700
wait .1
$world farplane 2800
wait .1
$world farplane 2900
wait .1
$world farplane 3000
wait .1
$world farplane 3100
wait .1
$world farplane 3200
wait .1
$world farplane 3300
wait .1
$world farplane 3400
wait .1
$world farplane 3500
wait .1
$world farplane 3600
wait .1
$world farplane 3700
wait .1
$world farplane 3800
wait .1
$world farplane 3900
wait .1
$world farplane 10000
thread farplane_on
end
Code: Select all
local.farplane = $world.farplane
while (local.farplane > 2000)
{
wait 0.1
$world.farplane = (local.farplane - 100)
local.farplane = $world.farplane
}Yes: that is exactly what I'm saying. Well put.Alcoholic wrote:so your saying the fog will clip things at the clip plane, but there is no 'fog'? can you show a pic?




I would use the looped version ( even if the result is exactly the same ).Alcoholic wrote:hey tltrude, couldnt u make those threads a little shorter like this?Code: Select all
local.farplane = $world.farplane while (local.farplane > 2000) { wait 0.1 $world.farplane = (local.farplane - 100) local.farplane = $world.farplane }
type 'pushmenu leveldesign' in your console during a map. theres a bar near the bottom left, and the farther it is to the right, the farther the fogplane is, the farther to the left, the closer, and if it's at the very left, it goes to your map defaults. to the right of that bar are some numbers u can type in to see what color the fogplane is.tltrude wrote:It would be cool to have a seperate farplane testing script that mappers could use to find the right settings for their map. It would need keys set to adjust the color and distance. And, it should print the current values to the screen. It might end up being used by cheaters, though, to reduce the farplane fog.