fix glass on mp_strike

pull/3/head
Diavolo 2022-08-07 18:59:55 +02:00
parent b1424babb6
commit 9f7d9e488d
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
main()
{
maps\mp\mp_strike_precache::main();
maps\mp\mp_strike_fx::main();
maps\createart\mp_strike_art::main();
maps\mp\_load::main();
maps\mp\_compass::setupMiniMap( "compass_map_mp_strike" );
AmbientPlay( "ambient_mp_strike" );
game["attackers"] = "allies";
game["defenders"] = "axis";
SetDvar( "compassmaxrange", "1900" );
SetDvar( "r_specularcolorscale", "1.86" );
thread BreakGlass();
}
BreakGlass()
{
level waittill( "connected" );
glass = getGlassArray( "brokenglass01" );
foreach( piece in glass )
{
destroyGlass( piece );
}
}