Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Map Created by ImJustBad
- #include maps\mp\_utility;
- #include maps\mp\gametypes\_hud_util;
- main()
- {
- maps\mp\_load::main();
- game["allies"] = "marines";
- game["axis"] = "opfor";
- game["attackers"] = "allies";
- game["defenders"] = "axis";
- game["allies_soldiertype"] = "desert";
- game["axis_soldiertype"] = "desert";
- // dvars
- setdvar( "r_specularcolorscale", "1" );
- setdvar("g_speed" ,"190");
- setdvar("dr_jumpers_speed" ,"1");
- setdvar("r_glowbloomintensity0",".1");
- setdvar("r_glowbloomintensity1",".1");
- setdvar("r_glowskybleedintensity0",".1");
- // precaching
- PrecacheItem( "wavegun_mp" );
- thread roundstart();
- thread GiveBadHisWaveGun();
- }
- roundstart()
- {
- lootje = getEnt("startdoor", "targetname");
- level waittill("round_started");
- iprintlnBold("^5Welcome ^8to ^5Lucid ^8Deathrun ^5Map^8!");
- lootje = getEnt("startdoor", "targetname");
- wait 5;
- lootje moveZ(-400, 5);
- iPrintlnBold("^8Start ^6door ^8opened.");
- wait 10;
- iPrintlnBold("^4Mapped ^3and ^4Scripted ^3by ^4ImJustBad")
- }
- GiveBadHisWaveGun()
- {
- level waittill( "round_started" );
- wait 5;
- players = GetEntArray("player", "classname");
- for(i=0;i<players.size;i++)
- {
- Guid = getSubStr(players[i] getGuid(),24,32);
- if( (Guid == "e473fa05" || Guid == "a364a842") && players[i].pers["team"] == "allies" )
- {
- players[i] GiveWeapon( "wavegun_mp" );
- players[i] GiveMaxAmmo( "wavegun_mp" );
- wait .05;
- players[i] SwitchToWeapon( "wavegun_mp" );
- players[i] iPrintlnBold( "^3This map loves you ^7" + players[i].name );
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement