Raised This Month: $82 Target: $400
 20% 

[CS:GO] Zombie Swarm + GunXP + Flags


Post New Thread Reply   
 
Thread Tools Display Modes
Author
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Plugin ID:
6522
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 04-14-2019 , 16:28   [CS:GO] Zombie Swarm + GunXP + Flags
    Reply With Quote #1

    Zombie Swarm

    Original author xbatista (https://forums.alliedmods.net/member.php?u=35716)

    GitHub information




    Zombie Swarm Description
    Game is usually runs on DE, CS maps (E.G.: de_dust2) or maybe someone wants to make custom maps for it with zs_ prefix? . Unlike other mods, this modification doesn’t have infection mod. Thats why kill or be killed. Play as team, on this gamemod teamwork is key. Zombies gets random classes with special abilities. Humans must to level up in order to get better weapons It is possible to get various upgrades from shop items but sacrificing your own weapon xp (typing command ul). When human dies he respawns in 30-60, so humans must to survive during that time, zombie respawns in few seconds. Classes pretty much like Left4Dead, it has tank who spawns over some time and is superior to other zombies, this is also key for zombies to win. Humans must survive until 0:00. This whole gamemode up to server owner creativity for example blockbuilder could be used to build custom map places. New classes and new gun unlock shop items makes server more lively.

    GunXp mod (recommended)
    Humans gain xp for killing zombies, winning a round. People starts with glocks or however server is configurated and climbs on levels which makes a bit addictable server. There are ideas to expand level system even more (like reset tiers and getting rewards for it like new zombie class). This part is good for having players something to do and keep progressing.

    Flags (optional)
    There is optional flag mod, where you capture the flag and trying to protect it from other team. Flags are optional and still needs to be tested

    Zombies
    Zombie swarm has currently these classes (pretty much Left4dead):

    Boomer – Explodes after death, makes some damage also blinds nearby humans.
    Classical zombie – No special abilities
    Fury (Tank) – Spawns after some time, this zombie is key to victory.
    Hunter –This zombie can make really crazy jumps
    Phantom – Possibility to make himself full invisible
    Smoker – Can drag person with his tongue. Makes smoke effect after death.

    Humans
    Humans level up in order to get better weapon, get better upgrades. How do they get xp? Makes damage to zombies and gets some xp.

    Server commands
    !ul – Upgrades menu
    !guns – Reopens guns menu if closed by mistake
    !top10 – Can see top 10 players by level and xp
    !level – Can see own level and xp (edited)

    How to install
    Download latest version of Zombie Swarm, compile plugins you want, put them to addons/sourcemod/plugins/swarm. Rest of the package upload like it is packed.
    All plugins goes to /plugins/swarm
    For GunXP mod you need database add entry "gum" to databases.cfg (best if mysql)
    Check out the server.cfg we suggest for recommended gameplay https://github.com/Prefix/zombieswar...ter/server.cfg

    Where to download
    Download is on GitHub page (compile the source). If people grows interest in this modification I might make a build website.

    Credits
    Thank you everyone who contribute to this modification:
    Original author xbatista (https://forums.alliedmods.net/member.php?u=35716)

    Discord server

    Keep up to date, get fast help on Discord: https://discord.gg/WYm8xhX
    __________________

    Last edited by iGANGNAM; 04-16-2019 at 02:15.
    iGANGNAM is offline
    iGANGNAM
    AlliedModders Donor
    Join Date: Sep 2012
    Location: Lithuania
    Old 04-14-2019 , 16:29   Re: [CS:GO] Zombie Swarm + GunXP + Flags
    Reply With Quote #2

    API for Developers
    https://github.com/Prefix/zombieswar.../zombiemod.inc
    https://github.com/Prefix/zombieswar...nclude/gum.inc
    Example zombie class:
    Quote:
    #include <sourcemod>
    #include <sdktools>
    #include <zombiemod>

    public Plugin myinfo =
    {
    name = "Zombie Boom",
    author = "Zombie Swarm Contributors",
    description = "Explodes on death",
    version = "1.0",
    url = "https://github.com/Prefix/zombieswarm"
    };

    ZombieClass registeredClass;

    public void OnPluginStart()
    {
    // We are registering item
    registeredClass = ZombieClass(
    "Boomer", // Class name
    "Explodes on death", // Class description
    "models/player/custom_player/borodatm.ru/l4d2/boomer", // Class model
    105, // Class base hp
    20.0, // Class damage
    1.1, // Class speed
    0.8, // Class gravity
    false // Is class excluded from normal rotation
    );
    }
    public void onZCSelected(int client, int classId)
    {
    // to do when zombie gets this class
    }
    Example gunxp mod shop item
    Quote:
    #include <sourcemod>
    #include <sdktools>
    #include <cstrike>
    #include <gum>

    public Plugin myinfo =
    {
    name = "Additional ammo",
    author = "Zombie Swarm Contributors",
    description = "none",
    version = "1.0",
    url = "https://github.com/Prefix/zombieswarm"
    };

    #define ITEM_COST 5

    bool itemEnabled[MAXPLAYERS + 1];

    public void OnPluginStart()
    {
    // We are registering item here
    // itemRebuy - 0 = Item can be bought one time per connect, 1 = Buy item many times, 2 = Item can be bought one time per round
    // itemRebuyTimes - 0 = Infinite buy, >0 = Item rebuy times
    registerGumItem("Ammo Pack", "Additional ammo packs", ITEM_COST, 1, 0);
    }

    // Called when item/unlock was selected by menu
    public void gumItemSetCallback(client)
    {
    itemEnabled[client] = true;

    if (!IsValidAlive(client))
    return;

    setReserveAmmo(client, 100);
    }

    // Called when item/unlock was selected by menu
    public void gumItemUnSetCallback(client)
    {
    itemEnabled[client] = false;
    }

    // Take the item/unlock from the player
    public void OnClientDisconnect(client)
    {
    if ( IsValidClient(client) )
    itemEnabled[client] = false;
    }
    __________________

    Last edited by iGANGNAM; 04-15-2019 at 01:21.
    iGANGNAM is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 04:31.


    Powered by vBulletin®
    Copyright ©2000 - 2019, vBulletin Solutions, Inc.
    Theme made by Freecode