Thread: Damage mode
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Exolent[jNr] (178)
Texnux
Member
Join Date: Mar 2008
Location: Denmark
Old 10-26-2008 , 00:37   Damage mode
Reply With Quote #1

Damage mode - version 1.0, by Texnux - Updated on 26-10-2008

Description:
This plugin allows you to altar each weapons damage and the normally damage level, that means you can have a weapon that does ½ the damage it does normally, but have a setting that multiplies every damage with lets say 2.0.

It has hardcore and softcore mode, in CoD4 style!

Features:
- 5 modes: Softcore, hardcore, extra procent damage, extra damage per shot, weapon specific damage
- Weapon specific damage mode even with another mode running

Admin commands:
- amx_damage_mode - turns it off and between the 5 modes - softcore, hardcore, extra procent damage, extra damage per shot, weapon specific damage
- amx_dmode_wep_specific - turn on/off weapon specific damage
- amx_dmode_show_hud - show hud or not, that tells which mode is running

Cvars:
- dmode_wep_dmg_<weaponname> - how much the damage is of that weapon - defaults for every weapon 1.0
- dmode_show_hud - show hud or not, that tells which mode is running - default 1
- dmode_wep_specific - turn on/off weapon specific damage - default 0
- dmode_mode - turns it off and between the 5 modes - softcore, hardcore, extra procent damage, extra damage per shot, weapon specific damage - default 1
- dmode_dmg_extra_procent - how much damage does compared to normal - default 1.5
- dmode_dmg_extra_damage - extra damage per hit - default 10
- dmode_dmg_softcore - procent damage in softcore mode - default 0.5
- dmode_dmg_hardcore - procent damage in hardcore mode - default 3.0

Required Modules:
- Hamsandwich
- Fakemeta

Known bugs/problems:
- It seems like the damage on bots aren't correct.

Credits:
fxfighter - damage control - for some layout features.

Installation:
Put the Damage_mode.amxx in plugins folder and add Damage_mode.amxx to your config file

Small version: Coremode:
There is a smaller version for those that just want hard/softcore mode like in CoD4. It has no commands but four cvars and it requires the same as the long version mode of it.

Cvars:
- cm_dmg_softcore - procent damage in softcore mode - default 0.5
- cm_dmg_hardcore - procent damage in hardcore mode - default 3.0
- cm_show_hud - show hud or not, that tells which mode is running - default 1
- cm_mode - turns it off and between the 2modes - softcore, hardcore



- Texnux
Attached Files
File Type: sma Get Plugin or Get Source (Damage_mode.sma - 5705 views - 9.2 KB)
File Type: sma Get Plugin or Get Source (Coremode.sma - 3754 views - 2.2 KB)

Last edited by Texnux; 10-27-2008 at 09:35.
Texnux is offline