Fortress Forever

Go Back   Fortress Forever > Editing > Modding

Reply
 
Thread Tools Display Modes
Old 03-18-2009, 07: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 07:25 PM. Reason: fixed
PartialSchism is offline   Reply With Quote


Old 03-18-2009, 07:48 PM   #2
GeoKill----->
Community Member
Server Owner
Beta Tester
Forum Moderator
 
GeoKill----->'s Avatar
 
Join Date: Mar 2007
Location: Hawthorne, California
Class/Position: Soldier/Spy/Scout
Gametype: AvD
Affiliations: :e0:Eternal Order Leader
Posts Rated Helpful 12 Times
Sweet and Sticky
__________________

:e0: Will live on Forever
Support FF:
GeoKill-----> is offline   Reply With Quote


Old 03-19-2009, 02:54 AM   #3
squeek.
Stuff Do-er
Lua Team
Wiki Team
Fortress Forever Staff
 
squeek.'s Avatar
 
Join Date: Mar 2007
Location: Northern California
Class/Position: Rallygun Shooter
Gametype: Conc tag (you just wait)
Affiliations: Mustache Brigade
Posts Rated Helpful 352 Times
Send a message via AIM to squeek.
Nice job Partial. You are great at customizing the hard-to-customize.
__________________
#FF.Pickup ยค Fortress-Forever pickups

My Non-official Maps
Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic
Beta FF_Myth - FF_Redlight_Greenlight

Sick of the people on the internet, always moanin'. They just moan.
- Karl Pilkington
squeek. is offline   Reply With Quote


Old 03-19-2009, 03:34 AM   #4
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
Thnx guys
PartialSchism is offline   Reply With Quote


Old 09-13-2009, 10:07 AM   #5
oTTo
 
oTTo's Avatar
 
Join Date: Jul 2007
Posts Rated Helpful 1 Times
Download link broken
__________________
http://forums.fortress-forever.com/image.php?type=sigpic&userid=11138&dateline=125242  3503
oTTo is offline   Reply With Quote


Old 09-13-2009, 07:25 PM   #6
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
fixed
PartialSchism is offline   Reply With Quote


Reply

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 01:27 AM.


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