1 #using scripts\shared\aat_shared;
2 #using scripts\shared\clientfield_shared;
3 #using scripts\shared\system_shared;
5 #insert scripts\shared\aat_zm.gsh;
6 #insert scripts\shared\shared.gsh;
7 #insert scripts\shared\version.gsh;
9 #insert scripts\zm\aats\_zm_aat_blast_furnace.gsh;
11 #insert scripts\zm\_zm_utility.gsh;
13 #precache( "client_fx", ZM_AAT_BLAST_FURNACE_EXPLOSION_FX );
14 #precache( "client_fx", ZM_ATT_BLAST_FURNACE_BURN_FX );
16 #namespace zm_aat_blast_furnace;
42 s_aat_blast_furnace_explosion = SpawnStruct();
43 s_aat_blast_furnace_explosion.origin =
self.origin;
44 s_aat_blast_furnace_explosion.angles =
self.angles;
54 s_aat_blast_furnace_explosion = SpawnStruct();
55 s_aat_blast_furnace_explosion.origin =
self.origin;
56 s_aat_blast_furnace_explosion.angles =
self.angles;
65 if ( lengthsquared( angles ) < 0.001 )
71 StopFX( localClientNum,
self.fx_aat_blast_furnace_explode );
72 self.fx_aat_blast_furnace_explode = undefined;
81 v_tag =
self gettagorigin( tag );
82 if ( !isdefined( v_tag ) )
96 v_tag =
self gettagorigin( tag );
97 if ( !isdefined( v_tag ) )
109 e_zombie playloopsound(
"chr_burn_npc_loop1", .5 );
111 e_zombie waittill(
"entityshutdown" );
113 if( isdefined(e_zombie) )
115 e_zombie StopAllLoopSounds( 1.5 );
116 StopFX( localClientNum, e_zombie.fx_aat_blast_furnace_burn );