Raised This Month: $32 Target: $400
 8% 

[CS:GO] Zombie Plague 1.2.1 (Updated 01-Mar-2023)


Post New Thread Reply   
 
Thread Tools Display Modes
amitzx
Junior Member
Join Date: Nov 2014
Old 02-12-2018 , 10:07   Re: [CS:GO] Release: Zombie Plague 7.8fix
Reply With Quote #351

Hey gubka, just wanted to ask if you can fix the ghost zombie

its not really invisible and you can see some parts of it in black
amitzx is offline
EMINEM_FB
Senior Member
Join Date: Dec 2010
Location: Czech republic
Old 02-14-2018 , 11:52   Re: [CS:GO] Release: Zombie Plague 7.8fix
Reply With Quote #352



Download here
Preview here






Download here
Preview here






Download here
Preview here






Download here
Preview here
Contact me for more models here
__________________

Last edited by EMINEM_FB; 02-14-2018 at 11:53.
EMINEM_FB is offline
EMINEM_FB
Senior Member
Join Date: Dec 2010
Location: Czech republic
Old 02-14-2018 , 11:55   Re: [CS:GO] Release: Zombie Plague 7.8fix
Reply With Quote #353

More server-side weapons here

__________________
EMINEM_FB is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 02-14-2018 , 17:38   Re: [CS:GO] Release: Zombie Plague 7.8fix2
Reply With Quote #354

I fix include a bit
__________________
gubka is offline
Send a message via ICQ to gubka
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 02-18-2018 , 16:48   Re: [CS:GO] Release: Zombie Plague 7.8fix2
Reply With Quote #355

Hello gubka, can you add round end sounds ? or tell us how to add them please.
Because i tried the Abner's ones and they don't work because of the ambiant sound, keep playing so they are stopped.

can you make more gamemods like Sniper round, and assassin round and a nighmare gamemod ( sniper + survivor vs nemesis + assassin ) ?

And one last thing, please can you help me to make zombie madness as an extra item & extra item buy survivor/nemesis round ?

Thank you .

Last edited by Mikado; 02-18-2018 at 17:50.
Mikado is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 02-22-2018 , 19:07   Re: [CS:GO] Release: Zombie Plague 7.8fix2
Reply With Quote #356

Quote:
Originally Posted by Mikado View Post
Hello gubka, can you add round end sounds ? or tell us how to add them please.
Because i tried the Abner's ones and they don't work because of the ambiant sound, keep playing so they are stopped.

can you make more gamemods like Sniper round, and assassin round and a nighmare gamemod ( sniper + survivor vs nemesis + assassin ) ?

And one last thing, please can you help me to make zombie madness as an extra item & extra item buy survivor/nemesis round ?

Thank you .
All API is free you can port code from fast zombie and create a simple extra item)
__________________
gubka is offline
Send a message via ICQ to gubka
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 02-23-2018 , 08:59   Re: [CS:GO] Release: Zombie Plague 7.8fix2
Reply With Quote #357

PHP Code:
/**
 * ============================================================================
 *
 *  Zombie Plague Mod #3 Generation
 *
 *
 *  Copyright (C) 2015-2018 Nikita Ushakov (Ireland, Dublin)
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * ============================================================================
 **/

#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <zombieplague>

#pragma newdecls required

/**
 * Record plugin info.
 **/
public Plugin Madness =
{
    
name            "[ZP] ExtraItem: Madness",
    
author          "qubka (Nikita Ushakov)",     
    
description     "Addon of extra items",
    
version         "1.0",
    
url             "https://forums.alliedmods.net/showthread.php?t=290657"
}

/**
 * @section Information about extra items.
 **/
#define EXTRA_ITEM_NAME                "Zombie Madness" // If string has @, phrase will be taken from translation file        
#define EXTRA_ITEM_COST                18
#define EXTRA_ITEM_LEVEL            0
#define EXTRA_ITEM_ONLINE            0
#define EXTRA_ITEM_LIMIT            0
#define EXTRA_ITEM_SPEED            1.5
/**
 * @endsection
 **/

// Item index
int iItem;

// Array for storing speed value
float gOldSpeed[MAXPLAYERS+1];

/**
 * Plugin is loading.
 **/
public void OnPluginStart(/*void*/)
{
    
// Initilizate extra item
    
iItem ZP_RegisterExtraItem(EXTRA_ITEM_NAMEEXTRA_ITEM_COSTTEAM_ZOMBIEEXTRA_ITEM_LEVELEXTRA_ITEM_ONLINEEXTRA_ITEM_LIMIT);
}

/**
 * Called after select an extraitem in equipment menu.
 * 
 * @param clientIndex        The client index.
 * @param extraitemIndex    The index of extraitem from ZP_RegisterExtraItem() native.
 *
 * @return                    Plugin_Handled or Plugin_Stop to block purhase. Anything else
 *                              (like Plugin_Continue) to allow purhase and taking ammopacks.
 **/
public Action ZP_OnClientBuyExtraItem(int clientIndexint extraitemIndex)
{
    
#pragma unused clientIndex
    
    // Validate client
    
if(!IsPlayerExist(clientIndex))
    {
        return 
Plugin_Handled;
    }
    
    
// Validate the zombie class index
    
if(extraitemIndex == iItem)
    {
        
// Store the previus speed
        
gOldSpeed[clientIndex] = GetEntPropFloat(clientIndexProp_Data"m_flLaggedMovementValue");
        
        
// Set a new speed
        
SetEntPropFloat(clientIndexProp_Data"m_flLaggedMovementValue"EXTRA_ITEM_SPEED);
        
        
// Emit sound
        
EmitSoundToAll("*/zbm3/zombie_madness1.mp3"clientIndexSNDCHAN_STATICSNDLEVEL_NORMAL);
    }

    
// Allow buying
    
return Plugin_Continue;

any help to add duration, no knockback and glow ?

Last edited by Mikado; 02-23-2018 at 09:00.
Mikado is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 02-23-2018 , 17:41   Re: [CS:GO] Release: Zombie Plague 7.8fix2
Reply With Quote #358

Quote:
Originally Posted by Mikado View Post
PHP Code:
/**
 * ============================================================================
 *
 *  Zombie Plague Mod #3 Generation
 *
 *
 *  Copyright (C) 2015-2018 Nikita Ushakov (Ireland, Dublin)
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * ============================================================================
 **/

#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <zombieplague>

#pragma newdecls required

/**
 * Record plugin info.
 **/
public Plugin Madness =
{
    
name            "[ZP] ExtraItem: Madness",
    
author          "qubka (Nikita Ushakov)",     
    
description     "Addon of extra items",
    
version         "1.0",
    
url             "https://forums.alliedmods.net/showthread.php?t=290657"
}

/**
 * @section Information about extra items.
 **/
#define EXTRA_ITEM_NAME                "Zombie Madness" // If string has @, phrase will be taken from translation file        
#define EXTRA_ITEM_COST                18
#define EXTRA_ITEM_LEVEL            0
#define EXTRA_ITEM_ONLINE            0
#define EXTRA_ITEM_LIMIT            0
#define EXTRA_ITEM_SPEED            1.5
/**
 * @endsection
 **/

// Item index
int iItem;

// Array for storing speed value
float gOldSpeed[MAXPLAYERS+1];

/**
 * Plugin is loading.
 **/
public void OnPluginStart(/*void*/)
{
    
// Initilizate extra item
    
iItem ZP_RegisterExtraItem(EXTRA_ITEM_NAMEEXTRA_ITEM_COSTTEAM_ZOMBIEEXTRA_ITEM_LEVELEXTRA_ITEM_ONLINEEXTRA_ITEM_LIMIT);
}

/**
 * Called after select an extraitem in equipment menu.
 * 
 * @param clientIndex        The client index.
 * @param extraitemIndex    The index of extraitem from ZP_RegisterExtraItem() native.
 *
 * @return                    Plugin_Handled or Plugin_Stop to block purhase. Anything else
 *                              (like Plugin_Continue) to allow purhase and taking ammopacks.
 **/
public Action ZP_OnClientBuyExtraItem(int clientIndexint extraitemIndex)
{
    
#pragma unused clientIndex
    
    // Validate client
    
if(!IsPlayerExist(clientIndex))
    {
        return 
Plugin_Handled;
    }
    
    
// Validate the zombie class index
    
if(extraitemIndex == iItem)
    {
        
// Store the previus speed
        
gOldSpeed[clientIndex] = GetEntPropFloat(clientIndexProp_Data"m_flLaggedMovementValue");
        
        
// Set a new speed
        
SetEntPropFloat(clientIndexProp_Data"m_flLaggedMovementValue"EXTRA_ITEM_SPEED);
        
        
// Emit sound
        
EmitSoundToAll("*/zbm3/zombie_madness1.mp3"clientIndexSNDCHAN_STATICSNDLEVEL_NORMAL);
    }

    
// Allow buying
    
return Plugin_Continue;

any help to add duration, no knockback and glow ?
Add timer to set speed back, also you can change knockback of class by blocking damage on that stage. i think, may be in next updates i will add more natives which will allow to do it without blocking)
__________________

Last edited by gubka; 02-23-2018 at 17:44.
gubka is offline
Send a message via ICQ to gubka
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 02-24-2018 , 12:46   Re: [CS:GO] Release: Zombie Plague 7.8fix2
Reply With Quote #359

Quote:
Originally Posted by gubka View Post
Add timer to set speed back, also you can change knockback of class by blocking damage on that stage.
Teach me master !
Mikado is offline
eaz
Member
Join Date: Jan 2017
Old 02-26-2018 , 15:11   Re: [CS:GO] Release: Zombie Plague 7.8fix2
Reply With Quote #360

Quote:
Originally Posted by Mikado View Post

And one last thing, please can you help me to make zombie madness as an extra item & extra item buy survivor/nemesis round ?

Thank you .
this one is for old version but you can try it

PHP Code:
#include <sourcemod> 
#include <sdktools>
#include <sdkhooks> 
#include <zombieplague>

#define EXTRA_ITEM_NAME                "Zombie Madness" // If string has @, phrase will be taken from translation file. For example: "@AK47" require translation block, "AK47" not require      
#define EXTRA_ITEM_COST                22       // Ammopacks cost     
#define EXTRA_ITEM_LEVEL                    0        // The level of the player, which allow to buy item. ['0' = off] 
#define EXTRA_ITEM_ONLINE            0       // The number of players, which allowed to buy item. ['0' = off]  
#define EXTRA_ITEM_LIMIT                    0       // The number of purchases, which allowed per round for player. ['0' = off] 

int iItem;

bool gMadnessUsed[MAXPLAYERS+1];

ConVar gMadnessTime;



public 
OnPluginStart() 
{
iItem ZP_RegisterExtraItem(EXTRA_ITEM_NAMEEXTRA_ITEM_COSTZP_TEAM_ZOMBIEEXTRA_ITEM_LEVELEXTRA_ITEM_ONLINEEXTRA_ITEM_LIMIT);
gMadnessTime         CreateConVar("zp_madness_time",          "2.0",     "Time of having madness.");
AutoExecConfig(true"zombieplague_madness");
}

public 
void OnMapStart(/*void*/)
{
    
// Sounds
    
FakePrecacheSound("zbm3/extra_item_zombie_madness.mp3");
}

public 
void ZP_OnClientInfected(int clientIndexint infectorIndex)
{
    
gMadnessUsed[clientIndex] = false
}

public 
void ZP_OnClientHeroed(int clientIndex)
{
    
gMadnessUsed[clientIndex] = false
}

public 
Action ZP_OnExtraBuyCommand(int clientIndexint extraitemIndex

    
// Verify that the client is connected and alive 
    
if(!IsPlayerExist(clientIndex)) 
    { 
        return 
Plugin_Handled
    }  
    if(
extraitemIndex == iItem
    {    
        
gMadnessUsed[clientIndex] = true;
        
SetEntityRenderMode(clientIndexRENDER_TRANSCOLOR);  
        
SetEntityRenderColor(clientIndex2360140255);
        
EmitSoundToAll("*/zbm3/extra_item_zombie_madness.mp3"clientIndexSNDCHAN_VOICESNDLEVEL_SCREAMING);
        
CreateTimer(GetConVarFloat(gMadnessTime), EventRemoveMadnessclientIndexTIMER_FLAG_NO_MAPCHANGE);
    } 
     
    
// Allow buying 
    
return Plugin_Continue
}

public 
Action EventRemoveMadness(Handle hTimerany clientIndex)
{
    
// Verify that the client is exist
    
if(!IsPlayerExist(clientIndex))
    {
        return 
Plugin_Stop;
    }

    
// If player have it, reset ammo
    
if(gMadnessUsed[clientIndex])
    {
        
gMadnessUsed[clientIndex] = false;
        
SetEntityRenderMode(clientIndexRENDER_TRANSCOLOR);  
        
SetEntityRenderColor(clientIndex255255255255);
    }

    
// Destroy timer
    
return Plugin_Stop;
}

public 
Action DamageTraceAttack(int iVictimint &iAttackerint &Inflictorfloat &damageint &pDamageBitsint &iAmmoTypeint iHitBoxint iHitGroup)
{
    
// If player used tank skill
    
if (ZP_IsPlayerZombie(iVictim) && gMadnessUsed[iVictim])
    {
        return 
Plugin_Handled;
    }

    
// Allow trace
    
return Plugin_Continue;
}

public 
void OnClientPostAdminCheck(int clientIndex)
{
    
SDKHook(clientIndexSDKHook_TraceAttackDamageTraceAttack);

eaz 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 14:35.


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