Fortress Forever

Go Back   Fortress Forever > Editing > Modding

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-18-2009, 06:36 PM   #1
PartialSchism
Keep On Keepin' On
 
PartialSchism's Avatar
 
Join Date: Feb 2008
Location: Mississippi
Class/Position: Offense
Gametype: Fun
Affiliations: I'm bad at FF, and my customs suck
Posts Rated Helpful 0 Times
Send a message via AIM to PartialSchism
Arrow Pain Sprites / Tutorial

Different look for the pain indicators.

Pic

They come in Red, Green, Blue ( Original also included )

DOWNLOAD

They are text files, so if you want a different color, DO IT YOURSELF .

Tutorial:

To Change the COLOR:
Open HudAnimations.txt

Located in :
C:\Program Files\Steam\SteamApps\SourceMods\FortressForever\ scripts
Look for these entries:
Code:
event HudTakeDamageFront
{
	Animate HudDamageIndicator DmgColorFront	"255 88 0 200"	Linear 0.0 0.0
	Animate HudDamageIndicator DmgColorFront	"255 0 0 200"	Linear 0.0 0.3
	Animate HudDamageIndicator DmgColorFront	"255 0 0 0"	Deaccel 0.3 0.5
}

event HudTakeDamageLeft
{
	Animate HudDamageIndicator DmgColorLeft		"255 88 0 200"	Linear 0.0 0.0
	Animate HudDamageIndicator DmgColorLeft		"255 0 0 200"	Linear 0.0 0.3
	Animate HudDamageIndicator DmgColorLeft		"255 0 0 0"	Deaccel 0.3 0.5
}

event HudTakeDamageRight
{
	Animate HudDamageIndicator DmgColorRight		"255 88 0 200"	Linear 0.0 0.0
	Animate HudDamageIndicator DmgColorRight		"255 0 0 200"	Linear 0.0 0.3
	Animate HudDamageIndicator DmgColorRight		"255 0 0 0"	Deaccel 0.3 0.5
}

event HudTakeDamageBehind
{
//	RunEvent HudTakeDamageLeft	0.0
//	RunEvent HudTakeDamageRight	0.0
	Animate HudDamageIndicator DmgColorBehind	"255 88 0 200"	Linear 0.0 0.0
	Animate HudDamageIndicator DmgColorBehind	"255 0 0 200"	Linear 0.0 0.3
	Animate HudDamageIndicator DmgColorBehind	"255 0 0 0"	Deaccel 0.3 0.5
}
Change the numbers in red to the RGB color code of choice, Do NOT change the 4th number, bad things happen.

To Change the SIZE:
Open HudLayout.res
Located in :
C:\Program Files\Steam\SteamApps\SourceMods\FortressForever\ scripts

Look for this entry:
Code:
HudDamageIndicator
	{
		"fieldName" 		"HudDamageIndicator"
		"visible" 			"1"
		"enabled" 			"1"
		"DmgColorLeft" 		"255 0 0 0"
		"DmgColorRight" 	"255 0 0 0"
		
		"dmg_xmargin"		"40"
		"dmg_ymargin"		"40"

		"dmg_depth"			"40"
		"dmg_outerlength"	"300"
		"dmg_innerlength"	"240"
	}
dmg_depth - how wide the color area is
dmg_outerlength - how long the edge closest to the edge of your screen is
dmg_innerlength - how long the edge closest to the center of your screen is

**No need to change the color in this entry

Last edited by PartialSchism; 09-13-2009 at 06:25 PM. Reason: fixed
PartialSchism is offline   Reply With Quote


 

Tags
color, hud, pain, sprites


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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. The time now is 08:58 PM.


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