i know this is an (pretty) old thread and in the wrong forum (should be scripting), but as I didn't want to start a new topic I'll just post it here.
About that
black sky problem in SH, this is a cut & paste from a post on TMT:
Joe wrote:
?I am quite sure that by now you have seen something about the black sky problem with custom maps in Spearhead. I am also sure you know that by turning the graphics settings up to 32 bit, this will fix the problem. But on slower computers this would cause very poor fps, and make it hard to play.
I have been reading through the .scr files for the original maps in Allied Assault and Spearhead, and came across something you may find interesting. Below is the .scr for mohdm2 taken from Spearhead. Have a look at the bold text.
**************************************************
****
// DESTROYED VILLAGE
// ARCHITECTURE: NED
// SCRIPTING: NED
main:
// 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
$world farclipoverride -1 (This line is not present in the Allied Assault .scr files, only in Spearhead)
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
**************************************************
***************
What I have discovered so far is that if you add this line to your .scr, the skies work just fine in Spearhead without increasing your graphics settings. But, if your map has fog and you add this line, the fog will work in Spearhead but not Allied Assault. The only change I have noticed in maps without fog is they seem to be a bit brighter.
So I am thinking that for maps that do not have fog and that are created for Allied Assault, you could add that line to the .scr, and it would be playable in Allied Assault and Spearhead.
If the map has fog and is created for Allied Assault, you would need to make 2 .scr files, one for Allied Assault WITHOUT adding that line, and one for Spearhead WITH that line added. Then make a second pk3 file for Spearhead with the same file structure (maps/dm) and place only this special .scr in it. (And of course this one would go in the mainta folder).
If the map is created to be played in Spearhead only, just add the line to the .scr. I have tested this very little, but I have seen no problems so far. Has anyone else tried this?"
maplesapt@hotmail.com > Joe