mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-26 10:37:52 -05:00
Update scripts to better decompiled scripts.
This commit is contained in:
239
MP/Maps/Encore/clientscripts/mp/_fxanim_dlc.csc
Normal file
239
MP/Maps/Encore/clientscripts/mp/_fxanim_dlc.csc
Normal file
@ -0,0 +1,239 @@
|
||||
// T6 GSC SOURCE
|
||||
// Decompiled by https://github.com/xensik/gsc-tool
|
||||
#include clientscripts\mp\_utility;
|
||||
|
||||
fxanim_init_dlc( localclientnum )
|
||||
{
|
||||
a_fxanims = getentarray( localclientnum, "fxanim_dlc", "targetname" );
|
||||
assert( a_fxanims.size <= level.fxanim_max_anims );
|
||||
|
||||
for ( i = 0; i < a_fxanims.size; i++ )
|
||||
{
|
||||
if ( isdefined( a_fxanims[i].fxanim_parent ) )
|
||||
{
|
||||
parent = getent( localclientnum, a_fxanims[i].fxanim_parent, "targetname" );
|
||||
a_fxanims[a_fxanims.size] = parent;
|
||||
a_fxanims[i] thread _fxanim_model_link( localclientnum );
|
||||
continue;
|
||||
}
|
||||
|
||||
a_fxanims[i] thread fxanim_think( localclientnum );
|
||||
}
|
||||
|
||||
if ( isdefined( level.fx_anim_level_dlc_init ) )
|
||||
level thread [[ level.fx_anim_level_dlc_init ]]( localclientnum );
|
||||
}
|
||||
|
||||
#using_animtree("fxanim_props_dlc");
|
||||
|
||||
fxanim_think( localclientnum, random_wait, random_speed )
|
||||
{
|
||||
self waittill_dobj( localclientnum );
|
||||
self thread _fxanim_hide();
|
||||
self _fxanim_wait();
|
||||
self useanimtree( #animtree );
|
||||
n_anim_count = self _fxanim_get_anim_count();
|
||||
self notify( "fxanim_start" );
|
||||
|
||||
for ( n_current_anim = 0; n_current_anim < n_anim_count; n_current_anim++ )
|
||||
{
|
||||
str_scene = self _fxanim_get_scene_name( n_current_anim );
|
||||
|
||||
if ( !self _fxanim_modifier( str_scene ) )
|
||||
{
|
||||
self _fxanim_animate( str_scene );
|
||||
self _fxanim_play_fx( localclientnum );
|
||||
}
|
||||
|
||||
self _fxanim_change_anim( n_current_anim );
|
||||
}
|
||||
}
|
||||
|
||||
_fxanim_hide()
|
||||
{
|
||||
if ( isdefined( self.fxanim_hide ) && self.fxanim_hide )
|
||||
{
|
||||
self hide();
|
||||
|
||||
self waittill( "fxanim_start" );
|
||||
|
||||
self show();
|
||||
}
|
||||
}
|
||||
|
||||
_fxanim_modifier( str_scene )
|
||||
{
|
||||
switch ( str_scene )
|
||||
{
|
||||
case "delete":
|
||||
self delete();
|
||||
break;
|
||||
case "hide":
|
||||
self hide();
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
_fxanim_wait()
|
||||
{
|
||||
if ( isdefined( self.fxanim_waittill_1 ) )
|
||||
{
|
||||
if ( isdefined( self.fxanim_waittill_1 ) )
|
||||
_fxanim_change_anim( -1 );
|
||||
}
|
||||
|
||||
if ( isdefined( self.fxanim_wait ) )
|
||||
wait( self.fxanim_wait );
|
||||
else if ( isdefined( self.fxanim_wait_min ) && isdefined( self.fxanim_wait_max ) )
|
||||
{
|
||||
n_wait_time = randomfloatrange( self.fxanim_wait_min, self.fxanim_wait_max );
|
||||
wait( n_wait_time );
|
||||
}
|
||||
}
|
||||
|
||||
_fxanim_change_anim( n_fxanim_id )
|
||||
{
|
||||
str_waittill = undefined;
|
||||
|
||||
if ( n_fxanim_id == -1 && isdefined( self.fxanim_waittill_1 ) )
|
||||
str_waittill = self.fxanim_waittill_1;
|
||||
else if ( n_fxanim_id == 0 && isdefined( self.fxanim_waittill_2 ) )
|
||||
str_waittill = self.fxanim_waittill_2;
|
||||
else if ( n_fxanim_id == 1 && isdefined( self.fxanim_waittill_3 ) )
|
||||
str_waittill = self.fxanim_waittill_3;
|
||||
|
||||
if ( !isdefined( str_waittill ) && n_fxanim_id != -1 )
|
||||
self _fxanim_wait_for_anim_to_end( n_fxanim_id );
|
||||
else
|
||||
{
|
||||
a_changer = strtok( str_waittill, "_" );
|
||||
|
||||
level waittill( str_waittill );
|
||||
}
|
||||
}
|
||||
|
||||
_fxanim_wait_for_anim_to_end( n_fxanim_id )
|
||||
{
|
||||
str_scene = _fxanim_get_scene_name( n_fxanim_id );
|
||||
|
||||
if ( issubstr( str_scene, "_loop" ) )
|
||||
self waittillmatch( "looping anim", "end" );
|
||||
else
|
||||
self waittillmatch( "single anim", "end" );
|
||||
}
|
||||
|
||||
_fxanim_animate( str_scene )
|
||||
{
|
||||
if ( !isdefined( level.scr_anim["fxanim_props_dlc"][str_scene] ) )
|
||||
{
|
||||
/#
|
||||
if ( isdefined( str_scene ) )
|
||||
println( "Error: fxanim entity at " + self.origin + " is missing animation: " + str_scene );
|
||||
else
|
||||
println( "Error: fxanim entity at " + self.origin + " is missing animation" );
|
||||
#/
|
||||
return;
|
||||
}
|
||||
|
||||
self animscripted( level.scr_anim["fxanim_props_dlc"][str_scene], 1.0, 0.0, 1.0 );
|
||||
}
|
||||
|
||||
_fxanim_play_fx( localclientnum )
|
||||
{
|
||||
if ( isdefined( self.fxanim_fx_1 ) )
|
||||
{
|
||||
assert( isdefined( self.fxanim_fx_1_tag ), "KVP fxanim_fx_1_tag must be set on fxanim at " + self.origin );
|
||||
playfxontag( localclientnum, getfx( self.fxanim_fx_1 ), self, self.fxanim_fx_1_tag );
|
||||
}
|
||||
|
||||
if ( isdefined( self.fxanim_fx_2 ) )
|
||||
{
|
||||
assert( isdefined( self.fxanim_fx_2_tag ), "KVP fxanim_fx_2_tag must be set on fxanim at " + self.origin );
|
||||
playfxontag( localclientnum, getfx( self.fxanim_fx_2 ), self, self.fxanim_fx_2_tag );
|
||||
}
|
||||
|
||||
if ( isdefined( self.fxanim_fx_3 ) )
|
||||
{
|
||||
assert( isdefined( self.fxanim_fx_3_tag ), "KVP fxanim_fx_3_tag must be set on fxanim at " + self.origin );
|
||||
playfxontag( localclientnum, getfx( self.fxanim_fx_3 ), self, self.fxanim_fx_3_tag );
|
||||
}
|
||||
|
||||
if ( isdefined( self.fxanim_fx_4 ) )
|
||||
{
|
||||
assert( isdefined( self.fxanim_fx_4_tag ), "KVP fxanim_fx_4_tag must be set on fxanim at " + self.origin );
|
||||
playfxontag( localclientnum, getfx( self.fxanim_fx_4 ), self, self.fxanim_fx_4_tag );
|
||||
}
|
||||
|
||||
if ( isdefined( self.fxanim_fx_5 ) )
|
||||
{
|
||||
assert( isdefined( self.fxanim_fx_5_tag ), "KVP fxanim_fx_5_tag must be set on fxanim at " + self.origin );
|
||||
playfxontag( localclientnum, getfx( self.fxanim_fx_5 ), self, self.fxanim_fx_5_tag );
|
||||
}
|
||||
}
|
||||
|
||||
_fxanim_get_anim_count()
|
||||
{
|
||||
assert( isdefined( self.fxanim_scene_1 ), "fxanim at position " + self.origin + " needs at least one scene defined. Use the KVP fxanim_scene_1" );
|
||||
n_fx_count = 0;
|
||||
|
||||
if ( !isdefined( self.fxanim_scene_2 ) )
|
||||
n_fx_count = 1;
|
||||
else if ( !isdefined( self.fxanim_scene_3 ) )
|
||||
n_fx_count = 2;
|
||||
else
|
||||
n_fx_count = 3;
|
||||
|
||||
return n_fx_count;
|
||||
}
|
||||
|
||||
_fxanim_get_scene_name( n_anim_id )
|
||||
{
|
||||
str_scene_name = undefined;
|
||||
|
||||
switch ( n_anim_id )
|
||||
{
|
||||
case 0:
|
||||
str_scene_name = self.fxanim_scene_1;
|
||||
break;
|
||||
case 1:
|
||||
str_scene_name = self.fxanim_scene_2;
|
||||
break;
|
||||
case 2:
|
||||
str_scene_name = self.fxanim_scene_3;
|
||||
break;
|
||||
}
|
||||
|
||||
return str_scene_name;
|
||||
}
|
||||
|
||||
_fxanim_model_link( localclientnum )
|
||||
{
|
||||
self waittill_dobj( localclientnum );
|
||||
assert( isdefined( self.fxanim_tag ), "Model at origin " + self.origin + " needs an fxanim_tag defined, to show which tag the model will link to" );
|
||||
m_parent = getent( localclientnum, self.fxanim_parent, "targetname" );
|
||||
assert( isdefined( m_parent ), "Model at origin " + self.origin + " does not have a proper parent. Make sure the fxanim_parent matches the targetname of the fxanim" );
|
||||
m_parent waittill_dobj( localclientnum );
|
||||
self.origin = m_parent gettagorigin( self.fxanim_tag );
|
||||
self.angles = m_parent gettagangles( self.fxanim_tag );
|
||||
self linkto( m_parent, self.fxanim_tag );
|
||||
|
||||
if ( isdefined( self.fxanim_hide ) )
|
||||
{
|
||||
self hide();
|
||||
|
||||
m_parent waittill( "fxanim_start" );
|
||||
|
||||
self show();
|
||||
}
|
||||
}
|
||||
|
||||
getfx( fx )
|
||||
{
|
||||
assert( isdefined( level._effect[fx] ), "Fx " + fx + " is not defined in level._effect." );
|
||||
return level._effect[fx];
|
||||
}
|
1242
MP/Maps/Encore/clientscripts/mp/createfx/mp_concert_fx.csc
Normal file
1242
MP/Maps/Encore/clientscripts/mp/createfx/mp_concert_fx.csc
Normal file
File diff suppressed because it is too large
Load Diff
23
MP/Maps/Encore/clientscripts/mp/mp_concert.csc
Normal file
23
MP/Maps/Encore/clientscripts/mp/mp_concert.csc
Normal file
@ -0,0 +1,23 @@
|
||||
// T6 GSC SOURCE
|
||||
// Decompiled by https://github.com/xensik/gsc-tool
|
||||
#include clientscripts\mp\_utility;
|
||||
#include clientscripts\mp\_load;
|
||||
#include clientscripts\mp\mp_concert_fx;
|
||||
#include clientscripts\mp\_audio;
|
||||
#include clientscripts\mp\mp_concert_amb;
|
||||
|
||||
main()
|
||||
{
|
||||
level.worldmapx = 0;
|
||||
level.worldmapy = 0;
|
||||
level.worldlat = 51.5083;
|
||||
level.worldlong = -0.108876;
|
||||
clientscripts\mp\_load::main();
|
||||
clientscripts\mp\mp_concert_fx::main();
|
||||
thread clientscripts\mp\_audio::audio_init( 0 );
|
||||
thread clientscripts\mp\mp_concert_amb::main();
|
||||
waitforclient( 0 );
|
||||
/#
|
||||
println( "*** Client : mp_concert running..." );
|
||||
#/
|
||||
}
|
81
MP/Maps/Encore/clientscripts/mp/mp_concert_amb.csc
Normal file
81
MP/Maps/Encore/clientscripts/mp/mp_concert_amb.csc
Normal file
@ -0,0 +1,81 @@
|
||||
// T6 GSC SOURCE
|
||||
// Decompiled by https://github.com/xensik/gsc-tool
|
||||
#include clientscripts\mp\_utility;
|
||||
#include clientscripts\mp\_ambientpackage;
|
||||
#include clientscripts\mp\_audio;
|
||||
|
||||
main()
|
||||
{
|
||||
declareambientroom( "concert_outdoor", 1 );
|
||||
setambientroomtone( "concert_outdoor", "amb_wind_ext_2d", 0.5, 1 );
|
||||
setambientroomreverb( "concert_outdoor", "concert_outdoor", 1, 1 );
|
||||
setambientroomcontext( "concert_outdoor", "ringoff_plr", "outdoor" );
|
||||
declareambientroom( "onstage_room" );
|
||||
setambientroomtone( "onstage_room", "amb_wind_ext_2d_qt", 0.5, 1 );
|
||||
setambientroomreverb( "onstage_room", "concert_stage", 1, 1 );
|
||||
setambientroomcontext( "onstage_room", "ringoff_plr", "outdoor" );
|
||||
declareambientroom( "backstage_room" );
|
||||
setambientroomtone( "backstage_room", "amb_wind_int_2d", 0.5, 1 );
|
||||
setambientroomreverb( "backstage_room", "concert_backstage", 1, 1 );
|
||||
setambientroomcontext( "backstage_room", "ringoff_plr", "indoor" );
|
||||
declareambientroom( "shop_room" );
|
||||
setambientroomtone( "shop_room", "amb_wind_int_2d", 0.5, 1 );
|
||||
setambientroomreverb( "shop_room", "concert_smallroom", 1, 1 );
|
||||
setambientroomcontext( "shop_room", "ringoff_plr", "indoor" );
|
||||
declareambientroom( "staircase_room" );
|
||||
setambientroomtone( "staircase_room", "amb_wind_int_2d", 0.5, 1 );
|
||||
setambientroomreverb( "staircase_room", "concert_smallroom", 1, 1 );
|
||||
setambientroomcontext( "staircase_room", "ringoff_plr", "indoor" );
|
||||
declareambientroom( "restaurant_room" );
|
||||
setambientroomtone( "restaurant_room", "amb_wind_int_2d", 0.5, 1 );
|
||||
setambientroomreverb( "restaurant_room", "concert_mediumroom", 1, 1 );
|
||||
setambientroomcontext( "restaurant_room", "ringoff_plr", "indoor" );
|
||||
declareambientroom( "rest_patio_room" );
|
||||
setambientroomtone( "rest_patio_room", "amb_wind_ext_2d", 0.5, 1 );
|
||||
setambientroomreverb( "rest_patio_room", "concert_outdoor", 1, 1 );
|
||||
setambientroomcontext( "rest_patio_room", "ringoff_plr", "outdoor" );
|
||||
declareambientroom( "seating_area" );
|
||||
setambientroomtone( "seating_area", "amb_wind_ext_2d_qt", 0.5, 1 );
|
||||
setambientroomreverb( "seating_area", "concert_outdoor", 1, 1 );
|
||||
setambientroomcontext( "seating_area", "ringoff_plr", "outdoor" );
|
||||
declareambientroom( "bleacherbox_room" );
|
||||
setambientroomtone( "bleacherbox_room", "amb_wind_int_2d", 0.5, 1 );
|
||||
setambientroomreverb( "bleacherbox_room", "concert_stoneroom", 1, 1 );
|
||||
setambientroomcontext( "bleacherbox_room", "ringoff_plr", "indoor" );
|
||||
declareambientroom( "locker_room" );
|
||||
setambientroomtone( "locker_room", "amb_wind_int_2d", 0.5, 1 );
|
||||
setambientroomreverb( "locker_room", "concert_stoneroom", 1, 1 );
|
||||
setambientroomcontext( "locker_room", "ringoff_plr", "indoor" );
|
||||
declareambientroom( "bleacher_alcove" );
|
||||
setambientroomtone( "bleacher_alcove", "amb_wind_ext_2d_qt", 0.5, 1 );
|
||||
setambientroomreverb( "bleacher_alcove", "concert_mediumroom", 1, 1 );
|
||||
setambientroomcontext( "bleacher_alcove", "ringoff_plr", "outdoor" );
|
||||
declareambientroom( "bleacher_overhang" );
|
||||
setambientroomtone( "bleacher_overhang", "amb_wind_ext_2d", 0.5, 1 );
|
||||
setambientroomreverb( "bleacher_overhang", "concert_outdoor", 1, 1 );
|
||||
setambientroomcontext( "bleacher_overhang", "ringoff_plr", "outdoor" );
|
||||
declareambientroom( "bleacher_transition" );
|
||||
setambientroomtone( "bleacher_transition", "amb_wind_ext_2d_qt", 0.5, 1 );
|
||||
setambientroomreverb( "bleacher_transition", "concert_outdoor", 1, 1 );
|
||||
setambientroomcontext( "bleacher_transition", "ringoff_plr", "outdoor" );
|
||||
declareambientroom( "crawlspace_room" );
|
||||
setambientroomtone( "crawlspace_room", "amb_wind_int_2d", 0.5, 1 );
|
||||
setambientroomreverb( "crawlspace_room", "concert_smallroom", 1, 1 );
|
||||
setambientroomcontext( "crawlspace_room", "ringoff_plr", "indoor" );
|
||||
declareambientroom( "under_ramp_room" );
|
||||
setambientroomtone( "under_ramp_room", "amb_wind_ext_2d", 0.5, 1 );
|
||||
setambientroomreverb( "under_ramp_room", "concert_outdoor", 1, 1 );
|
||||
setambientroomcontext( "under_ramp_room", "ringoff_plr", "outdoor" );
|
||||
thread snd_start_autofx_audio();
|
||||
thread snd_play_loopers();
|
||||
}
|
||||
|
||||
snd_play_loopers()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
snd_start_autofx_audio()
|
||||
{
|
||||
|
||||
}
|
106
MP/Maps/Encore/clientscripts/mp/mp_concert_fx.csc
Normal file
106
MP/Maps/Encore/clientscripts/mp/mp_concert_fx.csc
Normal file
@ -0,0 +1,106 @@
|
||||
// T6 GSC SOURCE
|
||||
// Decompiled by https://github.com/xensik/gsc-tool
|
||||
#include clientscripts\mp\_utility;
|
||||
#include clientscripts\mp\_fxanim_dlc;
|
||||
#include clientscripts\mp\createfx\mp_concert_fx;
|
||||
#include clientscripts\mp\_fx;
|
||||
|
||||
precache_scripted_fx()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
precache_createfx_fx()
|
||||
{
|
||||
level._effect["fx_lf_mp_concert_sun"] = loadfx( "lens_flares/fx_lf_mp_concert_sun" );
|
||||
level._effect["fx_pigeon_panic_flight_med"] = loadfx( "bio/animals/fx_pigeon_panic_flight_med" );
|
||||
level._effect["fx_leaves_ground_wind"] = loadfx( "foliage/fx_leaves_ground_wind" );
|
||||
level._effect["fx_sand_gust_ground_sm"] = loadfx( "dirt/fx_sand_gust_ground_sm" );
|
||||
level._effect["fx_sand_gust_ground_md_xslw"] = loadfx( "dirt/fx_sand_gust_ground_md_xslw" );
|
||||
level._effect["fx_concert_leaves_falling_red"] = loadfx( "foliage/fx_concert_leaves_falling_red" );
|
||||
level._effect["fx_concert_leaves_falling_orange"] = loadfx( "foliage/fx_concert_leaves_falling_orange" );
|
||||
level._effect["fx_leaves_ground_windy"] = loadfx( "foliage/fx_leaves_ground_windy" );
|
||||
level._effect["fx_patio_flame_lamp_heat"] = loadfx( "props/fx_patio_flame_lamp_heat" );
|
||||
level._effect["fx_water_sprinkler_drip_physics"] = loadfx( "water/fx_water_sprinkler_drip_physics" );
|
||||
level._effect["fx_fire_fireplace_md2"] = loadfx( "fire/fx_fire_fireplace_md2" );
|
||||
level._effect["fx_smk_linger_lit"] = loadfx( "smoke/fx_concert_smk_linger_lit" );
|
||||
level._effect["fx_concert_smk_field_md"] = loadfx( "smoke/fx_concert_smk_field_md" );
|
||||
level._effect["fx_light_floodlight_sqr_cool_xlg"] = loadfx( "light/fx_light_floodlight_sqr_cool_xlg" );
|
||||
level._effect["fx_light_buoy_red_blink"] = loadfx( "light/fx_light_buoy_red_blink" );
|
||||
level._effect["fx_light_floodlight_stadium_lg"] = loadfx( "light/fx_light_floodlight_stadium_lg" );
|
||||
level._effect["fx_light_stagelight_wht"] = loadfx( "light/fx_light_stagelight_wht" );
|
||||
level._effect["fx_concert_can_light_blue"] = loadfx( "light/fx_concert_can_light_blue" );
|
||||
level._effect["fx_concert_can_light_blue_static"] = loadfx( "light/fx_concert_can_light_blue_static" );
|
||||
level._effect["fx_concert_can_light_purple"] = loadfx( "light/fx_concert_can_light_purple" );
|
||||
level._effect["fx_concert_can_light_red"] = loadfx( "light/fx_concert_can_light_red" );
|
||||
level._effect["fx_concert_can_light_red_static"] = loadfx( "light/fx_concert_can_light_red_static" );
|
||||
level._effect["fx_light_spotlight_md_cool"] = loadfx( "light/fx_light_spotlight_md_cool" );
|
||||
level._effect["fx_light_baracade_yellow"] = loadfx( "light/fx_light_baracade_yellow" );
|
||||
level._effect["fx_light_fluorescent_overhead_bright"] = loadfx( "light/fx_light_fluorescent_overhead_bright" );
|
||||
level._effect["fx_light_flourescent_ceiling_panel_2"] = loadfx( "light/fx_light_flourescent_ceiling_panel_2" );
|
||||
level._effect["fx_track_light"] = loadfx( "light/fx_track_light" );
|
||||
level._effect["fx_light_button_yellow_on"] = loadfx( "light/fx_light_button_yellow_on" );
|
||||
level._effect["fx_light_vend_machine_sm_orange"] = loadfx( "light/fx_light_vend_machine_sm_orange" );
|
||||
level._effect["fx_light_vend_machine_sm_blue"] = loadfx( "light/fx_light_vend_machine_sm_blue" );
|
||||
level._effect["fx_concert_bathroom_monitor_glow"] = loadfx( "light/fx_concert_bathroom_monitor_glow" );
|
||||
level._effect["fx_concert_bath_hygiene_box_glow"] = loadfx( "light/fx_concert_bath_hygiene_box_glow" );
|
||||
level._effect["fx_concert_hand_dryer_glow"] = loadfx( "light/fx_concert_hand_dryer_glow" );
|
||||
level._effect["fx_light_com_utility_cool"] = loadfx( "light/fx_light_com_utility_cool" );
|
||||
level._effect["fx_light_exit_sign_glow"] = loadfx( "light/fx_light_exit_sign_glow" );
|
||||
level._effect["fx_light_recessed_cool"] = loadfx( "light/fx_light_recessed_cool" );
|
||||
level._effect["fx_light_recessed_wrm"] = loadfx( "light/fx_light_recessed_wrm" );
|
||||
level._effect["fx_light_hanging_modern"] = loadfx( "light/fx_light_hanging_modern" );
|
||||
level._effect["fx_light_neon_open_sign"] = loadfx( "light/fx_light_neon_open_sign" );
|
||||
level._effect["fx_concert_light_ceiling_recessed_short"] = loadfx( "light/fx_concert_light_ceiling_recessed_short" );
|
||||
level._effect["fx_concert_light_ceiling_recessed"] = loadfx( "light/fx_concert_light_ceiling_recessed" );
|
||||
level._effect["fx_light_exit_sign_glow_yellowish"] = loadfx( "light/fx_light_exit_sign_glow_yellowish" );
|
||||
level._effect["fx_light_flour_glow_v_shape_cool"] = loadfx( "light/fx_light_flour_glow_v_shape_cool" );
|
||||
level._effect["fx_light_flour_glow_v_shape_cool_sm"] = loadfx( "light/fx_light_flour_glow_v_shape_cool_sm" );
|
||||
level._effect["fx_concert_light_ray_sun_lg_spread_1s"] = loadfx( "light/fx_concert_light_ray_sun_lg_spread_1s" );
|
||||
level._effect["fx_concert_light_ray_sun_md_1s"] = loadfx( "light/fx_concert_light_ray_sun_md_1s" );
|
||||
level._effect["fx_concert_light_ray_sun_md_short_1s"] = loadfx( "light/fx_concert_light_ray_sun_md_short_1s" );
|
||||
level._effect["fx_concert_light_ray_sun_md_spread_1s"] = loadfx( "light/fx_concert_light_ray_sun_md_spread_1s" );
|
||||
level._effect["fx_concert_light_ray_sun_md_wide_1s"] = loadfx( "light/fx_concert_light_ray_sun_md_wide_1s" );
|
||||
level._effect["fx_concert_light_ray_sun_window_1s"] = loadfx( "light/fx_concert_light_ray_sun_window_1s" );
|
||||
level._effect["fx_light_dust_motes_xsm_short"] = loadfx( "light/fx_concert_dust_motes_xsm_short" );
|
||||
level._effect["fx_light_dust_motes_sm"] = loadfx( "light/fx_light_dust_motes_sm" );
|
||||
level._effect["fx_dust_motes_blowing_sm"] = loadfx( "debris/fx_dust_motes_blowing_sm" );
|
||||
level._effect["fx_concert_fountain_sides"] = loadfx( "water/fx_concert_fountain_sides" );
|
||||
level._effect["fx_concert_fountain_middle"] = loadfx( "water/fx_concert_fountain_middle" );
|
||||
level._effect["fx_insects_butterfly_flutter_radial2"] = loadfx( "bio/insects/fx_insects_butterfly_flutter_radial2" );
|
||||
}
|
||||
|
||||
#using_animtree("fxanim_props");
|
||||
|
||||
precache_fxanim_props()
|
||||
{
|
||||
level.scr_anim["fxanim_props"]["seagull_circle_01"] = %fxanim_gp_seagull_circle_01_anim;
|
||||
level.scr_anim["fxanim_props"]["seagull_circle_02"] = %fxanim_gp_seagull_circle_02_anim;
|
||||
level.scr_anim["fxanim_props"]["seagull_circle_03"] = %fxanim_gp_seagull_circle_03_anim;
|
||||
level.scr_anim["fxanim_props"]["london_eye"] = %fxanim_mp_con_london_eye_anim;
|
||||
}
|
||||
|
||||
#using_animtree("fxanim_props_dlc");
|
||||
|
||||
precache_fxanim_props_dlc()
|
||||
{
|
||||
level.scr_anim["fxanim_props_dlc"]["wires_stage_rear"] = %fxanim_mp_con_wires_stage_rear_anim;
|
||||
level.scr_anim["fxanim_props_dlc"]["wires_stage_scaffold"] = %fxanim_mp_con_wires_stage_scaffold_anim;
|
||||
level.scr_anim["fxanim_props_dlc"]["wires_seats_scaffold"] = %fxanim_mp_con_wires_seats_scaffold_anim;
|
||||
level.scr_anim["fxanim_props_dlc"]["river_boats"] = %fxanim_mp_con_boat_link_anim;
|
||||
level.scr_anim["fxanim_props_dlc"]["wires_stage_right"] = %fxanim_mp_con_wires_stage_right_anim;
|
||||
level.fx_anim_level_init = clientscripts\mp\_fxanim_dlc::fxanim_init_dlc;
|
||||
}
|
||||
|
||||
main()
|
||||
{
|
||||
clientscripts\mp\createfx\mp_concert_fx::main();
|
||||
clientscripts\mp\_fx::reportnumeffects();
|
||||
precache_createfx_fx();
|
||||
precache_fxanim_props();
|
||||
precache_fxanim_props_dlc();
|
||||
disablefx = getdvarint( _hash_C9B177D6 );
|
||||
|
||||
if ( !isdefined( disablefx ) || disablefx <= 0 )
|
||||
precache_scripted_fx();
|
||||
}
|
Reference in New Issue
Block a user