mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-09 02:17:51 -05:00
accidently didn't check for simple syntax errors fixed now
This commit is contained in:
parent
7cfed7cdf9
commit
17c1ff26bf
@ -133,6 +133,7 @@ door_classify( parent_trig ) //checked changed to match cerberus output
|
|||||||
{
|
{
|
||||||
self.script_string = "move";
|
self.script_string = "move";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if ( !isDefined( self.script_string ) )
|
if ( !isDefined( self.script_string ) )
|
||||||
{
|
{
|
||||||
self.script_string = "";
|
self.script_string = "";
|
||||||
@ -325,7 +326,7 @@ door_activate( time, open, quick, use_blocker_clip_for_pathing ) //checked match
|
|||||||
if ( !open )
|
if ( !open )
|
||||||
{
|
{
|
||||||
self delay_thread( time, ::self_disconnectpaths );
|
self delay_thread( time, ::self_disconnectpaths );
|
||||||
wait 0,1;
|
wait 0.1;
|
||||||
self solid();
|
self solid();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
@ -431,7 +431,7 @@ generate_piece_unitrigger( classname, origin, angles, flags, radius, script_heig
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
unitrigger_stub.script_length = 13,5;
|
unitrigger_stub.script_length = 13.5;
|
||||||
}
|
}
|
||||||
if ( isDefined( script_width ) )
|
if ( isDefined( script_width ) )
|
||||||
{
|
{
|
||||||
@ -439,7 +439,7 @@ generate_piece_unitrigger( classname, origin, angles, flags, radius, script_heig
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
unitrigger_stub.script_width = 27,5;
|
unitrigger_stub.script_width = 27.5;
|
||||||
}
|
}
|
||||||
if ( isDefined( script_height ) )
|
if ( isDefined( script_height ) )
|
||||||
{
|
{
|
||||||
@ -1000,7 +1000,7 @@ piece_allocate_spawn( piecespawn ) //checked changed to match cerberus output
|
|||||||
else if ( is_point_in_build_trigger( self.spawns[ i ].origin ) )
|
else if ( is_point_in_build_trigger( self.spawns[ i ].origin ) )
|
||||||
{
|
{
|
||||||
any_okay = 1;
|
any_okay = 1;
|
||||||
spawnweights[ i ] = 0,01;
|
spawnweights[ i ] = 0.01;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -3143,3 +3143,4 @@ get_buildable_stat_name( buildable ) //checked matches cerberus output
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -567,7 +567,7 @@ suicide_trigger_think() //checked changed to match cerberus output
|
|||||||
}
|
}
|
||||||
while ( 1 )
|
while ( 1 )
|
||||||
{
|
{
|
||||||
wait 0,1;
|
wait 0.1;
|
||||||
if ( !isDefined( self.suicideprompt ) )
|
if ( !isDefined( self.suicideprompt ) )
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
@ -1169,7 +1169,7 @@ revive_hud_think() //checked partially changed to match cerberus output //did no
|
|||||||
self endon( "disconnect" );
|
self endon( "disconnect" );
|
||||||
while ( 1 )
|
while ( 1 )
|
||||||
{
|
{
|
||||||
wait 0,1;
|
wait 0.1;
|
||||||
if ( !player_any_player_in_laststand() )
|
if ( !player_any_player_in_laststand() )
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
@ -1449,3 +1449,4 @@ cleanup_laststand_on_disconnect() //checked matches cerberus output
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -351,7 +351,7 @@ trap_activate_fire() //checked changed to match cerberus output
|
|||||||
clientnotify( self.script_string + "1" );
|
clientnotify( self.script_string + "1" );
|
||||||
clientnotify( self.script_parameters );
|
clientnotify( self.script_parameters );
|
||||||
fx_points = getstructarray( self.target, "targetname" );
|
fx_points = getstructarray( self.target, "targetname" );
|
||||||
while ( i = 0; i < fx_points.size; i++ )
|
for ( i = 0; i < fx_points.size; i++ )
|
||||||
{
|
{
|
||||||
wait_network_frame();
|
wait_network_frame();
|
||||||
fx_points[ i ] thread trap_audio_fx( self );
|
fx_points[ i ] thread trap_audio_fx( self );
|
||||||
@ -387,7 +387,7 @@ trap_activate_rotating() //checked partially changed to match cerberus output
|
|||||||
wait step;
|
wait step;
|
||||||
t += step;
|
t += step;
|
||||||
}
|
}
|
||||||
for ( i = 0; i < self._trap_movers.size i++ )
|
for ( i = 0; i < self._trap_movers.size; i++ )
|
||||||
{
|
{
|
||||||
self._trap_movers[ i ] rotateyaw( 360, 5, 0, 4.5 );
|
self._trap_movers[ i ] rotateyaw( 360, 5, 0, 4.5 );
|
||||||
}
|
}
|
||||||
@ -766,7 +766,7 @@ get_trap_array( trap_type ) //checked changed to match cerberus output
|
|||||||
{
|
{
|
||||||
ents = getentarray( "zombie_trap", "targetname" );
|
ents = getentarray( "zombie_trap", "targetname" );
|
||||||
traps = [];
|
traps = [];
|
||||||
for ( i = 0; i < ents.size i++ )
|
for ( i = 0; i < ents.size; i++ )
|
||||||
{
|
{
|
||||||
if ( ents[ i ].script_noteworthy == trap_type )
|
if ( ents[ i ].script_noteworthy == trap_type )
|
||||||
{
|
{
|
||||||
@ -863,3 +863,4 @@ is_trap_registered( a_registered_traps ) //checked matches cerberus output
|
|||||||
return isDefined( a_registered_traps[ self.script_noteworthy ] );
|
return isDefined( a_registered_traps[ self.script_noteworthy ] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ player_handle_cymbal_monkey() //checked matches cerberus output
|
|||||||
{
|
{
|
||||||
grenade = get_thrown_monkey();
|
grenade = get_thrown_monkey();
|
||||||
self player_throw_cymbal_monkey( grenade, num_attractors, max_attract_dist, attract_dist_diff );
|
self player_throw_cymbal_monkey( grenade, num_attractors, max_attract_dist, attract_dist_diff );
|
||||||
wait 0,05;
|
wait 0.05;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user