Fortress Forever

Fortress Forever (https://forums.fortress-forever.com/index.php)
-   Modding (https://forums.fortress-forever.com/forumdisplay.php?f=45)
-   -   (Released) Arrow Pain Sprites / Tutorial (https://forums.fortress-forever.com/showthread.php?t=19264)

PartialSchism 03-18-2009 06:36 PM

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

GeoKill-----> 03-18-2009 06:48 PM

Sweet and Sticky

squeek. 03-19-2009 01:54 AM

Nice job Partial. You are great at customizing the hard-to-customize. :)

PartialSchism 03-19-2009 02:34 AM

8) Thnx guys

oTTo 09-13-2009 09:07 AM

Download link broken

PartialSchism 09-13-2009 06:25 PM

fixed


All times are GMT. The time now is 04:01 AM.

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