AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Explosive Ammo Enable v1.1 (https://forums.alliedmods.net/showthread.php?t=130804)

McFlurry 06-27-2010 17:34

[L4D2] Explosive Ammo Enable v1.1
 
4 Attachment(s)
First off, the plugin's structure is based off guncontrol(http://forums.alliedmods.net/showthread.php?p=1020236) by AtomicStryker, so this is his coding reworked for this purpose.:wink:

Well this is from a request by IronWarrior(http://forums.alliedmods.net/showthread.php?t=129947)

This plugin will replace 1 incendiary ammo pack into an explosive ammo pack by a chance setting.

CVARS:
l4d2_eammo_chance "3" if set to 1 it will always replace I ammo with E ammo if set to 2 it will do this half the time and so on.
l4d2_eammo_version you know what this does.

Changelog:
1.0 - Initial Release
1.1 - Fixed Incendiary Ammo being replaced when gamemode was not versus or teamversus, also unnecessary coding was removed.

AtomicStryker 06-27-2010 17:44

Re: [L4D2] Explosive Ammo Enable
 
PHP Code:

    CreateConVar("l4d2_eammo_version"PLUGIN_VERSION" Version of L4D2 Gun Control on this server "DEFAULT_FLAGS|FCVAR_SPONLY|FCVAR_DONTRECORD); 

PHP Code:

    PrintToChatAll("[GUNCONTROL] %s"buffer);
    
PrintToConsole(0"[GUNCONTROL] %s"buffer); 

You might want to check your copy 'n paste again.

McFlurry 06-27-2010 19:49

Re: [L4D2] Explosive Ammo Enable
 
Fixed.

Snip-

IronWarrior 06-28-2010 19:36

Re: [L4D2] Explosive Ammo Enable
 
Oh awesome.

Thank you McFlurry, will get this installed tomorrow and report back on any problems or bugs.

paul92 03-20-2011 15:43

Re: [L4D2] Explosive Ammo Enable v1.1
 
Ehi, looks like this plugin in Dark Carnival and No Mercy causes crash!
On No Mercy it crash loading the second map.
On Dark Carnival, it crash loading the first map, or the third map.
When it crash, an engine error pop up telling me that l4d2_eammo can't sobstitute incendiary ammo with explosive ammo in some places (obviously, the pop up message is more accurate, but i forget anytime to take a screenshot).

Oh, this happened once on Dead Center loading the second map... But it happened only once in 30 tests...

I'm using windows... Any idea?

Paul92

Dont Fear The Reaper 12-15-2011 12:07

Re: [L4D2] Explosive Ammo Enable v1.1
 
Thanks for the plugin

I got one minor request, could you please update it so that both teams get the same ammo upgrades, meaning the chance setting only has effect on the first round and for the second round it just takes the same replacements as on the first round. And you might want to add realism versus to the game mode check, if you didn't exclude it on purpose.


All times are GMT -4. The time now is 05:20.

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