Stoned
New Adventurer
- Joined
- Jul 24, 2009
- Messages
- 856
- Reaction score
- 0
- Age
- 28
local MAX_VIEW_DIST game.map.maxviewdistance
dbg map_maxviewdistance MAX_VIEW_DIST
if ( MAX_VIEW_DIST > 512 )
{
clientevent update ent_me const.localplayer.scriptID set_view_dist MAX_VIEW_DIST
}
else
{
clientevent update ent_me const.localplayer.scriptID set_view_dist 16384
}
Thothie said:Think if the images were corrupted you'd either get an error, or get stuck with the default desert sky box.
Are you getting this every time you visit these maps, or just sometimes?
Looking at the current maxviewdistance fix, I think maybe if a map had some wonky maxviewdistance setting, and the next map had no setting at all, it might stick you with the wonky one, if you visted them in that order.
I'll setup something where it defaults to some number if the maxviewdistance is below a certain number or unset... Some random number like... Say... 16384 sound good?
Code:local MAX_VIEW_DIST game.map.maxviewdistance dbg map_maxviewdistance MAX_VIEW_DIST if ( MAX_VIEW_DIST > 512 ) { clientevent update ent_me const.localplayer.scriptID set_view_dist MAX_VIEW_DIST } else { clientevent update ent_me const.localplayer.scriptID set_view_dist 16384 }
The Man In Black said:Eh, no. He puts that in the scripts and next patch it comes out >_>
J-M v2.5.5 said:Reckless-Fire had an identical error in gertenheld_cave, *before* JAN2010b (which had the skybox fix) came out.