I found that I can run the map in SP but then everything is black or white
And in MP I get an error about _callbacksetup.gsc line 10 if I do not use a GSC file named after my map
And if I do use a GSC file named after my map I get this error
Code: Select all
started from:
(file 'maps/mp/mp_test1.gsc', line 1)
main()
*
************************************
writing to: C:\Games\Activision\Call of Duty 2\servercache.dat
Error during initialization:
script runtime error
(see console for details)
script stack overflow (too many embedded function calls)
Code: Select all
main()
{
maps\mp\mp_test1::main();
maps\mp\_load::main();
setExpFog(0.0001, 0.55, 0.6, 0.55, 0);
// setCullFog(0, 16500, 0.55, 0.6, 0.55, 0);
ambientPlay("ambient_france");
game["allies"] = "american";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["american_soldiertype"] = "normandy";
game["german_soldiertype"] = "normandy";
setCvar("r_glowbloomintensity0", ".25");
setCvar("r_glowbloomintensity1", ".25");
setcvar("r_glowskybleedintensity0",".3");
}
So what am I doing wrong? SP loads with white skybox and everything else black (cannot even see gun)
and Mp won't quite load up
I decided I would try to randomly comment out lines and I ran the GSC like this too
Code: Select all
main()
{
maps\mp\mp_test1::main();
//maps\mp\_load::main();
//setExpFog(0.0001, 0.55, 0.6, 0.55, 0);
// setCullFog(0, 16500, 0.55, 0.6, 0.55, 0);
//ambientPlay("ambient_france");
game["allies"] = "american";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["american_soldiertype"] = "normandy";
game["german_soldiertype"] = "normandy";
//setCvar("r_glowbloomintensity0", ".25");
//setCvar("r_glowbloomintensity1", ".25");
//setcvar("r_glowskybleedintensity0",".3");
}