When attempting to compile my map, the process completes through the light compile, node compile etc. but at the last point of the compile it throws a few random errors and the compile does not complete as when entering the map, it is not updated. Launcher provides me with this error in the bottom right: Error -1073741819. This is a screenshot of the last section of the compile, my mod builds fine: https://gyazo.com/abfc52131bccd448a3382e2ab912d72a
If anyone is able to help with this I would greatly appreciate it as I cannot compile my map no matter what I try at the current time. Thanks in advance for the help.
Make sure you have a skybox in radiant. A hollow caulk box surrounding entire map with a sky texture on the inside faces.
have you done any structural/detail sorting in radiant? Windows/door trim/staircases/broken tiles/small brushes-detail brushes. Walls floor roof - structural brushes Select brushes and right click to bring up the options and choose detail or structural.
Make sure you have a skybox in radiant. A hollow caulk box surrounding entire map with a sky texture on the inside faces.
have you done any structural/detail sorting in radiant? Windows/door trim/staircases/broken tiles/small brushes-detail brushes. Walls floor roof - structural brushes Select brushes and right click to bring up the options and choose detail or structural.
I have been able to compile the map for the past year so I'm not too sure if that's the issue. Only changes I have made in radiant are smoothing of some clips so you don't get stuck on them and adding a few models for detailing purposes. Thanks for the help but I don't see why that may be the reason for a failing compile?
There are limits to waw and errors such as -1073 happen when you get to them.
Do you have a skybox? Did you sort any brushes in radiant?
Press m in radiant and look how many brushes are used.
Yes, there is a sky box in the map. These are the details that come up when pressing "m" in radiant: https://gyazo.com/6369e8e217c9a98c3df3b798eb0f1d54 Double Post Merge: March 20, 2016, 07:25:21 pmIs anyone else able to help, I have been trying to fix this all day with no luck. If I cannot get this fixed then I will not be able to release my map. I would really appreciate any help at this point. Thanks. Double Post Merge: March 20, 2016, 10:05:56 pmThe errors displayed in this screenshot were not occurring yesterday. If anyone can help to figure out why they are now occurring then that would be great. Thanks! https://gyazo.com/24551ebae83e5d2d80e6a1ce54d57498 Double Post Merge: March 21, 2016, 05:22:11 pmStill haven't been able to fix, anyone able to help?
Last Edit: March 21, 2016, 05:22:11 pm by RichGaming
have you deleted any of them files your getting errors for? Double Post Merge: March 21, 2016, 09:14:47 pmonly other thing i can think of is:
re-install mod tools re-run the converter re-convert all your assets
and see if that fixes the issue
Damn ok, that's not good. Doing all those things is gonna be a pain after a whole year of work. Other maps have compiled fine so idk what's happening. Will check the files now, thanks for the help.
Damn ok, that's not good. Doing all those things is gonna be a pain after a whole year of work. Other maps have compiled fine so idk what's happening. Will check the files now, thanks for the help.
wait im going to upload them files its giving errors for you to try FIRST
generic_pulsing(clientNum) { assertex(isdefined(self.lights) && isdefined(self.lights[clientNum]), "Light not setup before script thread run on it.");
//ChrisC wants the lights off when probes are done if ( getdvar( "r_reflectionProbeGenerate" ) == "1" ) { self.lights[clientNum] setLightIntensity( 0 ); return; }
on = self.lights[clientNum] getLightIntensity(); off = .05; curr = on; transition_on = .3; transition_off = .6; increment_on = ( on - off ) / ( transition_on / .05 ); increment_off = ( on - off ) / ( transition_off / .05 );
for ( ;; ) { //ramp down time = 0; while ( ( time < transition_off ) ) { curr -= increment_off; self.lights[clientNum] setLightIntensity( curr ); time += .05; wait( .05 ); }
//off wait time wait( 1 );
//ramp up time = 0; while ( time < transition_on ) { curr += increment_on; self.lights[clientNum] setLightIntensity( curr ); time += .05; wait( .05 ); }
//on wait time wait( .5 ); } }
generic_double_strobe(clientNum) { assertex(isdefined(self.lights) && isdefined(self.lights[clientNum]), "Light not setup before script thread run on it.");
}
// modified version of _lights::burning_trash_fire() ber3b_firelight(clientNum) {
assertex(isdefined(self.lights) && isdefined(self.lights[clientNum]), "Light not setup before script thread run on it.");
full = self.lights[clientNum] GetLightIntensity();
old_intensity = full;
while( 1 ) { intensity = RandomFloatRange( full * 0.63, full * 1.2 ); // old values = 6, 12 timer = RandomFloatRange( 2, 5 );
for ( i = 0; i < timer; i ++ ) { new_intensity = intensity * ( i / timer ) + old_intensity * ( ( timer - i ) / timer );
// Adding lights for Factory. Not sure if there's a better place to do this. //MarkM- added for nazi_zombie_factory power_lights = GetStructArray( "light_electric", "targetname" ); if(isDefined(power_lights)) { println("*** Client : " + power_lights.size + " power lights."); array_thread(power_lights,::power_lights_think, clientNum); }
// // Control light intensity for certain lights connected to the power power_lights_think( clientNum ) { // The lights start off while (1) { level waittill( "pl1" ); // power lights on
// Turn the lights on println("power lights on client num: " + clientnum); if ( IsDefined( self.script_float ) ) { self.lights[clientNum] SetLightIntensity( self.script_float ); } else { self.lights[clientNum] SetLightIntensity( 1.5 ); } level waittill( "lights_off" );
// Turn the lights off // Turn this into a flicker later println("power lights off client num: " + clientnum); self.lights[clientNum] SetLightIntensity( 0.001 ); } }
// // Causes light to flicker after power is applied // power_lights_flicker_think(clientNum) { assertex(isdefined(self.lights) && isdefined(self.lights[clientNum]), "Light not setup before script thread run on it.");
// Model swap check println("*** Client : light flicker " + curr_intensity); if ( IsDefined( self.light_model ) ) { if ( curr_intensity < model_swap_1 ) { model = "lights_berlin_subway_hat_0"; println("*** Client : light flicker hat 0"); } else if ( curr_intensity > model_swap_2 ) { model = "lights_berlin_subway_hat_100"; println("*** Client : light flicker hat 50"); } else { model = "lights_berlin_subway_hat_50"; println("*** Client : light flicker hat 100"); }
if ( model != self.light_model.model ) { self.light_model SetModel( model ); } } wait( 0.05 ); }
curr_intensity = temp_intensity; } }
make a new csc file and call it "_lights" so it looks like this: "_lights.csc" and paste the above code inside it (without quotes) click on save and save it to this locations:
call of duty: World At War---->raw----->clientscripts then make a new folder and call it "mp" (without quotes) ans paste that new file inside that new folder
again make a new .csc file and and paste the above code inside it save and call it "_load" (without quotes) so it looks like this: "_load.csc" (without quotes) and save it to the same directry's as the other one
sorry for this mediafire refused the files
Last Edit: March 21, 2016, 09:47:59 pm by HitmanVere
generic_pulsing(clientNum) { assertex(isdefined(self.lights) && isdefined(self.lights[clientNum]), "Light not setup before script thread run on it.");
//ChrisC wants the lights off when probes are done if ( getdvar( "r_reflectionProbeGenerate" ) == "1" ) { self.lights[clientNum] setLightIntensity( 0 ); return; }
on = self.lights[clientNum] getLightIntensity(); off = .05; curr = on; transition_on = .3; transition_off = .6; increment_on = ( on - off ) / ( transition_on / .05 ); increment_off = ( on - off ) / ( transition_off / .05 );
for ( ;; ) { //ramp down time = 0; while ( ( time < transition_off ) ) { curr -= increment_off; self.lights[clientNum] setLightIntensity( curr ); time += .05; wait( .05 ); }
//off wait time wait( 1 );
//ramp up time = 0; while ( time < transition_on ) { curr += increment_on; self.lights[clientNum] setLightIntensity( curr ); time += .05; wait( .05 ); }
//on wait time wait( .5 ); } }
generic_double_strobe(clientNum) { assertex(isdefined(self.lights) && isdefined(self.lights[clientNum]), "Light not setup before script thread run on it.");
}
// modified version of _lights::burning_trash_fire() ber3b_firelight(clientNum) {
assertex(isdefined(self.lights) && isdefined(self.lights[clientNum]), "Light not setup before script thread run on it.");
full = self.lights[clientNum] GetLightIntensity();
old_intensity = full;
while( 1 ) { intensity = RandomFloatRange( full * 0.63, full * 1.2 ); // old values = 6, 12 timer = RandomFloatRange( 2, 5 );
for ( i = 0; i < timer; i ++ ) { new_intensity = intensity * ( i / timer ) + old_intensity * ( ( timer - i ) / timer );
// Adding lights for Factory. Not sure if there's a better place to do this. //MarkM- added for nazi_zombie_factory power_lights = GetStructArray( "light_electric", "targetname" ); if(isDefined(power_lights)) { println("*** Client : " + power_lights.size + " power lights."); array_thread(power_lights,::power_lights_think, clientNum); }
// // Control light intensity for certain lights connected to the power power_lights_think( clientNum ) { // The lights start off while (1) { level waittill( "pl1" ); // power lights on
// Turn the lights on println("power lights on client num: " + clientnum); if ( IsDefined( self.script_float ) ) { self.lights[clientNum] SetLightIntensity( self.script_float ); } else { self.lights[clientNum] SetLightIntensity( 1.5 ); } level waittill( "lights_off" );
// Turn the lights off // Turn this into a flicker later println("power lights off client num: " + clientnum); self.lights[clientNum] SetLightIntensity( 0.001 ); } }
// // Causes light to flicker after power is applied // power_lights_flicker_think(clientNum) { assertex(isdefined(self.lights) && isdefined(self.lights[clientNum]), "Light not setup before script thread run on it.");
// Model swap check println("*** Client : light flicker " + curr_intensity); if ( IsDefined( self.light_model ) ) { if ( curr_intensity < model_swap_1 ) { model = "lights_berlin_subway_hat_0"; println("*** Client : light flicker hat 0"); } else if ( curr_intensity > model_swap_2 ) { model = "lights_berlin_subway_hat_100"; println("*** Client : light flicker hat 50"); } else { model = "lights_berlin_subway_hat_50"; println("*** Client : light flicker hat 100"); }
if ( model != self.light_model.model ) { self.light_model SetModel( model ); } } wait( 0.05 ); }
curr_intensity = temp_intensity; } }
make a new csc file and call it "_lights" so it looks like this: "_lights.csc" and paste the above code inside it (without quotes) click on save and save it to this locations:
call of duty: World At War---->raw----->clientscripts then make a new folder and call it "mp" (without quotes) ans paste that new file inside that new folder
again make a new .csc file and and paste the above code inside it save and call it "_load" (without quotes) so it looks like this: "_load.csc" (without quotes) and save it to the same directry's as the other one
sorry for this mediafire refused the files
That seems to have fixed the issue related to the two files as they are no longer coming up as errors. The compile is still failing though and I'm presuming its related to the error of nazi_zombie_bus_depot.csc thank for the help!
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
To be honest, I didn't even know what he meant by that anyway. The issue seems to be solved now when talking about the 2 scripts he asked me to create. The compiler is still failing to load nazi_zombie_bus_depot.csc though and idk how to solve that.