as it isn't kicking up a fuss about the castle script anymore, i think its safe to say that isn't the problem. I will try to resolve the lightmap errors first.
But this is weird, it starts to load up and says setting up game, and then i get a black screen. I swear i never used to have this problem.
Anyway, here are my files: Firstly Zone_Source file:
ignore,code_post_gfx_mp
ignore,localized_code_post_gfx_mp
ignore,common_mp
ignore,localized_common_mp
col_map_mp,maps/mp/mp_temple.d3dbsp
//sound,mp_castle,mp_castle,all_mp
material,showdownmap
//material,compass_map_mp_castle
//material,compass_overlay_map_castle
include,mptypes_pacific
include,water
xmodel,skybox_mp_knee
rawfile,sun/mp_temple.sun
material,sun
material,sun_flare
rawfile,maps/mp/mp_temple.gsc
//rawfile,maps/mp/mp_castle_fx.gsc
//rawfile,maps/mp/mp_castle_amb.gsc
//rawfile,maps/mp/createart/mp_castle_art.gsc
//rawfile,maps/mp/createfx/mp_castle_fx.gsc
rawfile,devgui_fx.cfg
//rawfile,vision/mp_castle.vision
//rawfile,vision/default.vision
// Client Scripts,
rawfile,clientscripts/mp/mp_temple.csc
//rawfile,clientscripts/mp/mp_castle_amb.csc
//rawfile,clientscripts/mp/mp_castle_fx.csc
//rawfile,clientscripts/mp/createfx/mp_castle_fx.csc
Then my mp_temple.gsc file
main()
{
// maps\mp\mp_cargoship_fx::main();
// maps\createart\mp_cargoship_art::main();
// needs to be first for create fx
// maps\mp\mp_castle_fx::main();
maps\mp\_load::main();
// maps\mp\mp_castle_amb::main();
// maps\mp\_compass::setupMiniMap("compass_map_mp_castle");
// setExpFog(300, 1400, 0.5, 0.5, 0.5, 0);
// VisionSetNaked( "mp_cargoship" );
// ambientPlay("ambient_cargoshipmp_ext");
// If the team nationalites change in this file,
// you must update the team nationality in the level's csc file as well!
game["allies"] = "marines";
game["axis"] = "japanese";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["allies_soldiertype"] = "pacific";
game["axis_soldiertype"] = "pacific";
// setdvar( "r_specularcolorscale", "1" );
// setdvar("compassmaxrange","2100");
game["strings"]["war_callsign_a"] = &"MPUI_CALLSIGN_CASTLE_A";
game["strings"]["war_callsign_b"] = &"MPUI_CALLSIGN_CASTLE_B";
game["strings"]["war_callsign_c"] = &"MPUI_CALLSIGN_CASTLE_C";
game["strings"]["war_callsign_d"] = &"MPUI_CALLSIGN_CASTLE_D";
game["strings"]["war_callsign_e"] = &"MPUI_CALLSIGN_CASTLE_E";
game["strings_menu"]["war_callsign_a"] = "@MPUI_CALLSIGN_CASTLE_A";
game["strings_menu"]["war_callsign_b"] = "@MPUI_CALLSIGN_CASTLE_B";
game["strings_menu"]["war_callsign_c"] = "@MPUI_CALLSIGN_CASTLE_C";
game["strings_menu"]["war_callsign_d"] = "@MPUI_CALLSIGN_CASTLE_D";
game["strings_menu"]["war_callsign_e"] = "@MPUI_CALLSIGN_CASTLE_E";
// Spawned Collision
// enable new spawning system
// maps\mp\gametypes\_spawning::level_use_unified_spawning(true);
}
Then in clientscripts\mp i have mt mp_temple.csc file:
// Commented Out yourmapname_amb encase you don't have one
#include clientscripts\mp\_utility;
main()
{
// If the team nationalites change in this level's gsc file,
// you must update the team nationality here!
// level.allies_team = "russian";
// level.axis_team = "german";
clientscripts\mp\_load::main();
// clientscripts\mp\mp_yourmapname_fx::main();
thread clientscripts\mp\_fx::fx_init(0);
thread clientscripts\mp\_audio::audio_init(0);
// thread clientscripts\mp\mp_yourmapname_amb::main();
// This needs to be called after all systems have been registered.
thread waitforclient(0);
println("*** Client : mp_fxer running...");
}
I'm going to ask some newb questions here, but what exactly is a CSC file for?
what does CSC stand for? Or GSC?
thanks
|