Raised This Month: $12 Target: $400
 3% 

Extra Damage Mod (Gives weapons extra damage in CS!!!)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        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 - 14316 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
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 01-04-2006 , 01:32  
Reply With Quote #2

Original, and HOT idea ;)
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
XeNo
Member
Join Date: Aug 2005
Old 01-04-2006 , 05:48  
Reply With Quote #3

-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
XeNo is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 01-05-2006 , 00:28  
Reply With Quote #4

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
__________________
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.
v3x is offline
Dirty DuMont
Member
Join Date: Jan 2006
Old 01-05-2006 , 00:36  
Reply With Quote #5

Yet another nice plugin by v3x. I saw this as a request, that where you got the idea?
Dirty DuMont is offline
Send a message via AIM to Dirty DuMont
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 01-05-2006 , 00:41  
Reply With Quote #6

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

Nothing fancy but it does the job.
__________________
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.
v3x is offline
Dirty DuMont
Member
Join Date: Jan 2006
Old 01-05-2006 , 00:47  
Reply With Quote #7

Oh I see. Heh..+2 karma for you = -2 karma for me..ha.
Dirty DuMont is offline
Send a message via AIM to Dirty DuMont
BACARRA
Senior Member
Join Date: Mar 2005
Old 01-06-2006 , 12:56  
Reply With Quote #8

can i add the commands in server.cfg instead of doing it thru console?
BACARRA is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 01-06-2006 , 13:44  
Reply With Quote #9

You could add them in amxx.cfg

Next update will contain team specific damage for each weapon

Edit: Who rated it as useless? ...
__________________
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.
v3x is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 01-06-2006 , 16:13  
Reply With Quote #10

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.
Attached Files
File Type: sma Get Plugin or Get Source (extra_damage_mod-b.sma - 3212 views - 12.1 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.
v3x is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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