AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Weapon Drop (https://forums.alliedmods.net/showthread.php?t=123098)

Machine 04-02-2010 11:32

[L4D2] Weapon Drop
 
1 Attachment(s)
Description:

This is a weapon drop plugin for L4D2. It allows you to drop anything.

Usage:

Just type !drop in chat. Alternatively, you can bind a key to sm_drop.

Admin Usage:

Root admins can also force survivors to drop a slotted item.
sm_drop <#userid|name> <slot to drop>

Changelog:

1.0
- Release
1.1
- Added weapon upgrades support
1.2
- Added The Passing Weapon Support
1.3
- Uses SDKCall to force player to drop weapon
1.4
- Updated gamedata for both windows/linux (Thanks Peace-Maker)
- Added targeting for root admins
1.5
- Removed gamedata requirement

Credits:

dcx and Electr000999 for contributing, thank you guys!

MarshalZCC 04-02-2010 18:24

Re: [L4D2] Weapon Drop
 
The important question is:

Does is support dropping weapons that have ammo/laser upgrades? Ie. will they be retained when they are picked up again? If not, it should be added.

Machine 04-02-2010 19:08

Re: [L4D2] Weapon Drop
 
It does not, i will add those changes in the next update.

Edit: Updated to 1.1

MarshalZCC 04-02-2010 20:55

Re: [L4D2] Weapon Drop
 
Awesome work. Much appreciated.

LTR.2 04-02-2010 22:17

Re: [L4D2] Weapon Drop
 
i knew someone would take care of this today.

question, if you type !drop and you are holding a melee weapon, it goes back to pistols?

troop5 04-02-2010 22:39

Re: [L4D2] Weapon Drop
 
No, you become weaponless.

LTR.2 04-03-2010 00:36

Re: [L4D2] Weapon Drop
 
Quote:

Originally Posted by troop5 (Post 1137185)
No, you become weaponless.

that's impossible in L4d2

Oshroth 04-03-2010 03:56

Re: [L4D2] Weapon Drop
 
Quote:

Originally Posted by LTR.2 (Post 1137261)
that's impossible in L4d2

Its possible, if you have no weapon selected you go into civilian mode, where you model gets stuck in the default position

Frus 04-03-2010 05:14

Re: [L4D2] Weapon Drop
 
Actually it just doesn't let you select that slot, you have to remove all your weapons before you go into civ mode. (It's not even really civ mode like in other source games, if you remember pausing in frusmod, that's what it looks like when your emove all your weapons) I stopped you from dropping your first pistol in the original one to ensure you always have a weapon, that and the game generally assumes you always have a pistol, i.e. incaps etc.

Oshroth 04-03-2010 07:04

Re: [L4D2] Weapon Drop
 
Quote:

Originally Posted by Frus (Post 1137406)
Actually it just doesn't let you select that slot, you have to remove all your weapons before you go into civ mode. (It's not even really civ mode like in other source games, if you remember pausing in frusmod, that's what it looks like when your emove all your weapons) I stopped you from dropping your first pistol in the original one to ensure you always have a weapon, that and the game generally assumes you always have a pistol, i.e. incaps etc.

The game replaces your melee with a pistol when you get incapped, then when you get rescued, it removes the weapon you had in your secondary slot and gives you back your melee.


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

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