Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
teran
Junior Member
Join Date: Oct 2017
Old 10-12-2017 , 15:44   Re: [CS:GO] Release: Zombie Plague 6.8
Reply With Quote #221

Knife's knockback doesn't work if I have not a standart knife. For example, Bowie or M9.
teran is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 10-15-2017 , 20:57   Re: [CS:GO] Release: Zombie Plague 6.8
Reply With Quote #222

I'm ready to beta test v2.0

Last edited by ZASTRELIS; 10-15-2017 at 20:57.
ZASTRELIS is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 10-19-2017 , 12:18   Re: [CS:GO] Release: Zombie Plague 6.8
Reply With Quote #223

I don't have Linux now, to compile it. Somebody knows how to compile sm ext by themselves?
__________________
gubka is offline
Send a message via ICQ to gubka
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 10-19-2017 , 12:26   Re: [CS:GO] Release: Zombie Plague 6.8
Reply With Quote #224

Quote:
Originally Posted by teran View Post
Knife's knockback doesn't work if I have not a standart knife. For example, Bowie or M9.
Open damage.cpp and look on DamageOnClientKnockBack function
It has checkig with using of CSWeaponID, all custom knife in cs go also have CSWeapon_KNIFE id, therefore knockback should work on all knives, like on standard. I dont have custom knife to check it acctually. If they have different ID, i can fix that issue.


PHP Code:
+=================+==================+===================+=================+=========================+
|      
Nazwa      |      Alias       |    CSWeaponID     GetClientWeapon |        Classname        |
+=================+==================+===================+=================+=========================+
ż terro       | knife_t          | CSWeapon_NONE     | weapon_knife    | weapon_knife_t          |
+-----------------+------------------+-------------------+-----------------+-------------------------+
ż ct          | knife_default_ct | CSWeapon_NONE     | weapon_knife    | weapon_knife            |
+-----------------+------------------+-------------------+-----------------+-------------------------+
Bagnet          bayonet          CSWeapon_NONE     weapon_knife    weapon_bayonet          |
+-----------------+------------------+-------------------+-----------------+-------------------------+
ż z hakiem    | knife_gut        | CSWeapon_NONE     | weapon_knife    | weapon_knife_gut        |
+-----------------+------------------+-------------------+-----------------+-------------------------+
ż składany    | knife_flip       | CSWeapon_NONE     | weapon_knife    | weapon_knife_flip       |
+-----------------+------------------+-------------------+-----------------+-------------------------+
Bagnet m9       knife_m9_bayonet CSWeapon_NONE     weapon_knife    weapon_knife_m9_bayonet |
+-----------------+------------------+-------------------+-----------------+-------------------------+
Karambit        knife_karambit   CSWeapon_NONE     weapon_knife    weapon_knife_karambit   |
+-----------------+------------------+-------------------+-----------------+-------------------------+
ż łowcy       | knife_tactical   | CSWeapon_NONE     | weapon_knife    | weapon_knife_tactical   |
+-----------------+------------------+-------------------+-----------------+-------------------------+
ż motylkowy   | knife_butterfly  | CSWeapon_NONE     | weapon_knife    | weapon_knife_butterfly  |
+-----------------+------------------+-------------------+-----------------+-------------------------+
ż falcjon     | knife_falchion   | CSWeapon_NONE     | weapon_knife    | weapon_knife_falchion   |
+-----------------+------------------+-------------------+-----------------+-------------------------+
Złoty nóż gg    | knifegg          | CSWeapon_KNIFE_GG | weapon_knifegg  | weapon_knifegg          |
+-----------------+------------------+-------------------+-----------------+-------------------------+
Sztylety Cienia knife_push       CSWeapon_NONE     weapon_knife    weapon_knife_push       
If you will check that table all custom knifes have same GetClientWeapon weapon_knife index

PHP Code:
// Get weapon name
char sAlias[SMALL_LINE_LENGTH];
GetClientWeapon(cBaseAttacker->IndexsAliassizeof(sAlias));
            
// Gets a weaponID from a alias
WeaponsGetAlias(sAliassizeof(sAlias));

// Convert weapon alias to ID
CSWeaponID weaponID CS_AliasToWeaponID(sAlias);

// Apply knockback
if(CS_IsValidWeaponID(weaponID))
{
    if(!
cBaseVictim->m_bNemesisDamageOnClientKnockBack(cBaseVictimcBaseAttackerdamageAmountweaponID);

__________________

Last edited by gubka; 10-19-2017 at 12:40.
gubka is offline
Send a message via ICQ to gubka
geoxd1
Junior Member
Join Date: Aug 2017
Location: Poland
Old 10-23-2017 , 05:40   Re: [CS:GO] Release: Zombie Plague 6.8
Reply With Quote #225

hey there is way get normal weapon menu on round start something like in deatmach but for zombie mod when you can choose 1 time gun what you will use for round? Without buying with ammo and unlimited ammo with reload or zp mod not supposed to work like that never played before really. And what about war3 in this mod in counter strike 1.6 i know there was alot that kind servers?

Btw Great Work With mod!

Last edited by geoxd1; 10-23-2017 at 06:04.
geoxd1 is offline
teran
Junior Member
Join Date: Oct 2017
Old 11-03-2017 , 06:33   Re: [CS:GO] Release: Zombie Plague 6.8
Reply With Quote #226

Could you make a plugin that will respawn people if they die from falling and respawn dead zombies? That's needed for zombie escape
teran is offline
Evil KonveeR
Junior Member
Join Date: Aug 2017
Old 11-04-2017 , 06:40   Re: [CS:GO] Release: Zombie Plague 6.8
Reply With Quote #227

And there are addon !ztele?
Evil KonveeR is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-04-2017 , 12:46   Re: [CS:GO] Release: Zombie Plague 6.8
Reply With Quote #228

Quote:
Originally Posted by Evil KonveeR View Post
And there are addon !ztele?
First zombies on the escape maps (ze_) will teleport on the spawn automatically
__________________
gubka is offline
Send a message via ICQ to gubka
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-04-2017 , 12:48   Re: [CS:GO] Release: Zombie Plague 6.8
Reply With Quote #229

Quote:
Originally Posted by teran View Post
Could you make a plugin that will respawn people if they die from falling and respawn dead zombies? That's needed for zombie escape
Open zombieplague.cfg
PHP Code:
zp_respawn_on_suicide  "1" // Respawn players if they commited suicide [0-no // 1-yes] 
__________________
gubka is offline
Send a message via ICQ to gubka
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-04-2017 , 12:49   Re: [CS:GO] Release: Zombie Plague 6.8
Reply With Quote #230

Quote:
Originally Posted by geoxd1 View Post
hey there is way get normal weapon menu on round start something like in deatmach but for zombie mod when you can choose 1 time gun what you will use for round? Without buying with ammo and unlimited ammo with reload or zp mod not supposed to work like that never played before really. And what about war3 in this mod in counter strike 1.6 i know there was alot that kind servers?

Btw Great Work With mod!
Classic Zp which i played all the time, had that type of menu.
If you want to open it on the spawn, then open spawn.cpp
Find line
PHP Code:
cBasePlayer->m_ModelName(sModelsArm); 
After that line put
PHP Code:
MenuShop(cBasePlayer); 
and recompile core, so humans on the spawn will have already opened menu with weapons
In addition, if you will reduce ammocost of standard weapons to 0, then they will be free and in menu you wont see any ammopacks prices
__________________

Last edited by gubka; 11-04-2017 at 12:55.
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 04:50.


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