.gsc problems

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
pcbouncer
CJ Fan
CJ Fan
Posts: 114
Joined: November 27th, 2012, 10:49 pm

.gsc problems

Post by pcbouncer » September 7th, 2013, 3:23 pm

So my map worked completely fine up until recently. The map gives no errors and worked a couple days ago, in which i added small things that worked originally. Now, my gsc will load "other" scripts, but the actual scripts inside itself do not run. This is the code i currently have in the main.


Code: Select all

main()
{
maps\mp\_load::main();	
wait 3;
iprintlnbold("hi");
 

	//maps\mp\mp_awe_fx::main();
	//maps\createart\mp_awe_art::main();
	
	//maps\mp\_teleport1::main();
	//maps\mp\_teleport2::main();
	//maps\mp\_teleport3::main();
	//maps\mp\_teleport4::main();
	//maps\mp\_teleport5::main();
	//maps\mp\_teleport6::main();
	//maps\mp\_compass::setupMiniMap("compass_map_mp_awe");
maps\mp\nosave::main();
maps\mp\room2pc::main();
maps\mp\room3pc::main();
maps\mp\room4pc::main();

maps\mp\room6pc::main();
maps\mp\room7pc::main();
maps\mp\room8pc::main();
maps\mp\room10pc::main();

maps\mp\build::main();
maps\mp\portal::main();
maps\mp\throwroom::main();
maps\mp\number::main();
maps\mp\moveplat::main();
maps\mp\setroom::main();
maps\mp\killgame::main();
maps\mp\soap::main();
maps\mp\practice1::main();
maps\mp\rroom::main();
maps\mp\slow::main();
maps\mp\_bounce::main();
maps\mp\killer::main();
maps\mp\hardsecret::main();
maps\mp\canends::main();
maps\mp\drunk::main();
maps\mp\drunk2::main();

	//setExpFog(500, 2200, 0.81, 0.75, 0.63, 0);
	//VisionSetNaked( "mp_awe" );
	//ambientPlay("ambient_awe_ext");

	//game["allies"] = "marines";
	//game["axis"] = "opfor";
	//game["attackers"] = "axis";
	//game["defenders"] = "allies";
	//game["allies_soldiertype"] = "desert";
	//game["axis_soldiertype"] = "desert";

	setdvar( "r_specularcolorscale", "1" );

	setdvar("r_glowbloomintensity0",".25");
	setdvar("r_glowbloomintensity1",".25");
	setdvar("r_glowskybleedintensity0",".3");
	//setdvar("compassmaxrange","1800");
	setdvar("jump_slowdownenable","0");
	setdvar("bg_fallDamageMinHeight","9999");
	setdvar("g_gametype","cj");
	setdvar("jump_height","39");
	
	maps\mp\_teleport1::main();
	thread textrigger();
    thread soaptrigger();
	//thread potatoele();
	thread room1trigger();
	thread room1triggerledge();
thread room1fall();
thread killplayer();
thread easyend();
thread interend();
thread doodie();
thread mantle();
}


Now as i said it will load the other scripts, but it doesnt even print out the "hi" in the beginning. Please help.

pcbouncer
CJ Fan
CJ Fan
Posts: 114
Joined: November 27th, 2012, 10:49 pm

Re: .gsc problems

Post by pcbouncer » September 7th, 2013, 5:16 pm

after a shitload of compiling i figured it out. for some reason i didnt have a method threaded in one of my scripts, causing it to be stuck in that method. oddly enough the other scripts still worked o.o. anyways thread everything or youll be where i am :L

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests