//TITLES FOR HALF-LIFE 2
// Position command $position x y 
// x & y are from 0 to 1 to be screen resolution independent
// -1 means center in each dimension
// Effect command $effect <effect number>
// effect 0 is fade in/fade out
// effect 1 is flickery credits
// effect 2 is write out (training room)
// Text color r g b command $color
// fadein time fadeout time / hold time
// $fadein (message fade in time - per character in effect 2)
// $fadeout (message fade out time)
// $holdtime (stay on the screen for this long)

//INTRO TITLES
// All centered for now
$position -1 -1
$effect 2
// This is the final color
$color 100 100 100
// This is the highlight color
$color2 240 110 0
// This is the time it takes to fade each character
$fadein 0.01
// This is the amount of time the highlight lags behind the leading edge of the text
$fxtime 0.25
// How long to hold the message on the screen (after it scans out)
$holdtime 3.5
// How long it takes to fade out the message after holding
$fadeout 1.5


//INTRO CREDITS
// Test values -- JAY
// Lower left
$position 0.1 0.8
$effect 1
// Final fade-in color
$color 128 128 128
// This is the highlight/flash color
$color2 0 0 0
$fadein 1.5
$fadeout 0.5
$holdtime 1.2

CR1
{
Testing 1
}

CR2
{
Testing 2
}

CR3
{
Testing 3
}


//INTRO TITLES
// All centered for now
$position -1 -1
$effect 2
// This is the final color
$color 100 100 100
// This is the highlight color
$color2 240 110 0
// This is the time it takes to fade each character
$fadein 0.01
// This is the amount of time the highlight lags behind the leading edge of the text
$fxtime 0.25
// How long to hold the message on the screen (after it scans out)
$holdtime 3.5
// How long it takes to fade out the message after holding
$fadeout 1.5


GAMEOVER_ALLY
{
#HL2_GameOver_Ally
}

GAMEOVER_OBJECT
{
#HL2_GameOver_Object
}

GAMEOVER_TIMER
{
#HL2_GameOver_Timer
}

GAMEOVER_STUCK
{
#HL2_GameOver_Stuck
}


$fadein 0.03
$holdtime 9


//CHAPTER TITLES

$fadein 0.01
$holdtime 3.5
$position -1 0.58

CHAPTER1_TITLE
{
#HL2_Chapter1_Title
}

CHAPTER2_TITLE
{
#HL2_Chapter2_Title
}

CHAPTER3_TITLE
{
#HL2_Chapter3_Title
}

CHAPTER4_TITLE
{
#HL2_Chapter4_Title
}

CHAPTER5_TITLE
{
#HL2_Chapter5_Title
}

CHAPTER6_TITLE
{
#HL2_Chapter6_Title
}

CHAPTER7_TITLE
{
#HL2_Chapter7_Title
}

CHAPTER8_TITLE
{
#HL2_Chapter8_Title
}

CHAPTER9_TITLE
{
#HL2_Chapter9_Title
}

CHAPTER9A_TITLE
{
#HL2_Chapter9a_Title
}


CHAPTER10_TITLE
{
#HL2_Chapter10_Title
}

CHAPTER11_TITLE
{
#HL2_Chapter11_Title
}

CHAPTER12_TITLE
{
#HL2_Chapter12_Title
}

CHAPTER13_TITLE
{
#HL2_Chapter13_Title
}


// In-Game messages
$position 0.1 0.1
$effect 2
// This is the final color
$color 100 100 100
// This is the highlight color
$color2 240 110 0
// This is the time it takes to fade each character
$fadein 0.00
// This is the amount of time the highlight lags behind the leading edge of the text
$fxtime 0.15
// How long to hold the message on the screen (after it scans out)
$holdtime 1.0
// How long it takes to fade out the message after holding
$fadeout 0.25

$boxsize 0.4
$boxcolor 31 31 31 127

GAMESAVING_360
{
#HL2_Saved
}

$position -1 0.65

GAMESAVING
{
#HL2_Saved
}

// In-Game messages
$position 0.1 0.1
$effect 2
// This is the final color
$color 100 100 100
// This is the highlight color
$color2 240 110 0
// This is the time it takes to fade each character
$fadein 0.00
// This is the amount of time the highlight lags behind the leading edge of the text
$fxtime 0.15
// How long to hold the message on the screen (after it scans out)
$holdtime 1.0
// How long it takes to fade out the message after holding
$fadeout 0.25

$boxsize 0.4
$boxcolor 31 31 31 127

// The following message will clear any existing message of the given name
$clearmessage GAMESAVING

GAMESAVED_360
{
#HL2_Saved
}

$position -1 0.65

GAMESAVED
{
#HL2_Saved
}

$clearmessage 0

// Game title
// This is a placeholder to hold the effects controls for the "Half-Life" title
$position -1 -1
// Only effect 0 is supported for game title
$effect 0
// This is the final color
$color 180 180 180
// Not used color2
$color2 0 0 0
// This is the time it takes to fade in the title
$fadein 1.0
// How long to hold the message on the screen (after it scans out)
$holdtime 3.0
// How long it takes to fade out the message after holding
$fadeout 1.5

$boxsize 0.0

GAMETITLE
{
Half-Life
}

//HAZARD COURSE TEXT

// Test values -- JAY
$position -1 0.65
// Scan-out text effect
$effect 2
// This is the final color
$color 100 100 100
// This is the highlight color
$color2 0 200 50
// This is the time it takes to fade each character
$fadein 0.005
// This is the amount of time the highlight lags behind the leading edge of the text
$fxtime 0.5
// How long to hold the message on the screen (after it scans out)
$holdtime 3.5
// How long it takes to fade out the message after holding

$fadeout 1.5
$position -1 0.65
$position -1 0.3