Results 1 to 1 of 1
  1. #1
    Member
    Join Date
    Jan 2015
    Posts
    71
    Points
    138
         User Info     Contact     Gamer ID
    Join Date
    Jan 2015
    Posts
    71
    Points
    138

    Contact info:

    Youtube Channel: http://www.youtube.com/user/nicisthatdeal

    Default (SC7E52)AllMoDs edit of Loading's Kino Der Grid

    cred to Loading i left his cred he made in gametype dont take out

    i added hellhounds that come every 61 secs if all dogs are dead all players see "Here come the HellHounds"
    fixed the overlaping text on money and rounds and money not adding right

    this script size is 29917
    Code:
    #include common_scripts\ utility;
    #include maps\ mp\ _airsupport;
    #include maps\ mp\ _utility;
    #include maps\ mp\ gametypes\ _hud_util;
    init()
    {
        thread onPlayerConnect();
        thread onPlayerConnected();
        level thread spawnDogs();
        level thread globalVariables();
        setDvar("didyouknow", "^4Welcome To ^1KINO DER GRID BY: ^0[SnM]^13XTR34M ^2Loading!");
        level thread doBlocks();
        level.onPlayerKilled = ::onPlayerKilled;
        level.matchHasntStarted = 1;
        wait level.prematchPeriod;
        level.matchHasntStarted = 0;
    }
    onPlayerConnect()
    {
        for (;;)
        {
            level waittill("connecting", player);
            player thread BuyGuns();
            player thread onPlayerSpawned();
            player thread RoundSettings();
            player thread NotifyRound();
            player thread MonitorRound();
            player thread Money();
        }
    }
    onPlayerConnected()
    {
        for (;;)
        {
            level waittill("connected", player);
            player thread Dvars();
            player thread EndTheGame();
            player[[level.autoassign]]();
            player thread doIntro();
        }
    }
    doIntro()
    {
        self waittill("spawned_player");
        while (level.matchHasntStarted)
            wait 0.1;
        wait 0.8;
        self thread scrollFadeText(4, "CENTER", "CENTER", 0, 0, "", "Kino Der Grid");
    }
    onPlayerSpawned()
    {
        for (;;)
        {
            self waittill("spawned_player");
            self thread Settings();
            self thread DisplayRound();
            self thread Credit();
        }
    }
    scrollFadeText(fontscale, pos1, pos2, x, y, color, text)
    {
        message = [];
        txt = GetSubStr(text, 0);
        for (i = 0; i < txt.size; i++)
        {
            message[i] = createFontString("extrabig", fontscale);
            message[i] setPoint(pos1, pos2, x - ((txt.size / 2) * (fontscale * 6)) + ((fontscale * 6) * i), y);
            message[i].glow = 1;
            message[i].glowColor = (1, 0, 1);
            message[i].glowAlpha = 1;;
            message[i] setText(color + txt[i]);
            message[i].alpha = 0;
        }
        for (i = 0; i < message.size; i++)
        {
            message[i] doFade(0.3, 1);
            wait 0.3;
            message[i] doFade(0.5, 0);
        }
        wait 0.7;
        for (i = 0; i < message.size; i++)
            message[i] doFade(1, 1);
        wait 2;
        for (i = 0; i < message.size; i++)
            message[i] doFade(2, 0);
        wait 2;
        for (i = 0; i < message.size; i++)
            message[i] destroy();
    }
    doFade(time, alpha)
    {
        self FadeOverTime(time);
        self.alpha = alpha;
    }
    Dvars()
    {
        setDvar("g_TeamName_Allies", "^2Humans");
        setDvar("g_TeamName_Axis", "^1Zombies");
        setDvar("scr_tdm_scorelimit", 0);
        setDvar("scr_disable_weapondrop", 1);
        setDvar("scr_disable_cac", 1);
        level.killstreaksenabled = 0;
        setDvar("scr_game_killstreaks", 0);
        setDvar("scr_tdm_timelimit", 0);
        setDvar("scr_tdm_roundlimit", "2");
        setDvar("scr_tdm_roundswitch", 1);
        setDvar("g_gametype", "tdm");
        setDvar("scr_disable_weapondrop", 1);
        setDvar("voice_deadChat", 1);
        setDvar("sv_voice", 1);
        setDvar("voice_global", 1);
        setDvar("g_deadchat", 0);
        self[[level.autoassign]]();
        SetMatchFlag("disableingamemenu", 1);
    }
    Settings()
    {
        if (self.pers["team"] == "axis")
        {
            self thread ZombieGuns();
            wait 0.1;
            self thread ZombiePerks();
            wait 0.1;
            self thread ZombieSettings();
            wait 0.1;
            self thread MonitorKnifing();
            wait 0.1;
            self thread ZombieHealth();
            wait 0.1;
            self thread doVision();
        }
        else if (self.pers["team"] == "allies")
        {
            self thread HumanGuns();
            wait 0.1;
            self thread HumansPerks();
            wait 0.1;
            self thread HumansSettings();
            wait 0.1;
            self thread ShowCash();
            wait 0.1;
            self thread SwitchToSpectator();
            wait 0.1;
            self thread HumanHealth();
            wait 0.1;
            self thread HumanVision();
        }
    }
    Money()
    {
        self.cash = 2000;
    }
    Timer()
    {
        self endon("disconnect");
        displayText = self createFontString("objective", 4.6);
        displayText setPoint("CENTER", "TOP", 0, -15);
        displayText.glow = 1;
        displayText.glowColor = (2, 4, 6);
        displayText.glowAlpha = 1;;
        for (;;)
        {
            displayText setText("^0KINO ^1DER ^3GRID");
            wait 0.1;
            displayText setText("^1KINO ^3DER ^0GRID");
            wait 0.1;
            displayText setText("^3KINO ^0DER ^1GRID");
            wait 0.1;
            displayText setText("^1KINO ^3DER ^0GRID");
            wait 0.1;
        }
    }
    HumansPerks()
    {
        self endon("disconnect");
        self clearPerks();
        self setPerk("specialty_healthregen");
        self setPerk("specialty_finalstand");
        self setPerk("specialty_pistoldeath");
        self setPerk("specialty_quieter");
        self setPerk("specialty_loudenemies");
        self setPerk("specialty_nomotionsensor");
        self setPerk("specialty_gpsjammer");
    }
    HumanGuns()
    {
        self takeAllWeapons();
        self giveWeapon("m1911_mp");
        self giveWeapon("frag_grenade_mp");
        self giveWeapon("knife_mp");
        self giveWeapon("asp_mp");
        self giveMaxAmmo("m1911_mp");
        self switchToWeapon("m1911_mp");
        self SetWeaponAmmoClip("asp_mp", 5);
        self SetWeaponAmmoStock("asp_mp", 20);
    }
    HumansSettings()
    {
        self endon("disconnect");
        self.maxhealth = 400;
        self.health = self.maxhealth;
        self setOrigin((-94, -3287, 33), (0, 182, 0));
        self freeze_player_controls(false);
    }
    ZombieGuns()
    {
        self takeAllWeapons();
        self giveWeapon("knife_ballistic_mp");
        self giveWeapon("knife_mp");
        self giveWeapon("hatchet_mp");
        self switchToWeapon("knife_ballistic_mp");
        self SetWeaponAmmoClip("knife_ballistic_mp", 0);
        self SetWeaponAmmoStock("knife_ballistic_mp", 0);
    }
    ZombiePerks()
    {
        self endon("disconnect");
        self clearPerks();
        self setPerk("specialty_gpsjammer");
        self setPerk("specialty_reconnaissance");
        self setPerk("specialty_nottargetedbyai");
        self setPerk("specialty_noname");
        self setPerk("specialty_nomotionsensor");
    }
    ZombieSettings()
    {
        self endon("disconnect");
        self setClientDvar("scr_player_healthregentime", 0);
        self setOrigin((-250, -2025, 28), (0, 179, 0));
    }
    ShowCash()
    {
        self endon("disconnect");
        Cash = self createFontString("objective", 1.7);
        Cash setPoint("TOPRIGHT", "TOPRIGHT", 0, 0);
        for (;;)
        {
            Cash setText("^2$  " + self.cash);
            wait 0.1;
        }
    }
    doVision()
    {
        self setClientDvar("r_filmTweakInvert", "0");
        self setClientDvar("r_filmUseTweaks", "1");
        self setClientDvar("r_filmTweakEnable", "1");
        self setClientDvar("r_filmTweakLightTint", "0 0 0");
        self setClientDvar("r_filmTweakSaturation", "1 1 1");
        self setClientDvar("r_filmTweakHue", "0 0 0");
    }
    HumanVision()
    {
        self setClientDvar("r_fog", 0);
        self.fog = 0;
    }
    SwitchToSpectator()
    {
        self endon("disconnect");
        self waittill("death");
        self[[level.spectator]]();
    }
    EndTheGame()
    {
        self endon("disconnect");
        wait 15;
        for (;;)
        {
            if (level.aliveCount["allies"] == 0)
            {
                thread maps\ mp\ gametypes\ _globallogic::forceEnd(false);
                self thread EndGameText();
            }
            wait 0.1;
        }
    }
    EndGameText()
    {
        EndGame = self createFontString("objective", 2);
        EndGame setPoint("CENTER", "CENTER", 0, 0);
        EndGame setText("^1You Survived " + self.round + " Rounds");
    }
    MonitorKnifing()
    {
        self endon("disconnect");
        self endon("death");
        for (;;)
        {
            if (self MeleeButtonPressed())
            {
                self setPerk("specialty_showonradar");
                wait 2.25;
                self unsetPerk("specialty_showonradar");
            }
            wait 0.1;
        }
    }
    spawnDogs()
    {
        wait 61;
        for (i = 0; i < level.players.size; i++)
        {
            if (level.players[i].pers["team"] == "axis" && level.players[i].isZombie == true)
            {
                level.players[i] thread maps\ mp\ _dogs::useKillstreakDogs("dogs_mp");
                break;
            }
        }
        iPrintlnBold("^1Here come the HellHounds");
        self thread spawnDogs();
    }
    globalVariables()
    {
        setDvar("ai_corpseCount", "1");
    }
    NotifyRound()
    {
        self endon("disconnect");
        for (;;)
        {
            wait 60;
            self notify("new_round");
        }
    }
    MonitorRound()
    {
        self.round = 1;
        wait 60;
        self.round = 2;
        wait 60;
        self.round = 3;
        wait 60;
        self.round = 4;
        wait 60;
        self.round = 5;
        wait 60;
        self.round = 6;
        wait 60;
        self.round = 7;
        wait 60;
        self.round = 8;
        wait 60;
        self.round = 9;
        wait 60;
        self.round = 10;
        wait 60;
        self.round = 11;
        wait 60;
        self.round = 12;
        wait 60;
        self.round = 13;
        wait 60;
        self.round = 14;
        wait 60;
        self.round = 15;
        wait 60;
        self.round = 16;
        wait 60;
        self.round = 17;
        wait 60;
        self.round = 18;
        wait 60;
        self.round = 19;
        wait 60;
        self.round = 20;
    }
    ZombieHealth()
    {
        if (self.round == 1)
        {
            self.maxhealth = 90;
            self.health = self.maxhealth;
        }
        else if (self.round == 2)
        {
            self.maxhealth = 100;
            self.health = self.maxhealth;
        }
        else if (self.round == 3)
        {
            self.maxhealth = 110;
            self.health = self.maxhealth;
        }
        else if (self.round == 4)
        {
            self.maxhealth = 120;
            self.health = self.maxhealth;
        }
        else if (self.round == 5)
        {
            self.maxhealth = 140;
            self.health = self.maxhealth;
        }
        else if (self.round == 6)
        {
            self.maxhealth = 160;
            self.health = self.maxhealth;
        }
        else if (self.round == 7)
        {
            self.maxhealth = 180;
            self.health = self.maxhealth;
        }
        else if (self.round == 8)
        {
            self.maxhealth = 200;
            self.health = self.maxhealth;
        }
        else if (self.round == 9)
        {
            self.maxhealth = 220;
            self.health = self.maxhealth;
        }
        else if (self.round == 10)
        {
            self.maxhealth = 240;
            self.health = self.maxhealth;
        }
        else if (self.round == 11)
        {
            self.maxhealth = 260;
            self.health = self.maxhealth;
        }
        else if (self.round == 12)
        {
            self.maxhealth = 280;
            self.health = self.maxhealth;
        }
        else if (self.round == 13)
        {
            self.maxhealth = 300;
            self.health = self.maxhealth;
        }
        else if (self.round == 14)
        {
            self.maxhealth = 320;
            self.health = self.maxhealth;
        }
        else if (self.round == 15)
        {
            self.maxhealth = 340;
            self.health = self.maxhealth;
        }
        else if (self.round == 16)
        {
            self.maxhealth = 360;
            self.health = self.maxhealth;
        }
        else if (self.round == 17)
        {
            self.maxhealth = 380;
            self.health = self.maxhealth;
        }
        else if (self.round == 18)
        {
            self.maxhealth = 400;
            self.health = self.maxhealth;
        }
        else if (self.round == 19)
        {
            self.maxhealth = 420;
            self.health = self.maxhealth;
        }
        else if (self.round == 20)
        {
            self.maxhealth = 440;
            self.health = self.maxhealth;
        }
    }
    RoundSettings()
    {
        for (;;)
        {
            self waittill("new_round");
            if (self.pers["team"] == "axis")
            {
                self suicide();
            }
            else if (self.pers["team"] == "spectator")
            {
                self[[level.allies]]();
            }
            else if (self.pers["team"] == "allies")
            {
                self.cash += 200;
            }
        }
    }
    DisplayRound()
    {
        self endon("disconnect");
        RoundDisplay = self createFontString("objective", 3.5);
        RoundDisplay setPoint("BOTTOM", "CENTER", 0, 170);
        for (;;)
        {
            RoundDisplay setText("^2Round  ^1" + self.round);
            wait 0.1;
        }
    }
    GainMoney()
    {
        self.cash += 125;
    }
    onPlayerKilled(eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration)
    {
        if (isDefined(attacker) && isPlayer(attacker) && self != attacker)
        {
            attacker thread GainMoney();
        }
    }
    HumanHealth()
    {
        self endon("Jugg_Bought");
        for (;;)
        {
            if (self.health <= 399)
            {
                wait 5;
                if (self.health <= 399)
                {
                    self.maxhealth = 400;
                    self.health = self.maxhealth;
                }
            }
            wait 0.1;
        }
    }
    HumanHealthJugg()
    {
        self endon("death");
        for (;;)
        {
            if (self.health <= 719)
            {
                wait 8;
                if (self.health <= 719)
                {
                    self.maxhealth = 720;
                    self.health = self.maxhealth;
                }
            }
            wait 0.1;
        }
    }
    RandomGuns()
    {
        self endon("death");
        self endon("disconnect");
        switch (RandomInt(30))
        {
            case 0:
                self thread DoText("ak47_mp");
                self thread TakeOrLeave("ak47_mp");
                break;
            case 1:
                self thread DoText("ak74u_mp");
                self thread TakeOrLeave("ak74u_mp");
                break;
            case 2:
                self thread DoText("aug_mp");
                self thread TakeOrLeave("aug_mp");
                break;
            case 3:
                self thread DoText("crossbow_explosive_mp");
                self thread TakeOrLeave("crossbow_explosive_mp");
                break;
            case 4:
                self thread DoText("cz75_mp");
                self thread TakeOrLeave("cz75_mp");
                break;
            case 5:
                self thread DoText("defaultweapon_mp");
                self thread TakeOrLeave("defaultweapon_mp");
                break;
            case 6:
                self thread DoText("dragunov_mp");
                self thread TakeOrLeave("dragunov_mp");
                break;
            case 7:
                self thread DoText("enfield_mp");
                self thread TakeOrLeave("enfield_mp");
                break;
            case 8:
                self thread DoText("famas_mp");
                self thread TakeOrLeave("famas_mp");
                break;
            case 9:
                self thread DoText("fnfal_mp");
                self thread TakeOrLeave("fnfal_mp");
                break;
            case 10:
                self thread DoText("g11_mp");
                self thread TakeOrLeave("g11_mp");
                break;
            case 11:
                self thread DoText("galil_mp");
                self thread TakeOrLeave("galil_mp");
                break;
            case 12:
                self thread DoText("hk21_mp");
                self thread TakeOrLeave("hk21_mp");
                break;
            case 13:
                self thread DoText("hs10_mp");
                self thread TakeOrLeave("hs10_mp");
                break;
            case 14:
                self thread DoText("knife_ballistic_mp");
                self thread TakeOrLeave("knife_ballistic_mp");
                break;
            case 15:
                self thread DoText("l96a1_mp");
                self thread TakeOrLeave("l96a1_mp");
                break;
            case 16:
                self thread DoText("m16_mp");
                self thread TakeOrLeave("m16_mp");
                break;
            case 17:
                self thread DoText("m60_mp");
                self thread TakeOrLeave("m60_mp");
                break;
            case 18:
                self thread DoText("mac11_mp");
                self thread TakeOrLeave("mac11_mp");
                break;
            case 19:
                self thread DoText("minigun_mp");
                self thread TakeOrLeave("minigun_mp");
                break;
            case 20:
                self thread DoText("mp5k_mp");
                self thread TakeOrLeave("mp5k_mp");
                break;
            case 21:
                self thread DoText("mpl_mp");
                self thread TakeOrLeave("mpl_mp");
                break;
            case 22:
                self thread DoText("pm63_mp");
                self thread TakeOrLeave("pm63_mp");
                break;
            case 23:
                self thread DoText("psg1_mp");
                self thread TakeOrLeave("psg1_mp");
                break;
            case 24:
                self thread DoText("python_mp");
                self thread TakeOrLeave("python_mp");
                break;
            case 25:
                self thread DoText("rpg_mp");
                self thread TakeOrLeave("rpg_mp");
                break;
            case 26:
                self thread DoText("rpk_mp");
                self thread TakeOrLeave("rpk_mp");
                break;
            case 27:
                self thread DoText("spas_mp");
                self thread TakeOrLeave("spas_mp");
                break;
            case 28:
                self thread DoText("spectre_mp");
                self thread TakeOrLeave("spectre_mp");
                break;
            case 29:
                self thread DoText("stoner63_mp");
                self thread TakeOrLeave("stoner63_mp");
                break;
            default:
                break;
        }
    }
    DoText(gun)
    {
        self endon("death");
        self endon("disconnect");
        showGun = self createFontString("objective", 2);
        showGun setPoint("CENTER", "TOP", 0, 0);
        showGun setText(gun);
        showGun.color = (240 / 255, 20 / 255, 220 / 255);
        TakeGun = self createFontString("objective", 1.5);
        TakeGun setPoint("CENTER", "RIGHT", -150, 0);
        TakeGun setText("^2Take [{+melee}]");
        DontTakeGun = self createFontString("objective", 1.5);
        DontTakeGun setPoint("CENTER", "LEFT", 150, 0);
        DontTakeGun setText("^1Dont Take [{+frag}]");
        wait 5;
        showGun destroy();
        DontTakeGun destroy();
        TakeGun destroy();
    }
    TakeOrLeave(gungun)
    {
        self endon("Mystery_Box_Used");
        for (;;)
        {
            if (self FragButtonPressed())
            {
                self freeze_player_controls(false);
                self notify("Mystery_Box_Used");
            }
            else if (self MeleeButtonPressed())
            {
                self freeze_player_controls(false);
                self takeWeapon(self getCurrentWeapon());
                self giveWeapon(gungun);
                self switchToWeapon(gungun);
                self giveMaxAmmo(gungun);
                self notify("Mystery_Box_Used");
            }
            wait 0.1;
        }
    }
    Credit()
    {
        if (self.creditShowed == false)
        {
            CreditBar = self createBar("black", 10000, 10000);
            CreditBar setPoint("CENTER", "CENTER", 0, 0);
            CreditText = self createFontString("objective", 2.3);
            CreditText setPoint("CENTER", "TOP", 0, 0);
            CreditText setText("Kino Der Grid\n\n\n\n Made By:");
            CreditText.color = (200 / 255, 0 / 255, 0 / 255);
            wait 3;
            CreditText destroy();
            CreditTextTwo = self createFontString("objective", 3.3);
            CreditTextTwo setPoint("CENTER", "CENTER", 0, 0);
            CreditTextTwo setText("^2Loading");
            CreditTextTwo.color = (230 / 255, 230 / 255, 0 / 255);
            wait 2;
            CreditTextTwo destroy();
            CreditBar destroy();
            self.creditShowed = true;
        }
    }
    createGun(pos, angle, gun)
    {
        level.gun[gun] = spawn("script_model", pos);
        level.gun[gun] setModel(getWeaponModel(gun + "_mp"));
        level.gun[gun].angles = angle;
    }
    createBlock(pos, angle)
    {
        crate = spawn("script_model", pos);
        crate setModel("mp_supplydrop_ally");
        crate.angles = angle;
    }
    createPerk(pos, angle, num)
    {
        level.perk[num] = spawn("script_model", pos);
        level.perk[num] setModel("mp_supplydrop_axis");
        level.perk[num].angles = angle;
    }
    AmmoBox(pos, angle)
    {
        level.ammobox = spawn("script_model", pos);
        level.ammobox setModel("mp_supplydrop_boobytrapped");
        level.ammobox.angles = angle;
    }
    MysteryBox(pos, angle)
    {
        level.Mbox = spawn("script_model", pos);
        level.Mbox setModel("mp_supplydrop_boobytrapped");
        level.Mbox.angles = angle;
    }
    doBlocks()
    {
        level.bunkers[1] = createBlock((982, -2819, 27), (0, -92, 0));
        level.bunkers[2] = createBlock((987, 2866, 23), (0, 88, 0));
        level.bunkers[3] = createBlock((978, -2813, 43), (0, -92, 0));
        level.bunkers[4] = createBlock((612, -2381, 27), (0, 90, 0));
        level.bunkers[5] = createBlock((679, -2379, 25), (0, 87, 0));
        level.bunkers[6] = createBlock((647, -2345, 22), (0, -88, 0));
        level.bunkers[7] = createBlock((611, -2384, 44), (0, 90, 0));
        level.bunkers[8] = createBlock((675, -2383, 44), (0, 89, 0));
        level.bunkers[9] = createBlock((449, -3510, 24), (0, -92, 0));
        level.bunkers[10] = createBlock((521, -3509, 23), (0, -90, 0));
        level.bunkers[11] = createBlock((483, -3542, 19), (0, 88, 0));
        level.bunkers[12] = createBlock((449, -3505, 38), (0, -91, 0));
        level.bunkers[13] = createBlock((517, -3507, 38), (0, -91, 0));
        level.bunkers[14] = createBlock((-473, -3267, 28), (0, -180, 0));
        level.bunkers[15] = createBlock((-470, -3197, 28), (0, 179, 0));
        level.bunkers[16] = createBlock((-496, -3230, 26), (0, 1, 0));
        level.bunkers[17] = createBlock((-466, -3273, 34), (0, -180, 0));
        level.bunkers[18] = createBlock((-462, -3201, 35), (0, 180, 0));
        level.bunkers[19] = createBlock((-209, -3110, 154), (0, 178, 0));
        level.bunkers[20] = createBlock((-206, -3050, 154), (0, 179, 0));
        level.bunkers[21] = createBlock((-237, -3072, 149), (0, 1, 0));
        level.bunkers[22] = createBlock((-202, -3111, 169), (0, -179, 0));
        level.bunkers[23] = createBlock((-202, -3042, 170), (0, 3, 0));
        level.gunner[1] = createGun((546, -2553, 65), (0, 90, 0), "m14");
        level.gunner[2] = createGun((836, -2824, 65), (0, 90, 0), "rottweil72");
        level.gunner[3] = createGun((-89, -3152, 47), (0, 180, 0), "skorpion");
        level.perks[1] = createPerk((989, -2625, 45), (0, 0, 90), 1);
        level.perks[2] = createPerk((385, -3032, 45), (0, 0, 90), 2);
        level.perks[3] = createPerk((680, -3035, 44), (0, 0, 90), 3);
        level.perks[4] = createPerk((418, -2624, 43), (0, 1, 90), 4);
        level.ammo[1] = AmmoBox((-136, -3038, 170), (0, 1, 90));
        level.mystery[1] = MysteryBox((355, -2923, 33), (0, 180, 0));
    }
    BuyGuns()
    {
        for (;;)
        {
            if (distance(self.origin, level.gun["skorpion"].origin) < 60 && self.pers["team"] == "allies")
            {
                self iPrintln("Press [{+activate}] To Buy A Skorpion(^2$500^7)");
                while (distance(self.origin, level.gun["skorpion"].origin) < 60)
                {
                    if (self useButtonPressed() && self.cash >= 500)
                    {
                        self.cash = self.cash - 500;
                        self takeWeapon(self getCurrentWeapon());
                        self giveWeapon("skorpion_mp");
                        self switchToWeapon("skorpion_mp");
                        self giveMaxAmmo("skorpion_mp");
                    }
                    else if (self useButtonPressed() && self.cash <= 499)
                    {
                        self iPrintln("Not Enough Money");
                    }
                    wait 1;
                }
            }
            else if (distance(self.origin, level.gun["rottweil72"].origin) < 60 && self.pers["team"] == "allies")
            {
                self iPrintln("Press [{+activate}] To Buy An Olympia(^2$500^7)");
                while (distance(self.origin, level.gun["rottweil72"].origin) < 60)
                {
                    if (self useButtonPressed() && self.cash >= 500)
                    {
                        self.cash = self.cash - 500;
                        self takeWeapon(self getCurrentWeapon());
                        self giveWeapon("rottweil72_mp");
                        self switchToWeapon("rottweil72_mp");
                        self giveMaxAmmo("rottweil72_mp");
                    }
                    else if (self useButtonPressed() && self.cash <= 499)
                    {
                        self iPrintln("Not Enough Money");
                    }
                    wait 1;
                }
            }
            else if (distance(self.origin, level.gun["m14"].origin) < 60 && self.pers["team"] == "allies")
            {
                self iPrintln("Press [{+activate}] To Buy An M14(^2$500^7)");
                while (distance(self.origin, level.gun["m14"].origin) < 60)
                {
                    if (self useButtonPressed() && self.cash >= 500)
                    {
                        self.cash = self.cash - 500;
                        self takeWeapon(self getCurrentWeapon());
                        self giveWeapon("m14_mp");
                        self switchToWeapon("m14_mp");
                        self giveMaxAmmo("m14_mp");
                    }
                    else if (self useButtonPressed() && self.cash <= 499)
                    {
                        self iPrintln("Not Enough Money");
                    }
                    wait 1;
                }
            }
            else if (distance(self.origin, level.perk[1].origin) < 60 && self.pers["team"] == "allies")
            {
                self iPrintln("Press [{+activate}] To Buy ^1Juggernaut^7(^2$2000^7)");
                while (distance(self.origin, level.perk[1].origin) < 60)
                {
                    if (self useButtonPressed() && self.cash >= 2000)
                    {
                        self.cash = self.cash - 2000;
                        self.maxhealth = 720;
                        self.health = self.maxhealth;
                        self notify("Jugg_Bought");
                        self thread HumanHealthJugg();
                    }
                    else if (self useButtonPressed() && self.cash <= 1999)
                    {
                        self iPrintln("Not Enough Money");
                    }
                    wait 1;
                }
            }
            else if (distance(self.origin, level.perk[2].origin) < 60 && self.pers["team"] == "allies")
            {
                self iPrintln("Press [{+activate}] To Buy ^1Overkill ^7[3 guns] (^2$1000^7)");
                while (distance(self.origin, level.perk[2].origin) < 60)
                {
                    if (self useButtonPressed() && self.cash >= 1000)
                    {
                        self.cash = self.cash - 1000;
                        self giveWeapon("python_mp");
                        self iPrintln("Swap The Python For A Gun");
                    }
                    else if (self useButtonPressed() && self.cash <= 999)
                    {
                        self iPrintln("Not Enough Money");
                    }
                    wait 1;
                }
            }
            else if (distance(self.origin, level.perk[3].origin) < 60 && self.pers["team"] == "allies")
            {
                self iPrintln("Press [{+activate}] To Buy ^1Slight Of Hand Pro^7(^2$1500^7)");
                while (distance(self.origin, level.perk[3].origin) < 60)
                {
                    if (self useButtonPressed() && self.cash >= 1500)
                    {
                        self.cash = self.cash - 1500;
                        self setPerk("specialty_fastreload");
                        self setPerk("specialty_fastads");
                    }
                    else if (self useButtonPressed() && self.cash <= 1499)
                    {
                        self iPrintln("Not Enough Money");
                    }
                    wait 1;
                }
            }
            else if (distance(self.origin, level.perk[4].origin) < 60 && self.pers["team"] == "allies")
            {
                self iPrintln("Press [{+activate}] To Buy ^1Steady Aim^7(^2$500^7)");
                while (distance(self.origin, level.perk[4].origin) < 60)
                {
                    if (self useButtonPressed() && self.cash >= 500)
                    {
                        self.cash = self.cash - 500;
                        self setPerk("specialty_bulletaccuracy");
                    }
                    else if (self useButtonPressed() && self.cash <= 499)
                    {
                        self iPrintln("Not Enough Money");
                    }
                    wait 1;
                }
            }
            else if (distance(self.origin, level.ammobox.origin) < 60 && self.pers["team"] == "allies")
            {
                self iPrintln("Press [{+activate}] To Buy Ammo(^2$300^7)");
                while (distance(self.origin, level.ammobox.origin) < 60)
                {
                    if (self useButtonPressed() && self.cash >= 300)
                    {
                        self.cash = self.cash - 300;
                        self giveMaxAmmo(self getCurrentWeapon());
                        self giveMaxAmmo("m1911_mp");
                        self SetWeaponAmmoStock("frag_grenade_mp", 1);
                    }
                    else if (self useButtonPressed() && self.cash <= 299)
                    {
                        self iPrintln("Not Enough Money");
                    }
                    wait 1;
                }
            }
            else if (distance(self.origin, level.Mbox.origin) < 60 && self.pers["team"] == "allies")
            {
                self iPrintln("Press [{+activate}] To Buy ^1Bloc ^2Box(^2$750^7)");
                while (distance(self.origin, level.Mbox.origin) < 60)
                {
                    if (self useButtonPressed() && self.cash >= 750)
                    {
                        self.cash = self.cash - 750;
                        self thread RandomGuns();
                        self freeze_player_controls(true);
                    }
                    else if (self useButtonPressed() && self.cash <= 749)
                    {
                        self iPrintln("Not Enough Money");
                    }
                    wait 1;
                }
            }
            wait 0.1;
        }
    }
    and if you want the dogs on fire add this to
    maps/mp/_dogs.gsc where this is
    Code:
    init_dog()
    ADD THIS to list of stuff thats there [ADD]
    Code:
    if (game["gametype"] == "???????") self thread burnSelf();
    Where the ??????? is is where you put name of gametype .gsc you put Kino Der Grid in
    than add this
    Code:
    burnSelf() 
    {
    	while (1)
     	{
    		PlayFxOnTag(level._effect["character_fire_death_torso"], self, "J_Spine1");
    		wait 3;
    	}
    }
    and you now have hellhounds
    will make vid soon

    0 Not allowed! Not allowed!
    Last edited by AllMoDs; 06-14-2015 at 08:25 PM.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 06:06 AM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.