[Mod FF]: Renamed _cheat.gsc to paintball.gsc
This commit is contained in:
parent
975d170e5b
commit
698d14d73f
26
iw3sp_mod_ff_src/raw/scripts/paintball.gsc
Normal file
26
iw3sp_mod_ff_src/raw/scripts/paintball.gsc
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
// New 'Paintball' cheat from the Wii Version
|
||||||
|
init()
|
||||||
|
{
|
||||||
|
maps\_cheat::addCheat( "sf_use_paintball", ::paintballMode );
|
||||||
|
|
||||||
|
level.cheatDvars = getArrayKeys( level.cheatStates );
|
||||||
|
|
||||||
|
for ( ;; )
|
||||||
|
{
|
||||||
|
for ( index = 0; index < level.cheatDvars.size; index++ )
|
||||||
|
maps\_cheat::checkCheatChanged( level.cheatDvars[index] );
|
||||||
|
|
||||||
|
wait 0.5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
paintballMode( cheatValue )
|
||||||
|
{
|
||||||
|
if ( level.script == "ac130" || level.script == "aftermath" )
|
||||||
|
return;
|
||||||
|
|
||||||
|
if ( cheatValue )
|
||||||
|
setsaveddvar ( "paintball_mode", 1 );
|
||||||
|
else
|
||||||
|
setsaveddvar ( "paintball_mode", 0 );
|
||||||
|
}
|
@ -12,7 +12,7 @@ rawfile,scripts/bog_a/three_coming_out.gsc
|
|||||||
rawfile,scripts/launchfacility_a/loudspeaker.gsc
|
rawfile,scripts/launchfacility_a/loudspeaker.gsc
|
||||||
rawfile,scripts/launchfacility_b/loudspeaker.gsc
|
rawfile,scripts/launchfacility_b/loudspeaker.gsc
|
||||||
rawfile,scripts/simplecredits/credits.gsc
|
rawfile,scripts/simplecredits/credits.gsc
|
||||||
rawfile,scripts/_cheat.gsc
|
rawfile,scripts/paintball.gsc
|
||||||
rawfile,scripts/_damagefeedback.gsc
|
rawfile,scripts/_damagefeedback.gsc
|
||||||
rawfile,scripts/battlechatter.gsc
|
rawfile,scripts/battlechatter.gsc
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user