View Single Post
Author Message
javalia
Senior Member
Join Date: May 2009
Location: korea, republic of
Old 12-11-2012 , 18:39   [CSS] HardCoreFriendlyFire
Reply With Quote #1

<HardCoreFriendlyFire>



Introdution
there is few plugins that r changing friendly fire damage or changing game into FFA.
but, this plugin has few different points in it`s code.
this plugin changes player`s team when they r attacked by teammates,
so damage will correctly calculated by game.
not like other FF damage change plugins that r just simply changing damage to teammates by multiplying some values to damage.
so u can expect this plugin will work better with other plugin/maps that r making players deal dmg to teammates.

however, this plugin can make side effect to plugins that r having code related to OnTakeDamage function and player_death and player_hurt event.

and, if u want to hide friendly fire warning msg in chat area, i recommand this plugin to be used together. https://forums.alliedmods.net/showth...19#post1852319

this plugin has bug related with round end msg of css. because game actually thinks u attacked enemy, not your teammate. but its not a critical thing...



Requirements

this plugin needs the things listed below to work:
  • SDKHooks



Installation

to install this plugin
  • put the smx file in the sourcemod/plugins folder
to compile this plugin manually
  • put sp file in the sourcemod/scripting folder
  • compile.



Configuration

cvarlist for this version
Code:
// This file was auto-generated by SourceMod (v1.5.0-dev+3697)
// ConVars for plugin "HardCoreFriendlyFire.smx"


// enables FFA mode
// -
// Default: "0"
HardCoreFriendlyFire_freeforall "0"
Special Thanks To

i want to say thanks to these guys
  • someone whom will get interested on my plugin and use this.



Change Log

all the date`s format is y/m/d
Code:
update at 2012 12 12(ver 1.0.0.0) 
  • released
Attached Files
File Type: sp Get Plugin or Get Source (HardCoreFriendlyFire.sp - 319 views - 3.7 KB)
File Type: smx HardCoreFriendlyFire.smx (3.9 KB, 343 views)
__________________

Last edited by alongub; 02-19-2013 at 14:55.
javalia is offline