
10-03-2002, 10:16 PM
I mentioned trying it the other way, if someone was cheating I would force them to use the level's farplane info. This is what I meant I tried and did not work.
0 vs 10000 = Yes, quite a bit different in fact. Try both while zoomed in across the map.
[quote:6556c]"That one doesn't look like it's all the way off, try $world farplane 0 instead of 10000 or whatever it is for that pic."
What do you mean by "far off"?[/quote:6556c]
Not far off, way off. I could tell you weren't using 0 since there was still fog.
Yeah its the same code basically, just wanted to give you a heads up. Actually I think mine is still cycling through farplane 0, 1000, 2000, ... 10000 every 10 seconds, that really lets you see the difference between the settings. Let me dig out a snippet you can try out.
[code:6556c]
// DESTROYED VILLAGE
// ARCHITECTURE: NED
// SCRIPTING: NED
main:
thread dmzdtstorage
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Destroyed Village"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "mohdm2"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waittill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr::lock
level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm2
level waittill spawn
end
dmzdtstorage:
//REF: $world fog/color/sun?
//$world farplane level.farplane
//$world farplane 0
//$world farplane_color level.farplane_color
//$world farplane_color (level.fogred + " " + level.foggreen + " " + level.fogblue)
//$world farplane_color ".2 .2 .3"
//$world northyaw 0
level.farplane = $world.farplane
println "FARPLANE Start: " level.farplane
wait 10
$world farplane 0
level.farplane = $world.farplane
println "FARPLANE 0: " level.farplane
wait 10
$world farplane 11000
level.farplane = $world.farplane
println "FARPLANE 1: " level.farplane
wait 10
$world farplane 12000
level.farplane = $world.farplane
println "FARPLANE 2: " level.farplane
wait 10
$world farplane 13000
level.farplane = $world.farplane
println "FARPLANE 3: " level.farplane
wait 10
$world farplane 14000
level.farplane = $world.farplane
println "FARPLANE 4: " level.farplane
wait 10
$world farplane 15000
level.farplane = $world.farplane
println "FARPLANE 5: " level.farplane
wait 10
$world farplane 6000
level.farplane = $world.farplane
println "FARPLANE 6: " level.farplane
wait 10
$world farplane 7000
level.farplane = $world.farplane
println "FARPLANE 7: " level.farplane
wait 10
$world farplane 8000
level.farplane = $world.farplane
println "FARPLANE 8: " level.farplane
wait 10
$world farplane 9000
level.farplane = $world.farplane
println "FARPLANE 9: " level.farplane
wait 10
$world farplane 10000
level.farplane = $world.farplane
println "FARPLANE 10: " level.farplane
wait 10
goto dmzdtstorage
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
level waittill spawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
[/code:6556c]
One thing you'll notice is no map fixes, that's because they have been moved out of the level's SCR files. So they will only directly confict on v1.6beta or earlier, and those using the newer v1.7beta need to watch how they configure it with whichever pak they choose, since they might spawn two vehicles on top of each other. Once an official release for DMz Dogtag comes out I'm going to be asking everyone to not integrate my fixes any longer since it won't be needed and will only confuse the issue. Thankfully there are only two or three mods that incorporate them so it shouldn't lead to too many admin headaches hehe.
I didn't bother to gamma adjust these, so they are a bit darker than they should be. You can still see the differences tho.
farplane = 10000
[img]http://mail.oberonpass.com/images/temp/fog-10k-float.png[/img]
farplane = 15000
[img]http://mail.oberonpass.com/images/temp/fog-15k-float.png[/img]
farplane = 0
[img]http://mail.oberonpass.com/images/temp/fog-0-float.png[/img]
farplane = 10000
[img]http://mail.oberonpass.com/images/temp/fog-10k.png[/img]
farplane = 0
[img]http://mail.oberonpass.com/images/temp/fog-0.png[/img]
farplane = 10000
[img]http://mail.oberonpass.com/images/temp/fog-10k-zoom.png[/img]
farplane = 0
[img]http://mail.oberonpass.com/images/temp/fog-0-zoom.png[/img]
|