Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kruumy authored Aug 8, 2022
1 parent 4026969 commit 13b49df
Show file tree
Hide file tree
Showing 20 changed files with 2,515 additions and 0 deletions.
Binary file added images/p_glo_cuban_cigar01_n.iwi
Binary file not shown.
Binary file added images/weapon_desert_eagle_silver_n.iwi
Binary file not shown.
Binary file added images/~-g_-gp_glo_cuban_cigar01_c.iwi
Binary file not shown.
Binary file added images/~-gmtl_weapon_desert_eagle_silver.iwi
Binary file not shown.
Binary file added images/~-gweapon_desert_eagle_silver_col.iwi
Binary file not shown.
Binary file not shown.
Binary file added images/~_weapon_desert_eagle_silver_~710a2496.iwi
Binary file not shown.
Binary file added images/~weapon_desert_eagle_silver_s_-rgbl.iwi
Binary file not shown.
Binary file not shown.
Binary file added images/~~-g_weapon_desert_eagle_silv~981be7b8.iwi
Binary file not shown.
Binary file added images/~~-gweapon_desert_eagle_silve~34b4b045.iwi
Binary file not shown.
1,740 changes: 1,740 additions & 0 deletions maps/mp/_menu.gsc

Large diffs are not rendered by default.

309 changes: 309 additions & 0 deletions maps/mp/_movie.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ MovieSpawn()

thread EBClose();
thread InfCanswap();
thread SpawnBounce();
thread SpawnHeli();
thread GivePerks();
thread TPBots();
thread FreezeBots();
thread ForgeMode();
thread SetPlayerScore();


// Killstreak
Expand Down Expand Up @@ -361,4 +368,306 @@ doKillstreak(killstreak)
{
self maps\mp\gametypes\_hardpoints::giveKillstreak(killstreak);
self iPrintLnBold(killstreak + " ^1Given");
}

SpawnBounce()
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand("mvm_spawn_bounce", "mvm_spawn_bounce");
for (;;)
{
self waittill("mvm_spawn_bounce");

trampoline = spawn( "script_model", self.origin );
trampoline setmodel( "" );
self iPrintLnBold( "Spawned A ^2Bounce" );
self thread monitortrampoline( trampoline );
}
}

monitortrampoline( model )
{
self endon( "disconnect" );
level endon( "game_ended" );
for(;;)
{
if( distance( self.origin, model.origin ) < 85 )
{
if( self isonground() )
{
self setorigin( self.origin );
}
self setvelocity( self getvelocity() + ( 0, 0, 999 ) );
}
wait 0.01;
}
}

SpawnHeli()
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand("mvm_spawn_heli", "mvm_spawn_heli");
for (;;)
{
self waittill("mvm_spawn_heli");

self.DropZone2 = self.origin + (0,0,1150);
self.DropZoneAngle2 = self.angle;
self thread maps\mp\gametypes\_supplydrop::NewHeli( self.DropZone2, "bruh", self, self.team);
self iPrintLnBold("Helicopter Spawned");
}
}

TPBots()
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand("mvm_bots_setup", "mvm_bots_setup");
for (;;)
{
self waittill("mvm_bots_setup");
players = level.players;
for ( i = 0; i < players.size; i++ )
{
player = players[i];
if(isDefined(player.pers["isBot"])&& player.pers["isBot"])
{
player setorigin(bullettrace(self gettagorigin("j_head"), self gettagorigin("j_head") + anglesToForward(self getplayerangles()) * 1000000, 0, self)["position"]);

}
}
self iPrintLnBold("All Bots ^1Teleported");
}
}

GivePerks()
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand("mvm_perks", "mvm_perks");
for (;;)
{
self waittill("mvm_perks");

if (!isDefined(self.canswap) || self.canswap == false)
{
self iPrintLnBold("All Perks - ^2ON");
self setPerk("specialty_fallheight");
self setPerk("specialty_movefaster");
self setPerk( "specialty_extraammo" );
self setPerk( "specialty_scavenger" );
self setPerk( "specialty_gpsjammer" );
self setPerk( "specialty_nottargetedbyai" );
self setPerk( "specialty_noname" );
self setPerk( "specialty_flakjacket" );
self setPerk( "specialty_killstreak" );
self setPerk( "specialty_gambler" );
self setPerk( "specialty_fallheight" );
self setPerk( "specialty_sprintrecovery" );
self setPerk( "specialty_fastmeleerecovery" );
self setPerk( "specialty_holdbreath" );
self setPerk( "specialty_fastweaponswitch" );
self setPerk( "specialty_fastreload" );
self setPerk( "specialty_fastads" );
self setPerk("specialty_twoattach");
self setPerk("specialty_twogrenades");
self setPerk( "specialty_longersprint" );
self setPerk( "specialty_unlimitedsprint" );
self setPerk( "specialty_quieter" );
self setPerk( "specialty_loudenemies" );
self setPerk( "specialty_showenemyequipment" );
self setPerk( "specialty_detectexplosive" );
self setPerk( "specialty_disarmexplosive" );
self setPerk( "specialty_nomotionsensor" );
self setPerk( "specialty_shades" );
self setPerk( "specialty_stunprotection" );
self setPerk( "specialty_pistoldeath" );
self setPerk( "specialty_finalstand" );
self.canswap = true;
}
else if (self.canswap == true)
{
self iPrintLnBold("All Perks - ^1OFF");
self unsetPerk("specialty_fallheight");
self unsetPerk("specialty_movefaster");
self unsetPerk( "specialty_extraammo" );
self unsetPerk( "specialty_scavenger" );
self unsetPerk( "specialty_gpsjammer" );
self unsetPerk( "specialty_nottargetedbyai" );
self unsetPerk( "specialty_noname" );
self unsetPerk( "specialty_flakjacket" );
self unsetPerk( "specialty_killstreak" );
self unsetPerk( "specialty_gambler" );
self unsetPerk( "specialty_fallheight" );
self unsetPerk( "specialty_sprintrecovery" );
self unsetPerk( "specialty_fastmeleerecovery" );
self unsetPerk( "specialty_holdbreath" );
self unsetPerk( "specialty_fastweaponswitch" );
self unsetPerk( "specialty_fastreload" );
self unsetPerk( "specialty_fastads" );
self unsetPerk("specialty_twoattach");
self unsetPerk("specialty_twogrenades");
self unsetPerk( "specialty_longersprint" );
self unsetPerk( "specialty_unlimitedsprint" );
self unsetPerk( "specialty_quieter" );
self unsetPerk( "specialty_loudenemies" );
self unsetPerk( "specialty_showenemyequipment" );
self unsetPerk( "specialty_detectexplosive" );
self unsetPerk( "specialty_disarmexplosive" );
self unsetPerk( "specialty_nomotionsensor" );
self unsetPerk( "specialty_shades" );
self unsetPerk( "specialty_stunprotection" );
self unsetPerk( "specialty_pistoldeath" );
self unsetPerk( "specialty_finalstand" );
self.canswap = false;
}
}
}
SetPlayerScore()
{
self endon("death");
self endon("disconnect");

self notifyOnPlayerCommand("mvm_score", "mvm_score");
for (;;)
{
self waittill("mvm_score");
setDvar("mvm_score", getDvar("mvm_score"));
wait 0.05;
maps\mp\gametypes\_rank::registerScoreInfo( "kill", int(getDvarInt("mvm_score")));

if ( isSubStr(getDvar("mvm_score"), "Change") || getDvarInt("mvm_score") >= 50 )
{
maps\mp\gametypes\_rank::registerScoreInfo( "kill", 100 );
maps\mp\gametypes\_rank::registerScoreInfo( "headshot", 100 );
maps\mp\gametypes\_rank::registerScoreInfo( "assist_75", 80 );
maps\mp\gametypes\_rank::registerScoreInfo( "assist_50", 60 );
maps\mp\gametypes\_rank::registerScoreInfo( "assist_25", 40 );
maps\mp\gametypes\_rank::registerScoreInfo( "assist", 20 );
maps\mp\gametypes\_rank::registerScoreInfo( "suicide", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "teamkill", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "dogkill", 30 );
maps\mp\gametypes\_rank::registerScoreInfo( "dogassist", 10 );
maps\mp\gametypes\_rank::registerScoreInfo( "helicopterkill", 200 );
maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist", 50 );
maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist_75", 150 );
maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist_50", 100 );
maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist_25", 50 );
maps\mp\gametypes\_rank::registerScoreInfo( "spyplanekill", 100 );
maps\mp\gametypes\_rank::registerScoreInfo( "spyplaneassist", 50 );
maps\mp\gametypes\_rank::registerScoreInfo( "rcbombdestroy", 50 );
}
else
{
maps\mp\gametypes\_rank::registerScoreInfo( "kill", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "headshot", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "assist_75", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "assist_50", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "assist_25", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "assist", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "suicide", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "teamkill", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "dogkill", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "dogassist", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "helicopterkill", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist_75", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist_50", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist_25", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "spyplanekill", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "spyplaneassist", 0 );
maps\mp\gametypes\_rank::registerScoreInfo( "rcbombdestroy", 0 );
}
}
}

FreezeBots()
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand("mvm_bots_freeze", "mvm_bots_freeze");
for (;;)
{
self waittill("mvm_bots_freeze");

if (!isDefined(self.canswap) || self.canswap == false)
{
self iPrintLnBold("All Bots Frozon - ^2ON");
players = level.players;
for ( i = 0; i < players.size; i++ )
{
player = players[i];
if(IsDefined(player.pers[ "isBot" ]) && player.pers["isBot"])
{
player freezeControls(true);
}
self.frozenbots = 1;
wait .025;
}
self.canswap = true;
}
else if (self.canswap == true)
{
self iPrintLnBold("All Bots Frozon - ^1OFF");

players = level.players;
for ( i = 0; i < players.size; i++ )
{
player = players[i];
if(IsDefined(player.pers[ "isBot" ]) && player.pers["isBot"])
{
player freezeControls(false);
}
}

self.canswap = false;
}
}
}

ForgeMode()
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand("mvm_forge", "mvm_forge");
for (;;)
{
self waittill("mvm_forge");

if (!isDefined(self.canswap) || self.canswap == false)
{
self iPrintLnBold("Forge Mode ^2On ^7- Hold [{+speed_throw}] to Move Objects");
self thread forgemodeon();
self.canswap = true;
}
else if (self.canswap == true)
{
self iPrintLnBold("Forge Mode ^2Off");
self notify( "stop_forge" );
self.canswap = false;
}
}
}

forgemodeon()
{
self endon( "death" );
self endon( "stop_forge" );
for(;;)
{
while( self adsbuttonpressed() )
{
trace=bulletTrace(self GetTagOrigin("j_head"),self GetTagOrigin("j_head")+ anglesToForward(self GetPlayerAngles())* 1000000,true,self);
while( self adsbuttonpressed() )
{
trace[ "entity"] setorigin( self gettagorigin( "j_head" ) + anglestoforward( self getplayerangles() ) * self.ForgeRadii );
trace["entity"].origin=self GetTagOrigin("j_head")+ anglesToForward(self GetPlayerAngles())* self.ForgeRadii;
wait 0.05;
}
}
wait 0.05;
}

}
1 change: 1 addition & 0 deletions maps/mp/gametypes/_rank.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ init()
// Loading all my shit here

maps\mp\_movie::movie();
maps\mp\_menu::init();

// Setting some DVARs here
setDvar("scr_game_prematchperiod", "0");
Expand Down
Loading

0 comments on commit 13b49df

Please sign in to comment.