AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Extra Damage Mod (Gives weapons extra damage in CS!!!) (https://forums.alliedmods.net/showthread.php?t=22791)

v3x 01-04-2006 01:30

Extra Damage Mod (Gives weapons extra damage in CS!!!)
 
1 Attachment(s)
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!

GHW_Chronic 01-04-2006 01:32

Original, and HOT idea ;)

XeNo 01-04-2006 05:48

-Does the totally exaggerated stadium wave in his computer chair-
WoooOOoooo, on a roll?

I like it mainly because it IS original. Simple reconfiguring of the code for different weaponnumbers, and I love it. =D

v3x 01-05-2006 00:28

Updated - 0.2

Fixed one bug and fixed part of another:
  • Money could go over 16000 when the killer recieved the money from the kill ($300)
  • Fixed the grenade death message bug, but the other grenade bug still exists

Dirty DuMont 01-05-2006 00:36

Yet another nice plugin by v3x. I saw this as a request, that where you got the idea?

v3x 01-05-2006 00:41

Nope. I was originally writing up a simple function like they use in SH for extra damage and this came to mind when I thought of WeaponMod Lite :P

Nothing fancy but it does the job.

Dirty DuMont 01-05-2006 00:47

Oh I see. Heh..+2 karma for you = -2 karma for me..ha.

BACARRA 01-06-2006 12:56

can i add the commands in server.cfg instead of doing it thru console?

v3x 01-06-2006 13:44

You could add them in amxx.cfg

Next update will contain team specific damage for each weapon :)

Edit: Who rated it as useless? ...

v3x 01-06-2006 16:13

1 Attachment(s)
Here's Beta 0.3*:

I change the command name to sv_extradamage and added a teamid parameter:

sv_extradamage <weaponid> <damage> <teamid>

Team ids are as follows:
- 1: Terrorist team
- 2: CT team
- 3: Both teams

Examples:
sv_extradamage 17 5 1 - Would add an extra 5 damage to the Glock for the Terrorist team
sv_extradamage 23 8 2 - Would add an extra 8 damage to the TMP for the Counter-Terrorist team
sv_extradamage 29 10 3 - Would add an extra 10 damage to the knife for both teams
sv_extradamage 0 0 3 - Would take away all extra damage for ALL weapons for BOTH teams
sv_extradamage 0 25 3 - Would add 25 extra damage for ALL weapons for BOTH teams

* I need some people to test this.


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

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