View Single Post
Plugin Info:     Modification:          Category:          Approver:   Geesu (62)
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 01-04-2006 , 01:30   Extra Damage Mod (Gives weapons extra damage in CS!!!)
Reply With Quote #1

Extra Damage Mod 0.2 - by v3x

For Counterstrike ONLY

Description:
This plugin will allow you to add extra damage to almost ANY weapon in Counterstrike.

Commands:
  • sv_weapondamage <weaponid> <damage>
    Example usage:
    sv_weapondamage 17 10 - Would add 10 damage to every bullet hit from the Glock
    sv_weapondamage 29 10 - Would add 10 damage to every knife hit
    sv_weapondamage 0 10 - Would add 10 damage to ALL weapons
    sv_weapondamage 0 0 - Would remove extra damage from ALL weapons
  • amx_weaponlist
    - Prints out weapon ids
    - Should only be used within the server console because all of them will not display via client console.
Required Modules:
  • Cstrike
  • Engine
  • Fun
Weapon ID list:
Quote:
1 - P228
3 - SCOUT
4 - HEGRENADE
5 - XM1014
7 - MAC10
8 - AUG
10 - ELITE
11 - FIVESEVEN
12 - UMP45
13 - SG550
14 - GALI
15 - FAMAS
16 - USP
17 - GLOCK18
18 - AWP
19 - MP5NAVY
20 - M249
21 - M3
22 - M4A1
23 - TMP
24 - G3SG1
26 - DEAGLE
27 - SG552
28 - AK47
29 - KNIFE
30 - P90
Known Bugs:
  • Grenades do not work all of the time!
  • amx_weaponlist command doesn't display all weapon ids in the client console, but does in the server console.
Using with map configs:
First, read this topic on custom map configs and how to use them.

Then in your configs you can put multiple lines of the same command with different settings like so:
Code:
sv_weapondamage 17 10
sv_weapondamage 17 10
sv_weapondamage 19 5
sv_weapondamage 8 2
Enjoy and post any bugs you find!
Attached Files
File Type: sma Get Plugin or Get Source (extra_damage_mod.sma - 14360 views - 7.7 KB)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.

Last edited by v3x; 04-24-2008 at 22:06.
v3x is offline