Raised This Month: $28 Target: $400
 7% 

[L4D & L4D2] Smoker Cloud Damage


Post New Thread Reply   
 
Thread Tools Display Modes
Neon123
Senior Member
Join Date: Jan 2016
Old 12-21-2018 , 19:36   Re: [L4D & L4D2] Smoker Cloud Damage
Reply With Quote #261

work in l4d2 ?
Neon123 is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 12-22-2018 , 01:52   Re: [L4D & L4D2] Smoker Cloud Damage
Reply With Quote #262

Quote:
Originally Posted by Neon123 View Post
work in l4d2 ?
Yes, this version works fine: https://forums.alliedmods.net/showpo...&postcount=260
Mr. Man is offline
Ernecio
Member
Join Date: Sep 2019
Location: The United Mexican State
Old 10-24-2019 , 23:09   Re: [L4D & L4D2] Smoker Cloud Damage
Reply With Quote #263

Hi All I have taken the version by ConnerRia and have updated the new declarations of SoucerMod for my personal use at first, but I want to share my version for me working good in L4D1 and L4D2, the web compiler works on SourceMod 1.10, but if you have SourceMod 1.9 take the compiled version:
Attached Files
File Type: sp Get Plugin or Get Source (l4d_cloud_damage.sp - 545 views - 12.6 KB)
File Type: smx l4d_cloud_damage.smx (12.7 KB, 154 views)

Last edited by Ernecio; 10-24-2019 at 23:45.
Ernecio is offline
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 07-19-2020 , 04:40   Re: [L4D & L4D2] Smoker Cloud Damage
Reply With Quote #264

Quote:
Originally Posted by Ernecio View Post
Hi All I have taken the version by ConnerRia and have updated the new declarations of SoucerMod for my personal use at first, but I want to share my version for me working good in L4D1 and L4D2, the web compiler works on SourceMod 1.10, but if you have SourceMod 1.9 take the compiled version:
After throwing it on the server it did nothing for me.

I had to change:

isAllowedGameMode = ListContainsString(convarsetting, ",", gamemode);

to

isAllowedGameMode = ListContainsString(convarsetting, ", ", gamemode);

in order to get the gamemode working.

I guess it is bc the gamemodes are seperated with ", " <- blank after ,

Better change the default convar without blanks like in the original.
__________________

Last edited by finishlast; 07-19-2020 at 05:06.
finishlast is offline
Ernecio
Member
Join Date: Sep 2019
Location: The United Mexican State
Old 07-20-2020 , 00:08   Re: [L4D & L4D2] Smoker Cloud Damage
Reply With Quote #265

Quote:
Originally Posted by finishlast View Post
After throwing it on the server it did nothing for me.

I had to change:

isAllowedGameMode = ListContainsString(convarsetting, ",", gamemode);

to

isAllowedGameMode = ListContainsString(convarsetting, ", ", gamemode);

in order to get the gamemode working.

I guess it is bc the gamemodes are seperated with ", " <- blank after ,

Better change the default convar without blanks like in the original.
Hi, Omg i always play coop mode and i never noticed this but in case someone mistakenly writes a space it can be solved like this example:

PHP Code:
void CheckGamemode()
{
    static 
char sGameMode[PLATFORM_MAX_PATH];
    
FindConVar("mp_gamemode").GetStringsGameModesizeof sGameMode );
    
    static 
char sConVarSetting[PLATFORM_MAX_PATH];
    
cvarGameModeActive.GetStringsConVarSettingsizeof sConVarSetting );
    
ReplaceStringsConVarSettingsizeof sConVarSetting" """false );     // Remove spaces in any section of the string.
    
    
isAllowedGameMode ListContainsStringsConVarSetting","sGameMode );

__________________

Last edited by Ernecio; 07-20-2020 at 00:29.
Ernecio is offline
AI0702
Junior Member
Join Date: Apr 2021
Old 06-14-2021 , 13:53   Re: [L4D & L4D2] Smoker Cloud Damage
Reply With Quote #266

Can someone edit this version

https://forums.alliedmods.net/showpo...&postcount=260

and add such an event that causes the survivors to avoid the smoke cloud, like they avoid the spitter's spit pool, because the bots just stand there in the cloud radius, coughing and taking damage.

Last edited by AI0702; 06-14-2021 at 14:10.
AI0702 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 01:03.


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