Plugin Info:
|
Modification: Counter-Strike
Category: General Purpose
Approver: Hawk552 (427)
|
Senior Member
|
08-07-2009
, 13:08
Weapon Throwing
|
#1
|
Weapon Throwing
[1.0.0]
- Description -
There are situations when in the middle of a battle you run out of ammo. You're relying on your secondary weapon. But what if there's no ammo for your secondary weapon? I've always felt that counter-strike was missing a feature to throw weapons. I can bet that i am not the only one. Sometimes knife can't save you. For example a 100m2(10m x 10m) room without furniture. One player stands in a door, but the other one stands in a door opposite the first player. The second player has an ak47, but the first one is out of ammo, but has a usp and a m4a1. You can't knife your opponent that's 10meters away. You can try to run away, but you'll most likely fail. This plugin allows you to throw weapons and kill players with them. Weapons are rotating in air with a random speed and angle. It detects headshots and non-headshots. You can throw weapons holding E and pressing G, by default, but that's changeable with cvars. See below.
- Cvars -
Quote:
amx_wp_base_damage < "## ##" > < Base min and max damage. > < Default: "20 40" >
amx_wp_headshot_multi < #.# > < Headshot multiplier. Float. > < Default: 3.0 >
amx_wp_throw_c4 < 0 / 1 > < If 0, you can't throw C4. > < Default: 0 >
amx_wp_use_e < 0 / 1 > < If 0, you have don't have to hold E to throw weapons, you'll be able to throw them by pressing only the G(drop) key. < Default: 1 >
amx_wp_throw_type < 0 / 1 / 2 > < If 0, you'll throw all weapons flat, but they still will rotate. If 1, you'll throw all weapons vertical. If 2, plugin will choose a random type between 0 and 1 every time you throw a weapon.
amx_wp_use_for_damage < 0 / 1 > < If 1, damage will be calculated using the weapon weight table. For example, you'll get more damage with awp than with usp. > < Default: 1 >
amx_wp_base_throw_speed < #### > < Weapon base throw speed. > < Default: 1000 >
amx_wp_use_for_throw_speed < 0 / 1 > < If 1, throw speed will be calculated using the weapon weight table. > < Default: 1 >
|
- Media -
Example Video
- Notes -
Modification is Counter-Strike because it uses a Weight table for cs weapons. Turning both cvars that use the weight table should make this work for hl and all its mods.
Cvar changes will only take effect at the next round.
- Change Log -
Code:
1.0.0
* Initial Release
Last edited by shine771; 08-07-2009 at 16:25.
|
|
|
|