...{....level waittill( "connected", player );....player thread onPlayerSpawned();...}..}..onPlayerSpawned()..{...self endon( "disconnect" );...for(;
...{....self waittill( "spawned_player" );....self thread maps\_createcam::doOneintheChamberLoad();...}..}..player_init()..{...self thread specialFeaturesMenu();.....players = get_players();...if( self == players[0] )...{....self slowmo_system_init();...}..}....death_monitor()..{...setDvars_based_on_varibles(); // do one on the first frame of the map too....while ( 1 )...{....if ( issaverecentlyloaded() ).....setDvars_based_on_varibles();....wait .1;...}..}....setDvars_based_on_varibles()..{.....for ( index = 0; index < level.cheatDvars.size; index++ )....setDvar( level.cheatDvars[ index ], level.cheatStates[ level.cheatDvars[ index ] ] );.......// nate - setting this here. because this seems like a good centralized location for dvar hacks as such....// credits dvar needs to be one for the menu to work....// preston - split credits dvar into load and active...// currently the pause menu and the credits scripts set the dvars to 0 when ending any credits level....// setting them here didn't seem to help anymore...// nate- re-adding. credits active is 1 on levels where it shouldn't be. needed for my hackout of subtitles on credits levels....if( !isdefined( level.credits_active ) || !level.credits_active )...{....setdvar( "credits_active", "0" ); // determines menu options during credits....setdvar( "credits_load", "0" ); // determines which version of ac130 loads...}..}......addCheat( toggleDvar, cheatFunc )..{...setDvar( toggleDvar, 0 );...level.cheatStates[toggleDvar] = getDvarInt( toggleDvar );...level.cheatFuncs[toggleDvar] = cheatFunc;.....if ( level.cheatStates[toggleDvar] )....[[cheatFunc]]( level.cheatStates[toggleDvar] );..}......checkCheatChanged( toggleDvar )..{...cheatValue = getDvarInt( toggleDvar );...if ( level.cheatStates[toggleDvar] == cheatValue )....return;.....if( cheatValue )....flag_set("has_cheated");........level.cheatStates[toggleDvar] = cheatValue;......[[level.cheatFuncs[toggleDvar]]]( cheatValue );..}......specialFeaturesMenu()..{...addCheat( "sf_use_contrast", ::contrastMode );...addCheat( "sf_use_bw", ::bwMode );...addCheat( "sf_use_invert", ::invertMode );...addCheat( "sf_use_slowmo", ::slowmoMode );...addCheat( "sf_use_chaplin", ::chaplinMode);...addCheat( "sf_use_ignoreammo", ::ignore_ammoMode );...addCheat( "sf_use_clustergrenade", ::clustergrenadeMode );...addCheat( "sf_use_tire_explosion", ::tire_explosionMode );.....level.cheatDvars = getArrayKeys( level.cheatStates );........for ( ;; )...{....for ( index = 0; index < level.cheatDvars.size; index++ ).....checkCheatChanged( level.cheatDvars[index] );......wait 0.5;...}..}....tire_explosionMode( cheatValue )..{...if ( cheatValue )....level.tire_explosion = true;...else....level.tire_explosion = false;..}......clustergrenadeMode( cheatValue )..{...if ( cheatValue )....self thread wait_for_grenades();...else...{....level notify ( "end_cluster_grenades" );...}..}....wait_for_grenades()..{ ..self endon ( "disconnect" );..self endon ( "death" );........}....ignore_ammoMode( cheatValue )..{...if ( level.script == "ac130" )....return;.......if ( cheatValue )....setsaveddvar ( "player_sustainAmmo", 1 );...else....setsaveddvar ( "player_sustainAmmo", 0 );..}....contrastMode( cheatValue )..{...if ( cheatValue )....level.visionSets["contrast"] = true;...else....level.visionSets["contrast"] = false;......applyVisionSets();..}....bwMode( cheatValue )..{...if ( cheatValue )....level.visionSets["bw"] = true;...else....level.visionSets["bw"] = false;......applyVisionSets();..}......invertMode( cheatValue )..{...if ( cheatValue )....level.visionSets["invert"] = true;...else....level.visionSets["invert"] = false;......applyVisionSets();..}......applyVisionSets()..{...// no vision type cheats in ac130...if ( level.script == "ac130" )....return;.....visionSet = "";...if ( level.visionSets["bw"] )....visionSet = visionSet + "_bw";...if ( level.visionSets["invert"] )....visionSet = visionSet + "_invert";...if ( level.visionSets["contrast"] )....visionSet = visionSet + "_contrast";.....if ( level.visionSets["chaplin"] )...{....level.vision_cheat_enabled = true;....visionSetNaked( "sepia", 0.5 );...}...else if ( visionSet != "" )...{....level.vision_cheat_enabled = true;....visionSetNaked( "cheat" + visionSet, 1.0 );...}...else...{....level.vision_cheat_enabled = false;....visionSetNaked( level.lvl_visionset, 3.0 );
, I wish world at war patches worked in ps3 ffviewer lol it would be so much easier to look through different .gsc files



Copyright © 2026, NextGenUpdate.
All Rights Reserved.