Raised This Month: $ Target: $400
 0% 

[CS:GO/ZP] Zombie Plague Mod 8.3.2


Post New Thread Reply   
 
Thread Tools Display Modes
veli
Senior Member
Join Date: Apr 2012
Location: Netherlands
Old 11-16-2016 , 10:36   Re: [CS:GO/ZP] Zombie Plague Mod 6.2
Reply With Quote #791

Thank you . but in my game they could buy it. I have updated to 6.2.

Another question; I have changed the models with success. But i want add each model to a difference level. Is that possible?

Second question; How can i configure jump height. I changed in models file jump height to 1.4, 1.5, 1.6 etc. but players cant jump higher. Is there a limit for high jump?

Thanks in advance

My server ip with Plague mod is 188.165.200.186:27015
veli is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-16-2016 , 13:24   Re: [CS:GO/ZP] Zombie Plague Mod 6.2
Reply With Quote #792

Quote:
Thank you . but in my game they could buy it. I have updated to 6.2.
Mod same everywhere, so antidot in the menu, but if zombie is one, he can't buy it and it work even on my server

Quote:
Another question; I have changed the models with success. But i want add each model to a difference level. Is that possible?

Second question; How can i configure jump height. I changed in models file jump height to 1.4, 1.5, 1.6 etc. but players cant jump higher. Is there a limit for high jump?
It is possible, but mod don't have this feature

All mod features wrote in the topic

If you want to add model for zombie for vip, you can try to finish this, just add your model and put other models files into downloads.ini

PHP Code:
/**
 * ============================================================================
 *
 *  Zombie Plague Mod #3 Generation
 *
 *
 *  Copyright (C) 2015 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 ZombieClassGirl =
{
    
name            "[ZP] Zombie Class: TEST",
    
author          "qubka (Nikita Ushakov)",
    
description     "Addon of zombie classses",
    
version         "3.0",
    
url             "https://forums.alliedmods.net/showthread.php?t=272546"
}

/**
 * @section Information about zombie class.
 **/
#define ZOMBIE_CLASS_NAME                "Test" // If string has @, phrase will be taken from translation file
#define ZOMBIE_CLASS_MODEL                "models/player/custom_player/cso2_zombi/zombie.mdl"    
#define ZOMBIE_CLASS_MODEL_VIP            "models/player/custom_player/cso2_zombi/zombie.mdl"    
#define ZOMBIE_CLASS_CLAW                "models/zombie/normal_f/hand/hand_zombie_normal_f.mdl"    
#define ZOMBIE_CLASS_HEALTH                4000
#define ZOMBIE_CLASS_SPEED                1.0
#define ZOMBIE_CLASS_GRAVITY            0.9
#define ZOMBIE_CLASS_KNOCKBACK            1.0
#define ZOMBIE_CLASS_FEMALE                YES
#define ZOMBIE_CLASS_VIP                NO
#define ZOMBIE_CLASS_DURATION            0    
#define ZOMBIE_CLASS_COUNTDOWN            0
#define ZOMBIE_CLASS_REGEN_HEALTH        150
#define ZOMBIE_CLASS_REGEN_INTERVAL        0.7
/**
 * @endsection
 **/

 // Initialize zombie class index
int gZombie;
#pragma unused gZombie

/**
 * Plugin is loading.
 **/
public void OnPluginStart(/*void*/)
{
    
// Initilizate zombie class
    
gZombie ZP_RegisterZombieClass(ZOMBIE_CLASS_NAME
    
ZOMBIE_CLASS_MODEL
    
ZOMBIE_CLASS_CLAW
    
ZOMBIE_CLASS_HEALTH
    
ZOMBIE_CLASS_SPEED
    
ZOMBIE_CLASS_GRAVITY
    
ZOMBIE_CLASS_KNOCKBACK
    
ZOMBIE_CLASS_FEMALE
    
ZOMBIE_CLASS_VIP
    
ZOMBIE_CLASS_DURATION
    
ZOMBIE_CLASS_COUNTDOWN
    
ZOMBIE_CLASS_REGEN_HEALTH
    
ZOMBIE_CLASS_REGEN_INTERVAL);
}

/**
 * The map is starting.
 **/
public void OnMapStart(/*void*/)
{
    
PrecacheModel(ZOMBIE_CLASS_MODEL_VIP);
}

/**
 * Called when a client became a zombie.
 * 
 * @param clientIndex        The client index.
 * @param attackerIndex        The attacker index.
 **/
public void ZP_OnClientInfected(int clientIndexint attackerIndex)
{
    
// Validate client
    
if(!IsPlayerExist(clientIndex))
    {
        return 
Plugin_Handled;
    }
    
    
// Validate the zombie class index
    
if(ZP_GetClientZombieClass(clientIndex) == gZombie)
    {
        if(
GetUserAdmin(clientIndex) == Admin_Custom1)
        {
            
// Set new vip model
            
if(IsModelPrecached(ZOMBIE_CLASS_MODEL_VIP)) SetEntityModel(clientIndexZOMBIE_CLASS_MODEL_VIP);
        }
    }

__________________

Last edited by gubka; 11-16-2016 at 13:51.
gubka is offline
Send a message via ICQ to gubka
veli
Senior Member
Join Date: Apr 2012
Location: Netherlands
Old 11-17-2016 , 10:10   Re: [CS:GO/ZP] Zombie Plague Mod 6.2
Reply With Quote #793

Gubka, another idea. Can you add admin group in the models? So i can add some models only for a admin group.

example;
group "vip1"
veli is offline
Dacia_Logan
Member
Join Date: Sep 2016
Old 11-17-2016 , 10:31   Re: [CS:GO/ZP] Zombie Plague Mod 6.2
Reply With Quote #794

@gubka
Make zombie-plague.ini for yu mod its for zombie plague cs 1.6.
Code:
[Access Flags]
ENABLE/DISABLE MOD = l
ADMIN MENU = d
START MODE INFECTION = d
START MODE NEMESIS = d
START MODE SURVIVOR = d
START MODE SWARM = d
START MODE MULTI = d
START MODE PLAGUE = d
MAKE ZOMBIE = d
MAKE HUMAN = d
MAKE NEMESIS = d
MAKE SURVIVOR = d
RESPAWN PLAYERS = d
ADMIN MODELS = d

[Player Models] (randomly chosen if more than one)
HUMAN = arctic , guerilla , leet , terror , gign , gsg9 , sas , urban
NEMESIS = zombie_source
SURVIVOR = leet , sas
ADMIN ZOMBIE = zombie_source
ADMIN HUMAN = vip

; If you don't want people using altered player models, enable the following.
; 1 = Bounds Check (model's geometry must fit in the same bbox)
; 2 = CRC Check (file on client must exactly match server's file)
FORCE CONSISTENCY = 0

; By default, zombie models are class specific. You can edit them separately in your zp_zombieclasses.ini
; If, however, you want all zombies to use the same models regardless of class, you can enable this
; setting and add your global zombie models to the "ZOMBIE" line.
SAME MODELS FOR ALL = 0
ZOMBIE = zombie_source

[Weapon Models]
V_KNIFE HUMAN = models/v_knife.mdl
V_KNIFE NEMESIS = models/zombie_plague/v_knife_zombie.mdl
V_M249 SURVIVOR = models/v_m249.mdl
GRENADE INFECT = models/zombie_plague/v_grenade_infect.mdl
GRENADE FIRE = models/zombie_plague/v_grenade_fire.mdl
GRENADE FROST = models/zombie_plague/v_grenade_frost.mdl
GRENADE FLARE = models/zombie_plague/v_grenade_flare.mdl
V_KNIFE ADMIN HUMAN = models/v_knife.mdl
V_KNIFE ADMIN ZOMBIE = models/zombie_plague/v_knife_zombie.mdl

[Grenade Sprites]
TRAIL = sprites/laserbeam.spr
RING = sprites/shockwave.spr
FIRE = sprites/flame.spr
SMOKE = sprites/black_smoke3.spr
GLASS = models/glassgibs.mdl

[Sounds] (randomly chosen if more than one)
WIN ZOMBIES = ambience/the_horror1.wav , ambience/the_horror3.wav , ambience/the_horror4.wav
WIN HUMANS = zombie_plague/win_humans1.wav , zombie_plague/win_humans2.wav
WIN NO ONE = ambience/3dmstart.wav
ZOMBIE INFECT = zombie_plague/zombie_infec1.wav , zombie_plague/zombie_infec2.wav , zombie_plague/zombie_infec3.wav , scientist/c1a0_sci_catscream.wav , scientist/scream01.wav
ZOMBIE PAIN = zombie_plague/zombie_pain1.wav , zombie_plague/zombie_pain2.wav , zombie_plague/zombie_pain3.wav , zombie_plague/zombie_pain4.wav , zombie_plague/zombie_pain5.wav
NEMESIS PAIN = zombie_plague/nemesis_pain1.wav , zombie_plague/nemesis_pain2.wav , zombie_plague/nemesis_pain3.wav
ZOMBIE DIE = zombie_plague/zombie_die1.wav , zombie_plague/zombie_die2.wav , zombie_plague/zombie_die3.wav , zombie_plague/zombie_die4.wav , zombie_plague/zombie_die5.wav
ZOMBIE FALL = zombie_plague/zombie_fall1.wav
ZOMBIE MISS SLASH = weapons/knife_slash1.wav , weapons/knife_slash2.wav
ZOMBIE MISS WALL = weapons/knife_hitwall1.wav
ZOMBIE HIT NORMAL = weapons/knife_hit1.wav , weapons/knife_hit2.wav , weapons/knife_hit3.wav , weapons/knife_hit4.wav
ZOMBIE HIT STAB = weapons/knife_stab.wav
ZOMBIE IDLE = nihilanth/nil_now_die.wav , nihilanth/nil_slaves.wav , nihilanth/nil_alone.wav , zombie_plague/zombie_brains1.wav , zombie_plague/zombie_brains2.wav
ZOMBIE IDLE LAST = nihilanth/nil_thelast.wav
ZOMBIE MADNESS = zombie_plague/zombie_madness1.wav
ROUND NEMESIS = zombie_plague/nemesis1.wav , zombie_plague/nemesis2.wav
ROUND SURVIVOR = zombie_plague/survivor1.wav , zombie_plague/survivor2.wav
ROUND SWARM = ambience/the_horror2.wav
ROUND MULTI = ambience/the_horror2.wav
ROUND PLAGUE = zombie_plague/nemesis1.wav , zombie_plague/survivor1.wav
GRENADE INFECT EXPLODE = zombie_plague/grenade_infect.wav
GRENADE INFECT PLAYER = scientist/scream20.wav , scientist/scream22.wav , scientist/scream05.wav
GRENADE FIRE EXPLODE = zombie_plague/grenade_explode.wav
GRENADE FIRE PLAYER = zombie_plague/zombie_burn3.wav , zombie_plague/zombie_burn4.wav , zombie_plague/zombie_burn5.wav , zombie_plague/zombie_burn6.wav , zombie_plague/zombie_burn7.wav
GRENADE FROST EXPLODE = warcraft3/frostnova.wav
GRENADE FROST PLAYER = warcraft3/impalehit.wav
GRENADE FROST BREAK = warcraft3/impalelaunch1.wav
GRENADE FLARE = items/nvg_on.wav
ANTIDOTE = items/smallmedkit1.wav
THUNDER = zombie_plague/thunder1.wav , zombie_plague/thunder2.wav

[Ambience Sounds] (randomly chosen if more than one) (only .wav and .mp3 formats supported) (duration is in seconds)
INFECTION ENABLE = 0
INFECTION SOUNDS = zombie_plague/ambience.wav
INFECTION DURATIONS = 17
NEMESIS ENABLE = 0
NEMESIS SOUNDS = zombie_plague/ambience.wav
NEMESIS DURATIONS = 17
SURVIVOR ENABLE = 0
SURVIVOR SOUNDS = zombie_plague/ambience.wav
SURVIVOR DURATIONS = 17
SWARM ENABLE = 0
SWARM SOUNDS = zombie_plague/ambience.wav
SWARM DURATIONS = 17
PLAGUE ENABLE = 0
PLAGUE SOUNDS = zombie_plague/ambience.wav
PLAGUE DURATIONS = 17
Dacia_Logan is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-17-2016 , 14:09   Re: [CS:GO/ZP] Zombie Plague Mod 6.2
Reply With Quote #795

Quote:
Originally Posted by veli View Post
Gubka, another idea. Can you add admin group in the models? So i can add some models only for a admin group.

example;
group "vip1"
Yes i can, but i actuaaly don't want to add useless functions, because cs go have huge lack of good models now
__________________
gubka is offline
Send a message via ICQ to gubka
veli
Senior Member
Join Date: Apr 2012
Location: Netherlands
Old 11-17-2016 , 16:00   Re: [CS:GO/ZP] Zombie Plague Mod 6.2
Reply With Quote #796

lol, i need it because i cant add special models for special players anymore. It would be great if you want do it. Now all vip models accesable for all admins with flag b. I want not that. Think about that. Would make the mod more advance.
veli is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-17-2016 , 17:29   Re: [CS:GO/ZP] Zombie Plague Mod 6.2
Reply With Quote #797

Quote:
Originally Posted by veli View Post
lol, i need it because i cant add special models for special players anymore. It would be great if you want do it. Now all vip models accesable for all admins with flag b. I want not that. Think about that. Would make the mod more advance.
For human just add VIP classes with models and that all
__________________
gubka is offline
Send a message via ICQ to gubka
veli
Senior Member
Join Date: Apr 2012
Location: Netherlands
Old 11-18-2016 , 12:27   Re: [CS:GO/ZP] Zombie Plague Mod 6.2
Reply With Quote #798

and how to change buy button? it is now E and it block pressing buttons in ZE maps. How to fix that?
veli is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-18-2016 , 15:27   Re: [CS:GO/ZP] Zombie Plague Mod 6.2
Reply With Quote #799

Quote:
Originally Posted by veli View Post
and how to change buy button? it is now E and it block pressing buttons in ZE maps. How to fix that?
By rewriting code)
__________________
gubka is offline
Send a message via ICQ to gubka
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-18-2016 , 15:28   Re: [CS:GO/ZP] Zombie Plague Mod 6.2
Reply With Quote #800

Also try use that

Quote:
Originally Posted by poel View Post
Explanation (from Valve)

The term "tagging", is used to explain what happens to player when their movement is "slowed down" when they are shot or take damage.

When a player is shot and "tagged", their movement speed is reduced and their max acceleration and movement speed is capped by an amount determined by a bunch of factors.

Well, there is one cvar to change it, its an hidden CVAR, but you can change it for your servers.

sm_cvar mp_tagging_scale "1"

So, you have to add it in your SOURCEMOD.CFG

the default value is "1", so atm, i'm using 7 for my Zombie Escape server, and its enough, but I'm using 20 for Zombie riot server, and its perfect. I dont think 200 will change something more...!

Credits :

Thks to ROY for help
__________________

Last edited by gubka; 11-18-2016 at 15:39.
gubka is offline
Send a message via ICQ to gubka
Reply



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 13:42.


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