ok i host it remote on my computer or my wifes and we can play it no issues.
but when i load it up to my clans game server
the map starts to load splash screen with map picture
and all that it says waiting for server to load map,,
server disconnet error and server crashs.
is this a gsc problem maybe?
my gsc
i have planes and some mice instead of planes that are called on by the gsc but i get nothing to tell me what kind of error
main()
{
setCullFog (0, 8000, .32, .36, .40, 0);
ambientPlay("ambient_mp_brecourt");
// set the nighttime flag to be off
setcvar("sv_night", "0" );
maps\mp\_load::main();
level._effect["smoke"] = loadfx ("fx/smoke/ash_smoke.efx");
maps\mp\_fx::loopfx("smoke", (984, -1073, -460), 0.6);
level thread maps\mp\mice::main();
level thread maps\mp\levels_fx::main();
level thread maps\mp\door::main();
//FX
//maps\mp\team_zero::main();
game["allies"] = "american";
game["axis"] = "german";
//Vehicles
//level thread maps\mp\_tankdrive_gmi::main();
//level thread maps\mp\_jeepdrive_gmi::main();
//level thread maps\mp\_flak_gmi::main();
game["american_soldiertype"] = "airborne";
game["american_soldiervariation"] = "normal";
game["german_soldiertype"] = "fallschirmjagergrey";
game["german_soldiervariation"] = "normal";
game["attackers"] = "allies";
game["defenders"] = "axis";
//retrieval settings
level.obj["1"] = (&"RE_OBJ_CODE_BOOK");
level.obj["2"] = (&"RE_OBJ_CODE_BOOK");
game["re_attackers"] = "axis";
game["re_defenders"] = "allies";
game["re_attackers_obj_text"] = "Find the codebooks & return with them.";
game["re_defenders_obj_text"] = "Protect the codebooks!";
game["re_spectator_obj_text"] = "Axis have to return to base with the codebooks.";
game["re_attackers_intro_text"] = "Locate & return with the Russian codebooks.";
game["re_defenders_intro_text"] = "Don't let the codebooks slip into Axis hands!!!";
if (getcvar("g_gametype") == "hq")
//spawn radio1
radio = spawn("script_model", (0,0,0));
radio.origin = (-149, -460, -287);
radio.angles = (0, 90,0);
radio.targetname = "hqradio";
//spawn radio2
radio = spawn("script_model", (0,0,0));
radio.origin = (837, 1437, -564);
radio.angles = (0, 90,0);
radio.targetname = "hqradio";
//spawn radio3
radio = spawn("script_model", (0,0,0));
radio.origin = (1978, 2220, 25);
radio.angles = (0, 360,0);
radio.targetname = "hqradio";
//spawn radio4
radio = spawn("script_model", (0,0,0));
radio.origin = (439, -289, -426);
radio.angles = (0, 180,0);
radio.targetname = "hqradio";
//spawn radio5
radio = spawn("script_model", (0,0,0));
radio.origin = (-1025, -1097, -322);
radio.angles = (0, 326,0);
radio.targetname = "hqradio";
//spawn radio6
radio = spawn("script_model", (0,0,0));
radio.origin = (1225, -1204, -426);
radio.angles = (0, 90,0);
radio.targetname = "hqradio";
//spawn radio7
radio = spawn("script_model", (0,0,0));
radio.origin = (-215, -832, -434);
radio.angles = (0, 326,0);
radio.targetname = "hqradio";
//spawn radio8
radio = spawn("script_model", (0,0,0));
radio.origin = (765, -460, -318);
radio.angles = (0, 149,0);
radio.targetname = "hqradio";
thread crickets();
thread frogs();
thread water();
thread vtrola();
thread radio();
thread pie_compress();
thread arc();
thread greg();
thread planes ();
}
//-----------------------end of main-----------------------
//-----------------------
//grab all locations of script_models (can have multiple models with the same targetname)
//-----------------------
crickets() {
source = getentarray ("cricket", "targetname");
if (isdefined(source))
for (i = 0 ; i < source.size ; i++)
{
wait(.3);
source playloopsound("cricket");
}
}
//-----------------------
//grab all locations of script_models (can have multiple models with the same targetname)
//-----------------------
frogs() {
frog = getentarray ("frogsource", "targetname");
if (isdefined(frog))
for (i = 0 ; i < frog.size ; i++)
{
wait(.3);
frog playloopsound("frogs");
}
}
//-----------------------
//grab all locations of script_models (can have multiple models with the same targetname)
//-----------------------
water() {
ent = getentarray ("water_speaker", "targetname");
if (isdefined(ent))
for (i = 0 ; i < ent.size ; i++)
{
wait(.3);
ent playloopsound("fontaine");
}
}
//-----------------------
//grab all locations of script_models (can have multiple models with the same targetname)
//-----------------------
vtrola() {
ent = getentarray ("vtrola", "targetname");
if (isdefined(ent))
for (i = 0 ; i < ent.size ; i++)
{
wait(.3);
ent playloopsound("vtrola");
}
}
//-----------------------
//grab all locations of script_models (can have multiple models with the same targetname)
//-----------------------
radio() {
ent = getentarray ("radio", "targetname");
if (isdefined(ent))
for (i = 0 ; i < ent.size ; i++)
{
wait(.3);
ent playloopsound("radio");
}
}
//-----------------------
//grab all locations of script_models (can have multiple models with the same targetname)
//-----------------------
pie_compress() {
ent = getentarray ("motor", "targetname");
if (isdefined(ent))
for (i = 0 ; i < ent.size ; i++)
{
wait(.3);
ent playloopsound("pie_compress");
}
}
//-----------------------
//grab all locations of script_models (can have multiple models with the same targetname)
//-----------------------
arc() {
ent = getentarray ("grassy38", "targetname");
if (isdefined(ent))
for (i = 0 ; i < ent.size ; i++)
{
wait(.3);
ent playloopsound("arc1");
}
}
//-----------------------
//grab all locations of script_models (can have multiple models with the same targetname)
//-----------------------
greg() {
ent = getentarray ("greg", "targetname");
if (isdefined(ent))
for (i = 0 ; i < ent.size ; i++)
{
wait(.3);
ent playloopsound("pie_rire");
}
}
planes()
{
level.PlaneSpeed = 5.75; //vitesse de notre avion 1 = très rapide ; 10 = très lent
stuka1 = getent ("stuka1","targetname");
stuka3 = getent ("stuka3","targetname");
stuka2 = getent ("stuka2","targetname");
temp = getent (stuka1.target,"targetname");
stuka1.dest = temp.origin;
stuka1.start = stuka1.origin;
stuka1 hide();
temp = getent (stuka3.target,"targetname");
stuka3.dest = temp.origin;
stuka3.start = stuka3.origin;
stuka3 hide();
temp = getent (stuka2.target,"targetname");
stuka2.dest = temp.origin;
stuka2.start = stuka2.origin;
stuka2 hide();
wait 2;
while (1)
{
stuka1 thread passage_avions("son_spitfire");
wait 12;
stuka2 thread passage_avions("son_messerchmitt");
stuka3 thread passage_avions("son_messerchmitt");
wait 120; // boucle du thread toutes les X secondes
}
}
passage_avions(sound)
{
if (isdefined (sound))
self playloopsound (sound); //le son tourne en permanence et le bruit vient bien de l'avion
wait 1;
self show();
self moveto(self.dest, level.PlaneSpeed, 0.1, 0.1, 0.1);
wait level.PlaneSpeed;
self stoploopsound (sound); //le son est stoppé
self hide();
self.origin = self.start;
}
|