View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-28-2009 , 15:21   Re: Death & Damage Realistic.
Reply With Quote #5

Quote:
Originally Posted by Asd' View Post
PHP Code:
////////////////////////// Customization start here //////////////////////////

// Killed
const RedKilled 0
const GreenKilled 0
const BlueKilled 0
const AlphaKilled 200

// Damage
const Red 250
const Green 0
const Blue 0
const Alpha 200

// Fade
const Fade 0x0000
const UnitSecond = (1<<12)

// Sounds realistics
new const HumanPain[][] = { "RealisticSD/HumanPain1.wav""RealisticSD/HumanPain2.wav""RealisticSD/HumanPain3.wav""RealisticSD/HumanPain4.wav""RealisticSD/HumanPain5.wav""RealisticSD/HumanPain6.wav" }
new const 
HumanDead[][] = { "RealisticSD/HumanDead1.wav""RealisticSD/HumanDead2.wav""RealisticSD/HumanDead3.wav""RealisticSD/HumanDead4.wav""RealisticSD/HumanDead5.wav" }

////////////////////////// Customization end here ////////////////////////// 
Make cvars for the colors.
Make a cvar for the fade duration.
There is no need to customize the fade flag.
Read a .ini file for custom sounds if server owners want to change them.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline