Files
Quake_4_Alpha/q4xbase/guis/q4x_cannon_hud.gui
T
2026-08-06 14:45:27 -07:00

1984 lines
42 KiB
Plaintext

windowDef Desktop
{
rect 0,0,640,480
visible 1
nocursor 1
menugui 0
//-----------------------
// floats and defines
//-----------------------
definevec4 "ws_on" 1,0.5,0,1
definevec4 "ws_off" 0.658,0.639,0.376,0.6
definevec4 "ws_glowon" 0.7,0.8,0.5,0.6
definevec4 "ws_glowoff" 0.7,0.8,0.5,0
definevec4 "ws_grey" 0.190,0.284,0.168,0.6
definevec4 "typecolor" 0.866,0.921,0.764,1
definevec4 "healthicon" 0.658,0.639,0.376,0.6
definevec4 "armoricon" 0.658,0.639,0.376,0.6
definevec4 "white" 1,1,1,1
float "objdone" 0
float "weapswitch" 0
float "teamstrogg" 0
definefloat "showGunInfo" 1
definefloat "switchLeft" (640 - (("gui::weaponcount" * 30) - 2)) / 2
//-----------------------
// init and namedevents
//-----------------------
onInit {
namedEvent "updateHealth";
namedEvent "updateArmor";
namedEvent "updateAmmo";
namedEvent "clipCheck";
namedEvent "updatePowerups";
namedEvent "hideBrackets";
namedEvent "weaponChange";
namedEvent "radioChatterDown";
// namedEvent "InitHud";
}
onNamedEvent updateHealth {
if ( "gui::player_healthdelta" < 0 )
{
resettime "health_amount" "0" ;
}
}
onNamedEvent updateArmor {
if ( "gui::player_armordelta" < 0 )
{
resettime "armor_amount" "0" ;
}
}
// onNamedEvent updateAmmo {
// if ( "gui::player_ammodelta" < 0 )
// {
// resettime "ammo_amount" "0" ;
// }
// }
onNamedEvent weaponChange {
namedEvent "clipCheck";
/*
if ( "gui::player_weapon" == 0 ) {
set "ammo_amount::visible" "0";
set "total_ammo::visible" "0";
set "ammo_amount_nc::visible" "0";
} else if ( "gui::player_weapon" == 6 ) {
set "p_ammo1::visible" "0";
set "p_rockets::visible" "1";
set "p_lightning::visible" "0";
} else if ( "gui::weap_clipsize" == 0 ) {
set "p_ammo1::visible" "0";
set "p_rockets::visible" "0";
set "p_lightning::visible" "1";
} else {
set "p_ammo1::visible" "1";
set "p_rockets::visible" "0";
set "p_lightning::visible" "0";
}
*/
//-----------------------
// If we had a valid weapon as out last weapon then show the weapon
// switch icons. This check prevents the indicators from coming up
// when you first start the game.
//-----------------------
set "p_weapswitch::visible" "0";
if ( "gui::player_lastweapon" >= 0 )
{
namedEvent "p_weapswitch::UpdateWeapons";
set "p_weapswitch::visible" "1";
set "p_itempickup::visible" "0";
set "desktop::weapswitch" "1";
resettime "p_weapswitch" "0";
}
}
onNamedEvent weaponFire {
set "p_weapswitch::visible" "0";
namedEvent "closeObjective";
}
onNamedEvent clipCheck {
if ( "gui::player_totalammo" == -1 ) {
set "ammo_amount::visible" "0";
set "total_ammo::visible" "0";
set "ammo_amount_nc::visible" "0";
} else if ( "gui::player_ammo" == -1 || "gui::player_clip_size" < 2 ) {
set "ammo_amount::visible" "0";
set "total_ammo::visible" "0";
set "ammo_amount_nc::visible" "1";
} else {
set "ammo_amount::visible" "1";
set "total_ammo::visible" "1";
set "ammo_amount_nc::visible" "0";
}
}
onNamedEvent itemPickup {
if ( "desktop::weapswitch" == 0 ) {
set "p_itempickup::visible" "1" ;
resettime "p_itempickup" "0" ;
}
}
onNamedEvent radioChatterUp {
set "p_radio::visible" "1" ;
}
onNamedEvent radioChatterDown {
set "p_radio::visible" "0" ;
}
onNamedEvent showBrackets {
set "brackets::alpha" "1";
set "brackets::visible" "1";
stopTransitions "brackets";
resetTime "brackets" "0";
set "brackets::notime" "1";
}
onNamedEvent fadeBrackets {
resetTime "brackets" "0";
}
onNamedEvent hideBrackets {
stopTransitions "brackets";
resetTime "brackets" "0";
set "brackets::notime" "1";
set "brackets::visible" "0";
}
onNamedEvent playerHit {
resetTime "hit_indicator" "0";
}
onNamedEvent clearPowerups {
set "gui::powerup0_visible" "0";
set "gui::powerup1_visible" "0";
set "gui::powerup2_visible" "0";
set "gui::powerup3_visible" "0";
set "gui::powerup4_visible" "0";
set "gui::powerup_flag_visible" "0";
}
onNamedEvent fadeout {
resettime "anim_fade" "0" ;
}
onNamedEvent resetfade {
set "fade::backcolor" "0,0,0,0" ;
set "failedtext::forecolor" "0,0,0,0" ;
}
onNamedEvent showBossBar {
set "BossBar::visible" "1";
}
onNamedEvent hideBossBar {
set "BossBar::visible" "0";
}
onNamedEvent showBossShieldBar {
set "BossShield::visible" "1";
}
onNamedEvent hideBossShieldBar {
set "BossShield::visible" "0";
}
onNamedEvent showBossShieldWarn {
set "BossShieldWarn::visible" "1";
set "BossShield::visible" "0";
}
onNamedEvent hideBossShieldWarn {
set "BossShieldWarn::visible" "0";
set "BossShield::visible" "1";
}
onNamedEvent showExit {
set "p_exit_level::visible" "1";
resettime "anim_levelExitAlert" "0";
}
onNamedEvent hideExit {
set "p_exit_level::visible" "0";
}
onNamedEvent newObjective {
localSound "guisounds_click" ;
set "p_objectives::visible" "1" ;
resettime "p_objectives" "0" ;
resettime "anim_obj_in" "0" ;
set "desktop::objdone" "1" ;
}
onNamedEvent newObjectiveComplete {
localSound "guisounds_click" ;
set "p_compobjectives::visible" "1" ;
resettime "p_compobjectives" "0" ;
resettime "anim_compobj_in" "0" ;
set "desktop::objdone" "2" ;
}
onNamedEvent closeObjective {
if ("desktop::objdone" == 1) {
resettime "anim_obj_out" "0" ;
set "objdone" "0" ;
} else if ("desktop::objdone" == 2) {
resettime "anim_compobj_out" "0" ;
set "objdone" "0" ;
}
}
onNamedEvent setTeam_marine {
set "ammo_valbar::matcolor" "0.698,0.811,0.427,0.2" ;
set "ammo_val::matcolor" "0.698,0.811,0.427,0.35" ;
set "health_valbar::matcolor" "0.698,0.811,0.427,0.2" ;
set "health_val::matcolor" "0.698,0.811,0.427,0.35" ;
set "armor_valbar::matcolor" "0.698,0.811,0.427,0.2" ;
set "armor_val::matcolor" "0.698,0.811,0.427,0.35" ;
set "powerup_flag_icon::matcolor" "1,0.482,0.0156,0.8";
}
onNamedEvent setTeam_strogg {
set "ammo_valbar::matcolor" "1,0.5,0,0.2" ;
set "ammo_val::matcolor" "1,0.5,0,0.35" ;
set "health_valbar::matcolor" "1,0.5,0,0.2" ;
set "health_val::matcolor" "1,0.5,0,0.35" ;
set "armor_valbar::matcolor" "1,0.5,0,0.2" ;
set "armor_val::matcolor" "1,0.5,0,0.35" ;
set "powerup_flag_icon::matcolor" "0.415,0.643,0.168,0.8";
}
onNamedEvent enterFlatbed
{
set "p_flatbed::visible" "1";
set "p_ammo::visible" "0";
set "p_health::visible" "0";
set "p_armor::visible" "0";
}
onNamedEvent leaveFlatbed
{
set "p_flatbed::visible" "0";
set "p_ammo::visible" "1";
set "p_health::visible" "1";
set "p_armor::visible" "1";
}
onNamedEvent saveMessage {
set "quicksave_msg::visible" "1" ;
resettime "quicksave_msg" "0" ;
}
onNamedEvent objectiveFailed {
namedEvent "closeObjective";
set "p_failedobjective::visible" "1";
}
windowDef p_failedobjective {
visible 0
rect 0, 200,640,80
windowDef failedtext {
rect 0,0,640,40
text "#str_200271"
textscale 0.5
textalign 1
font "fonts/chain"
forecolor 1,0,0,1
}
windowDef failedtitle {
rect 0,40,640,40
text "gui::objectivetitle"
textscale 0.5
textalign 1
font "fonts/chain"
forecolor 1,1,1,1
}
}
//-----------------------
// Sound Meter - Dev Only
//-----------------------
windowDef BgSOUND {
rect 0 ,0 ,128 ,64
background "gfx/guis/soundmeter/audiobg"
matcolor 1 ,1 ,1 ,1
visible ("gui::s_debug" == 1)
}
windowDef OverlaySOUND {
rect 0 ,0 ,128 ,64
background "gfx/guis/soundmeter/audioverlay"
matcolor 1 ,1 ,1 ,1
visible 0
}
//-----------------------
// flatbed truck health
//-----------------------
windowDef p_flatbed
{
rect 0,0,640,480
visible 0
windowDef flatbed_backbar
{
rect 13,420,125,59
visible 1
background "gfx/guis/hud/backbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef p_flatbed_val
{
rect 133 - ( "gui::vehicle_health" * 115 ),430,115,40
visible 1
shear 0,-.22
windowDef flatbed_val
{
rect -116 + ( "gui::vehicle_health" * 115 ),0,118,40
visible 1
background "gfx/guis/hud/flatbedbar"
matcolor 0.701,0.815,0.431,0.35
shear 0,-.22
}
}
windowDef flatbed_valbar
{
rect 17,430,118,40
visible 1
background "gfx/guis/hud/flatbededge"
matcolor 0.701,0.815,0.431,0.4
shear 0,-.22
}
}
//-----------------------
// ammo
//-----------------------
windowDef p_ammo
{
rect 0,0,640,480
visible 1
windowDef ammo_backbar
{
rect 13,420,125,59
visible 1
background "gfx/guis/hud/backbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ammo_valbar
{
rect 13,420,125,59
visible 1
background "gfx/guis/hud/valbar"
matcolor 0.701,0.815,0.431,0.2
shear 0,-.22
}
windowDef p_ammo_val
{
rect 133 - ( "gui::player_ammopct" * 115 ),420,115,59
visible 1
shear 0,-.22
windowDef ammo_val
{
rect -120 + ( "gui::player_ammopct" * 115 ),0,125,59
visible 1
background "gfx/guis/hud/valbar"
matcolor 0.701,0.815,0.431,0.35
shear 0,-.22
}
}
windowDef current_gun
{
rect 11,435,106,26
visible "desktop::showGunInfo" != 0
background "gui::weapicon"
matcolor 0.780,0.741,0.470,0.4
}
windowDef ammo_amount
{
rect 44,429,49,26
visible 1
forecolor 0.866,0.921,0.764,1
text "gui::player_ammo"
textscale 0.5
font "fonts/chain"
shear 0,-.22
textalign 2
}
windowDef total_ammo
{
rect 91,432,40,18
visible 1
forecolor 0.866,0.921,0.764,1
text "gui::player_totalammo"
textscale 0.32
font "fonts/chain"
shear 0,-.22
textalign 2
}
windowDef ammo_amount_nc
{
rect 82,429,49,26
visible 0
forecolor 0.866,0.921,0.764,1
text "gui::player_totalammo"
textscale 0.5
font "fonts/chain"
shear 0,-.22
textalign 2
}
windowDef icon_ammoweapon
{
rect 113,458,16,16
visible 1
background "gui::ammoicon"
matcolor 0.658,0.639,0.376,0.6
}
}
//-----------------------
// health
//-----------------------
windowDef p_health
{
rect 0,0,640,480
visible 1
windowDef health_backbar
{
rect 190,420,125,59
visible 1
background "gfx/guis/hud/backbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef health_valbar
{
rect 190,420,125,59
visible 1
background "gfx/guis/hud/valbar"
matcolor 0.701,0.815,0.431,0.2
shear 0,-.22
}
windowDef health_ekg
{
rect 190,420,125,59
visible 1
background "gfx/guis/hud/ekg"
matcolor 0.0862,0.105,0.0549,1
shear 0,-.22
}
windowDef p_health_val
{
rect 310 - ( "gui::player_healthpct" * 115 ),420,115,59
visible 1
shear 0,-.22
windowDef health_val
{
rect -120 + ( "gui::player_healthpct" * 115 ),0,125,59
visible 1
background "gfx/guis/hud/valbar"
matcolor 0.701,0.815,0.431,0.35
shear 0,-.22
}
}
windowDef d_health_amount
{
rect 254,427,58,31
visible 0
}
windowDef health_amount
{
rect 259,429,49,26
visible 1
forecolor 0.866,0.921,0.764,1
text "gui::player_health"
textscale 0.5
font "fonts/chain"
shear 0,-.22
textalign 2
notime 1
onTime 0
{
transition "forecolor" "$desktop::white" "$desktop::typecolor" "250" ;
transition "rect" "$d_health_amount::rect" "$health_amount::rect" "250" ;
transition "textscale" "0.6" "0.5" "250" ;
transition "icon_health::matcolor" "$desktop::white" "$desktop::healthicon" "250" ;
}
}
windowDef icon_health
{
rect 288,458,16,16
visible 1
background "gfx/guis/hud/icons/item_health"
matcolor 0.658,0.639,0.376,0.6
}
}
//-----------------------
// armor
//-----------------------
windowDef p_armor
{
rect 0,0,640,480
visible "gui::player_armor"
windowDef armor_backbar
{
rect 326,420,125,59
visible 1
background "gfx/guis/hud/backbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef armor_valbar
{
rect 326,420,125,59
visible 1
background "gfx/guis/hud/arbar"
matcolor 0.698,0.811,0.427,0.2
shear 0,-.22
}
windowDef p_armor_val
{
rect 446 - ( "gui::player_armorpct" * 115 ),420,115,59
visible 1
shear 0,-.22
windowDef armor_val
{
rect -120 + ( "gui::player_armorpct" * 115 ),0,125,59
visible 1
background "gfx/guis/hud/arbar"
matcolor 0.698,0.811,0.427,0.349
shear 0,-.22
}
}
windowDef d_armor_amount
{
rect 390,427,58,31
visible 0
}
windowDef armor_amount
{
rect 395,429,49,26
visible 1
forecolor 0.866,0.921,0.764,1
text "gui::player_armor"
textscale 0.5
font "fonts/chain"
shear 0,-.22
textalign 2
notime 1
onTime 0
{
transition "forecolor" "$desktop::white" "$desktop::typecolor" "250" ;
transition "rect" "$d_armor_amount::rect" "$armor_amount::rect" "250" ;
transition "textscale" "0.6" "0.5" "250" ;
transition "icon_armorvest::matcolor" "$desktop::white" "$desktop::armoricon" "250" ;
}
}
windowDef icon_armorvest
{
rect 424,458,16,16
visible 1
background "gfx/guis/hud/icons/item_armor"
matcolor 0.658,0.639,0.376,0.6
}
}
//-----------------------
// weapon switching
//-----------------------
windowDef p_weapswitch
{
rect 0,360,640,80
visible 0
notime 1
onNamedEvent UpdateWeapons {
if ( "gui::weapon0" ) {
set "ws_weapon0::visible" "1";
if ( "gui::weapon0_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 0 ) {
set "ws_weapon0_icon::matcolor" "$desktop::ws_off";
set "ws_weapon0_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon0_icon::matcolor" "$desktop::ws_on";
set "ws_weapon0_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon0_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon0::visible" "0";
}
if ( "gui::weapon1" ) {
set "ws_weapon1::visible" "1";
if ( "gui::weapon1_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 1 ) {
set "ws_weapon1_icon::matcolor" "$desktop::ws_off";
set "ws_weapon1_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon1_icon::matcolor" "$desktop::ws_on";
set "ws_weapon1_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon1_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon1::visible" "0";
}
if ( "gui::weapon2" ) {
set "ws_weapon2::visible" "1";
if ( "gui::weapon2_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 2 ) {
set "ws_weapon2_icon::matcolor" "$desktop::ws_off";
set "ws_weapon2_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon2_icon::matcolor" "$desktop::ws_on";
set "ws_weapon2_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon2_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon2::visible" "0";
}
if ( "gui::weapon3" ) {
set "ws_weapon3::visible" "1";
if ( "gui::weapon3_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 3 ) {
set "ws_weapon3_icon::matcolor" "$desktop::ws_off";
set "ws_weapon3_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon3_icon::matcolor" "$desktop::ws_on";
set "ws_weapon3_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon3_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon3::visible" "0";
}
if ( "gui::weapon4" ) {
set "ws_weapon4::visible" "1";
if ( "gui::weapon4_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 4 ) {
set "ws_weapon4_icon::matcolor" "$desktop::ws_off";
set "ws_weapon4_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon4_icon::matcolor" "$desktop::ws_on";
set "ws_weapon4_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon4_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon4::visible" "0";
}
if ( "gui::weapon5" ) {
set "ws_weapon5::visible" "1";
if ( "gui::weapon5_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 5 ) {
set "ws_weapon5_icon::matcolor" "$desktop::ws_off";
set "ws_weapon5_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon5_icon::matcolor" "$desktop::ws_on";
set "ws_weapon5_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon5_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon5::visible" "0";
}
if ( "gui::weapon6" ) {
set "ws_weapon6::visible" "1";
if ( "gui::weapon6_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 6 ) {
set "ws_weapon6_icon::matcolor" "$desktop::ws_off";
set "ws_weapon6_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon6_icon::matcolor" "$desktop::ws_on";
set "ws_weapon6_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon6_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon6::visible" "0";
}
if ( "gui::weapon7" ) {
set "ws_weapon7::visible" "1";
if ( "gui::weapon7_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 7 ) {
set "ws_weapon7_icon::matcolor" "$desktop::ws_off";
set "ws_weapon7_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon7_icon::matcolor" "$desktop::ws_on";
set "ws_weapon7_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon7_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon7::visible" "0";
}
if ( "gui::weapon8" ) {
set "ws_weapon8::visible" "1";
if ( "gui::weapon8_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 8 ) {
set "ws_weapon8_icon::matcolor" "$desktop::ws_off";
set "ws_weapon8_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon8_icon::matcolor" "$desktop::ws_on";
set "ws_weapon8_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon8_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon8::visible" "0";
}
if ( "gui::weapon9" ) {
set "ws_weapon9::visible" "1";
if ( "gui::weapon9_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 9 ) {
set "ws_weapon9_icon::matcolor" "$desktop::ws_off";
set "ws_weapon9_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon9_icon::matcolor" "$desktop::ws_on";
set "ws_weapon9_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon9_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon9::visible" "0";
}
if ( "gui::weapon10" ) {
set "ws_weapon10::visible" "1";
if ( "gui::weapon10_ammo" != 0 ) {
if ( "gui::player_idealWeapon" != 10 ) {
set "ws_weapon10_icon::matcolor" "$desktop::ws_off";
set "ws_weapon10_glow::matcolor" "$desktop::ws_glowoff";
} else {
set "ws_weapon10_icon::matcolor" "$desktop::ws_on";
set "ws_weapon10_glow::matcolor" "$desktop::ws_glowon";
}
} else {
set "ws_weapon10_icon::matcolor" "$desktop::ws_grey";
}
} else {
set "ws_weapon10::visible" "0";
}
}
onTime 1000 {
set "notime" "0";
set "visible" "0";
set "desktop::weapswitch" "0";
}
windowDef ws_name
{
rect 0,42,640,40
forecolor 0.690,0.784,0.568,1
textalign 1
font "fonts/marine"
textscale .25
// textstyle 2
text "gui::weaponname"
}
windowDef ws_weapon0
{
rect ("desktop::switchLeft" + "gui::weapon0_index" * 30),20,26,26
windowDef ws_weapon0_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon0_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon0_icon
{
rect 4,4,18,18
background "gui::weapon0_icon"
}
}
windowDef ws_weapon1
{
rect ("desktop::switchLeft" + "gui::weapon1_index" * 30),20,26,26
windowDef ws_weapon1_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon1_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon1_icon
{
rect 4,4,18,18
background "gui::weapon1_icon"
}
}
windowDef ws_weapon2
{
rect ("desktop::switchLeft" + "gui::weapon2_index" * 30),20,26,26
windowDef ws_weapon2_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon2_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon2_icon
{
rect 4,4,18,18
background "gui::weapon2_icon"
}
}
windowDef ws_weapon3
{
rect ("desktop::switchLeft" + "gui::weapon3_index" * 30),20,26,26
windowDef ws_weapon3_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon3_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon3_icon
{
rect 4,4,18,18
background "gui::weapon3_icon"
}
}
windowDef ws_weapon4
{
rect ("desktop::switchLeft" + "gui::weapon4_index" * 30),20,26,26
windowDef ws_weapon4_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon4_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon4_icon
{
rect 4,4,18,18
background "gui::weapon4_icon"
}
}
windowDef ws_weapon5
{
rect ("desktop::switchLeft" + "gui::weapon5_index" * 30),20,26,26
windowDef ws_weapon5_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon5_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon5_icon
{
rect 4,4,18,18
background "gui::weapon5_icon"
}
}
windowDef ws_weapon6
{
rect ("desktop::switchLeft" + "gui::weapon6_index" * 30),20,26,26
windowDef ws_weapon6_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon6_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon6_icon
{
rect 4,4,18,18
background "gui::weapon6_icon"
}
}
windowDef ws_weapon7
{
rect ("desktop::switchLeft" + "gui::weapon7_index" * 30),20,26,26
windowDef ws_weapon7_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon7_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon7_icon
{
rect 4,4,18,18
background "gui::weapon7_icon"
}
}
windowDef ws_weapon8
{
rect ("desktop::switchLeft" + "gui::weapon8_index" * 30),20,26,26
windowDef ws_weapon8_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon8_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon8_icon
{
rect 4,4,18,18
background "gui::weapon8_icon"
}
}
windowDef ws_weapon9
{
rect ("desktop::switchLeft" + "gui::weapon9_index" * 30),20,26,26
windowDef ws_weapon9_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon9_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon9_icon
{
rect 4,4,18,18
background "gui::weapon9_icon"
}
}
windowDef ws_weapon10
{
rect ("desktop::switchLeft" + "gui::weapon10_index" * 30),20,26,26
windowDef ws_weapon10_bg
{
rect 0,0,26,26
background "gfx/guis/hud/wsbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef ws_weapon10_glow
{
rect 0,0,26,26
background "gfx/guis/hud/wsbarglow"
matcolor 0.690,0.784,0.568,0
shear 0,-.22
}
windowDef ws_weapon10_icon
{
rect 4,4,18,18
background "gui::weapon10_icon"
}
}
}
//-----------------------
// radio messages
//-----------------------
windowDef p_radio
{
rect 507,10,122,28
visible 0
windowDef radio_backbar
{
rect 7,0,113,28
visible 1
background "gfx/guis/hud/radiobar"
matcolor 0,0,0,0.498
shear 0,-.22
}
windowDef t_radio1
{
rect 32,1,81,12
visible 1
forecolor 1,1,1,1
text "#str_200272"
textscale 0.2
font "fonts/marine"
textspacing 0
}
windowDef t_radio2
{
rect 32,8,81,12
visible 1
forecolor 1,1,1,1
text "#str_200273"
textscale 0.2
font "fonts/marine"
textspacing 0
}
windowDef waveform
{
rect 0,2,41,25
visible 1
background "gfx/guis/hud/waveform"
matcolor 1,0.5,0,1
}
}
//-----------------------
// item/ammo pickups
//-----------------------
windowDef p_itempickup
{
rect 0,0,640,480
visible 0
notime 1
onTime 3000 {
set "visible" "0";
}
windowDef pickup_backbar
{
rect 21,401,140,24
visible 1
background "gfx/guis/hud/pickupbar"
matcolor 0,0,0,0.5
shear 0,-.22
}
windowDef t_pickupname
{
rect 42,404,136,15
visible 1
forecolor 0.862,0.917,0.760,1
text "gui::itemtext"
textscale 0.2
font "fonts/marine"
textspacing 0
}
windowDef icon_pickup
{
rect 26,405,16,16
visible 1
background "gui::itemicon"
matcolor 0.666,0.674,0.435,0.8
}
}
//-----------------------
// objectives
//-----------------------
windowDef p_objectives
{
rect 0,0,640,480
visible 1
onTime 5000 {
namedEvent "closeObjective";
}
windowDef d_obj_backbar
{
rect -617,32,1057,175
visible 0
background "gfx/guis/mainmenu/bg_darkgrad2"
matcolor 0,0,0,0.8
matscalex -1
}
windowDef d_obj_ba
{
rect 6,52,279,127
visible 0
background "gfx/guis/hud/obj_btn1"
matcolor 0.690,0.803,0.419,0.4
}
windowDef d_obj_b
{
rect 6,179,279,17
visible 0
background "gfx/guis/hud/obj_btn2"
matcolor 0.690,0.803,0.419,0.4
}
windowDef obj_backbar
{
rect -617,32,741,175
visible 1
background "gfx/guis/mainmenu/bg_darkgrad2"
matcolor 0,0,0,0
matscalex -1
}
windowDef obj_ba
{
rect 6,110,279,15
visible 1
background "gfx/guis/hud/obj_btn1"
matcolor 0.690,0.803,0.419,0
}
windowDef obj_b
{
rect 6,125,279,17
visible 1
background "gfx/guis/hud/obj_btn2"
matcolor 0.690,0.803,0.419,0
}
windowDef obj_title
{
rect 9,31,203,18
visible 1
forecolor 1,0.5,0,0
text "#str_200274"
textscale 0.25
font "fonts/marine"
textspacing -1
}
windowDef obj_corner
{
rect 12,55,16,16
visible 1
background "gfx/guis/mainmenu/corner"
matcolor 0.690,0.803,0.419,0
}
windowDef obj_descript
{
rect 26,55,136,27
visible 1
forecolor 1,1,1,0
text "gui::objectivetitle"
textscale 0.2
font "fonts/lowpixel"
}
windowDef obj_ss
{
rect 28,84,134,100
visible 1
background "gui::screenshot"
matcolor 1,1,1,0
bordersize 1
bordercolor 0,0,0,0
}
windowDef obj_title2
{
rect 26,195,148,13
visible 1
forecolor 0.850,0.905,0.749,0
text "#str_200275"
textscale 0.14
font "fonts/marine"
textspacing -1
}
}
//-----------------------
// completed objectives
//-----------------------
windowDef p_compobjectives
{
rect 0,0,640,480
visible 1
onTime 5000 {
namedEvent "closeObjective";
}
windowDef d_compobj_backbar
{
rect 239,53,822,66
visible 0
background "gfx/guis/mainmenu/bg_darkgrad2"
matcolor 0,0,0,0.8
}
windowDef d_compobj_ba
{
rect 412,75,279,22
visible 0
background "gfx/guis/hud/obj_btn1"
matcolor 0.690,0.803,0.419,0.4
}
windowDef d_compobj_b
{
rect 412,97,279,17
visible 0
background "gfx/guis/hud/obj_btn2"
matcolor 0.690,0.803,0.419,0.4
}
windowDef compobj_backbar
{
rect 553,53,508,66
visible 1
background "gfx/guis/mainmenu/bg_darkgrad2"
matcolor 0,0,0,0
}
windowDef compobj_ba
{
rect 412,83,279,1
visible 1
background "gfx/guis/hud/obj_btn1"
matcolor 0.690,0.803,0.419,0
}
windowDef compobj_b
{
rect 412,84,279,17
visible 1
background "gfx/guis/hud/obj_btn2"
matcolor 0.690,0.803,0.419,0
}
windowDef compobj_title
{
rect 413,53,228,18
visible 1
forecolor 1,0.5,0,0
text "#str_200276"
textscale 0.25
font "fonts/marine"
textspacing -1
}
windowDef compobj_corner
{
rect 416,79,16,16
visible 1
background "gfx/guis/mainmenu/corner"
matcolor 0.690,0.803,0.419,0
}
windowDef compobj_descript
{
rect 431,79,178,30
visible 1
forecolor 1,1,1,0
text "gui::objectivetitle"
textscale 0.2
font "fonts/lowpixel"
}
}
//-----------------------
// powerups
//-----------------------
windowDef powerups
{
rect 520,0,120,480
visible 1
windowDef powerup_flag
{
rect 38,435,84,39
visible "gui::powerup_flag_visible"
windowDef powerup_flag_bg
{
rect 2,-1,81,42
background "gfx/guis/hud/ctf_bgbar"
visible 1
matcolor 0,0,0,1
matscalex -1
matscaley -1
}
windowDef powerup_flag_icon
{
rect 23,8,22,22
visible 1
background "gfx/guis/hud/ctf_flag"
matcolor 1,0.482,0.0156,0.8
shear 0,-.22
onTime 0 {
transition "powerup_flag_icon::rect" "$powerup_flag_icon::rect" "$d_powerup_flag_icon::rect" "150" ;
}
onTime +150 {
transition "powerup_flag_icon::rect" "$d_powerup_flag_icon::rect" "$powerup_flag_icon::rect" "500" ;
}
onTime +500 {
resettime "0" ;
}
}
windowDef d_powerup_flag_icon
{
rect 20,5,28,28
visible 0
background "gfx/guis/hud/ctf_flag"
matcolor 1,0.482,0.0156,0.8
shear 0,-.22
}
}
windowDef powerup4
{
rect 37,400,84,38
visible "gui::powerup4_visible"
windowDef powerup4_bg
{
rect 2,0,81,42
background "gfx/guis/hud/ctf_bgbar"
visible 1
matcolor 0,0,0,1
matscalex -1
matscaley -1
}
windowDef powerup4_icon
{
rect 22,9,23,23
visible 1
background "gui::powerup4_icon"
matcolor 1,1,1,1
}
windowDef powerup4_time
{
rect 48,7,31,25
visible 1
text "gui::powerup4_time"
forecolor 0.866,0.921,0.764,1
textscale 0.4
font "fonts/chain"
}
}
windowDef powerup0
{
rect 37,365,84,38
visible "gui::powerup0_visible"
windowDef powerup0_bg
{
rect 2,0,81,42
background "gfx/guis/hud/ctf_bgbar"
visible 1
matcolor 0,0,0,1
matscalex -1
matscaley -1
}
windowDef powerup0_icon
{
rect 22,9,23,23
visible 1
background "gui::powerup0_icon"
matcolor 1,1,1,1
}
windowDef powerup0_time
{
rect 48,7,31,25
visible 1
text "gui::powerup0_time"
forecolor 0.866,0.921,0.764,1
textscale 0.4
font "fonts/chain"
}
}
windowDef powerup1
{
rect 37,330,84,38
visible "gui::powerup1_visible"
windowDef powerup1_bg
{
rect 2,0,81,42
background "gfx/guis/hud/ctf_bgbar"
visible 1
matcolor 0,0,0,1
matscalex -1
matscaley -1
}
windowDef powerup1_icon
{
rect 22,9,23,23
visible 1
background "gui::powerup1_icon"
matcolor 1,1,1,1
}
windowDef powerup1_time
{
rect 48,7,31,25
visible 1
text "gui::powerup1_time"
forecolor 0.866,0.921,0.764,1
textscale 0.4
font "fonts/chain"
}
}
windowDef powerup2
{
rect 37,295,84,38
visible "gui::powerup2_visible"
windowDef powerup2_bg
{
rect 2,0,81,42
background "gfx/guis/hud/ctf_bgbar"
visible 1
matcolor 0,0,0,1
matscalex -1
matscaley -1
}
windowDef powerup2_icon
{
rect 22,9,23,23
visible 1
background "gui::powerup2_icon"
matcolor 1,1,1,1
}
windowDef powerup2_time
{
rect 48,7,31,25
visible 1
text "gui::powerup2_time"
forecolor 0.866,0.921,0.764,1
textscale 0.4
font "fonts/chain"
}
}
windowDef powerup3
{
rect 37,260,84,38
visible "gui::powerup3_visible"
windowDef powerup3_bg
{
rect 2,0,81,42
background "gfx/guis/hud/ctf_bgbar"
visible 1
matcolor 0,0,0,1
matscalex -1
matscaley -1
}
windowDef powerup3_icon
{
rect 22,9,23,23
visible 1
background "gui::powerup3_icon"
matcolor 1,1,1,1
}
windowDef powerup3_time
{
rect 48,7,31,25
visible 1
text "gui::powerup3_time"
forecolor 0.866,0.921,0.764,1
textscale 0.4
font "fonts/chain"
}
}
}
//-----------------------
// interactive gui brackets
//-----------------------
windowDef brackets
{
visible 0
rect "gui::bracket_left" - 10, "gui::bracket_top" - 10, "gui::bracket_width" + 20, "gui::bracket_height" + 20
noclip 1
notime 1
float "alpha" 1
onTime 400 {
transition "brackets::alpha" "1" "0" 400;
}
onTime +400 {
set "visible" "0";
}
windowDef bracket_text
{
rect -50,-30,"gui::bracket_width"+120,30
text "#str_200277"
font "fonts/marine"
textalign 1
forecolor 0.686,0.870,0.564,"brackets::alpha"
textscale .25
}
windowDef left_bracket
{
rect 0,0,2,"gui::bracket_height" + 20
backcolor 0.686,0.870,0.564,"brackets::alpha"
noclip 1
windowDef lbt_prong
{
rect 2,0,5,2
backcolor 0.686,0.870,0.564,"brackets::alpha"
}
windowDef lbb_prong
{
rect 2,"gui::bracket_height"+18,5,2
backcolor 0.686,0.870,0.564,"brackets::alpha"
}
}
windowDef right_bracket
{
rect "gui::bracket_width" + 18,0,2,"gui::bracket_height" + 20
backcolor 0.686,0.870,0.564,"brackets::alpha"
visible 1
noclip 1
windowDef rbt_prong
{
rect -5,0,5,2
backcolor 0.686,0.870,0.564,"brackets::alpha"
}
windowDef rbb_prong
{
rect -5,"gui::bracket_height"+18,5,2
backcolor 0.686,0.870,0.564,"brackets::alpha"
}
}
}
//-----------------------
// temp boss bar
//-----------------------
windowDef BossBar
{
rect 218,56,190,20
notime 0
visible 0
borderColor 1,1,1,1
borderSize 2
windowDef BossHealth
{
rect 0,0,186 * "gui::boss_health" / ("gui::boss_maxhealth" + 1),16
visible 1
backcolor 0.782,0.976,0.660,1
}
}
windowDef BossShield
{
rect 194,41,239,48
notime 0
visible 0
windowDef p_lboss_shield
{
rect 0,1,118 * "gui::boss_shield_percent",47
visible 1
windowDef lboss_shield
{
rect 0,0,118,47
visible 1
background "gfx/guis/hud/tempboss_shield"
matcolor 1,0.937,0.509,1
}
}
windowDef p_rboss_shield
{
rect 120 + 118 * ( 1 - "gui::boss_shield_percent" ),1,118,47
visible 1
windowDef rboss_shield
{
rect -118 * ( 1 - "gui::boss_shield_percent" ),0,118,47
visible 1
background "gfx/guis/hud/tempboss_shield"
matcolor 1,0.937,0.509,1
matscalex -1
}
}
}
windowDef BossShieldWarn
{
rect 194,41,239,48
notime 0
visible 0
windowDef p_lboss_shieldWarn
{
rect 0,1,118 * "gui::boss_shield_percent",47
visible 1
windowDef lboss_shieldWarn
{
rect 0,0,118,47
visible 1
background "gfx/guis/hud/tempboss_shield"
matcolor 1,0.25,0.25,1*guitable_10_5[time*0.002]
}
}
windowDef p_rboss_shieldWarn
{
rect 120 + 118 * ( 1 - "gui::boss_shield_percent"),1,118,47
visible 1
windowDef rboss_shieldWarn
{
rect -118 * ( 1 - "gui::boss_shield_percent"),0,118,47
visible 1
background "gfx/guis/hud/tempboss_shield"
matcolor 1,0.25,0.25,1*guitable_10_5[time*0.002]
matscalex -1
}
}
}
//-----------------------
// temp exit level status
//-----------------------
windowDef p_exit_level
{
rect 0,0,640,75
visible 0
windowDef p_exit_text
{
rect 225,36,199,26
visible 1
forecolor 1,0.4,0,1
text "#str_200278"
textscale 0.4
font "fonts/marine"
textalign 1
}
windowDef p_exit_arr1
{
rect 261,11,130,33
visible 1
background "gfx/guis/common/arrow5"
matcolor 1,0.4,0,0.5
matscaley -1
onTime 0 {
transition "matcolor_w" ".5" "0" "1000" ;
transition "rect" "$p_exit_arr1::rect" "$p_exit_arr2::rect" "1000" "300" "300" ;
}
onTime 1000 {
resettime "0" ;
}
}
windowDef p_exit_arr2
{
rect 261,0,130,33
visible 0
background "gfx/guis/common/arrow5"
matcolor 1,1,1,1
matscaley -1
}
}
//-----------------------
// quicksave notice
//-----------------------
windowDef quicksave_msg
{
rect 0,64,640,16
visible 0
forecolor 1,1,1,1
text "#str_200908"
textscale 0.25
font "fonts/lowpixel"
textspacing 0
textalign 1
textstyle 1
onTime 2000 {
transition "forecolor_w" "1" "0" "1000" ;
}
onTime +1000 {
set "quicksave_msg::visible" "0" ;
}
}
//-----------------------
// hit indicator
//-----------------------
windowDef hit_indicator
{
rect 0,0,640,480
background "gfx/guis/hud/directional_hit"
matcolor 1,.1,.1,.7
rotate "gui::hitdir"
visible 0
notime 1
onTime 0
{
set "visible" "1";
transition "matcolor" "1,.1,.1,.7" "1,.1,.1,0" "500" ;
}
onTime +600
{
set "visible" "0";
}
}
//-----------------------
// over top black/failed text
//-----------------------
windowDef fade
{
rect 0,0,640,480
backcolor 0,0,0,0
visible 1
}
windowDef failedtext
{
rect 0,220,640,20
visible 1
forecolor 1,1,1,0
text "#str_200279"
textscale 0.5
font "fonts/marine"
textalign 1
}
//-----------------------
// animations
//-----------------------
windowDef anim_fade
{
rect 0,0,1,1
visible 1
notime 1
onTime 0 {
transition "fade::backcolor" "0,0,0,0" "0,0,0,1" "3000" ;
}
onTime 3000 {
transition "failedtext::forecolor" "1,1,1,0" "1,1,1,1" "250" ;
}
}
windowDef anim_levelExitAlert
{
rect 0,0,0.1,0.1
visible 0
notime 1
onTime 5000 {
set "p_exit_level::visible" "0";
}
}
windowDef anim_obj_in
{
rect 0,0,1,1
visible 1
notime 1
onTime 0 {
stoptransitions "anim_obj_in" ;
stoptransitions "p_objectives" ;
transition "obj_backbar::rect" "$obj_backbar::rect" "$d_obj_backbar::rect" "150" ;
transition "obj_ba::rect" "$obj_ba::rect" "$d_obj_ba::rect" "150" ;
transition "obj_b::rect" "$obj_b::rect" "$d_obj_b::rect" "150" ;
transition "obj_backbar::matcolor_w" "0" "0.8" "150" ;
transition "obj_ba::matcolor_w" "0" "0.8" "150" ;
transition "obj_b::matcolor_w" "0" "0.8" "150" ;
}
onTime +150 {
transition "obj_ba::matcolor_w" "0.8" "0.4" "100" ;
transition "obj_b::matcolor_w" "0.8" "0.4" "100" ;
transition "obj_title::forecolor_w" "0" "1" "100" ;
transition "obj_title2::forecolor_w" "0" "0.25" "100" ;
transition "obj_descript::forecolor_w" "0" "1" "100" ;
transition "obj_corner::matcolor_w" "0" "0.4" "100" ;
transition "obj_ss::matcolor_w" "0" "1" "100" ;
transition "obj_ss::bordercolor_w" "0" "1" "100" ;
}
}
windowDef anim_compobj_in
{
rect 0,0,1,1
visible 1
notime 1
onTime 0 {
stoptransitions "anim_compobj_in" ;
stoptransitions "p_compobjectives" ;
transition "compobj_backbar::rect" "$compobj_backbar::rect" "$d_compobj_backbar::rect" "150" ;
transition "compobj_ba::rect" "$compobj_ba::rect" "$d_compobj_ba::rect" "150" ;
transition "compobj_b::rect" "$compobj_b::rect" "$d_compobj_b::rect" "150" ;
transition "compobj_backbar::matcolor_w" "0" "0.8" "150" ;
transition "compobj_ba::matcolor_w" "0" "0.8" "150" ;
transition "compobj_b::matcolor_w" "0" "0.8" "150" ;
}
onTime +150 {
transition "compobj_ba::matcolor_w" "0.8" "0.4" "100" ;
transition "compobj_b::matcolor_w" "0.8" "0.4" "100" ;
transition "compobj_title::forecolor_w" "0" "1" "100" ;
transition "compobj_descript::forecolor_w" "0" "1" "100" ;
transition "compobj_corner::matcolor_w" "0" "0.4" "100" ;
}
}
windowDef anim_obj_out
{
rect 0,0,1,1
visible 1
notime 1
onTime 0 {
stoptransitions "anim_obj_in" ;
stoptransitions "anim_obj_out" ;
stoptransitions "p_objectives" ;
transition "obj_backbar::rect" "$d_obj_backbar::rect" "$obj_backbar::rect" "100" ;
transition "obj_ba::rect" "$d_obj_ba::rect" "$obj_ba::rect" "100" ;
transition "obj_b::rect" "$d_obj_b::rect" "$obj_b::rect" "100" ;
transition "obj_ba::matcolor_w" "0.8" "0" "100" ;
transition "obj_b::matcolor_w" "0.8" "0" "100" ;
transition "obj_backbar::matcolor_w" "0.8" "0" "100" ;
transition "obj_title::forecolor_w" "1" "0" "50" ;
transition "obj_title2::forecolor_w" "0.25" "00" "50" ;
transition "obj_descript::forecolor_w" "1" "0" "50" ;
transition "obj_corner::matcolor_w" "0.4" "0" "50" ;
transition "obj_ss::matcolor_w" "1" "0" "20" ;
transition "obj_ss::bordercolor_w" "1" "0" "20" ;
}
onTime +100 {
set "p_objectives::visible" "0" ;
}
}
windowDef anim_compobj_out
{
rect 0,0,1,1
visible 1
notime 1
onTime 0 {
stoptransitions "anim_compobj_in" ;
stoptransitions "anim_compobj_out" ;
stoptransitions "p_compobjectives" ;
transition "compobj_backbar::rect" "$d_compobj_backbar::rect" "$compobj_backbar::rect" "100" ;
transition "compobj_ba::rect" "$d_compobj_ba::rect" "$compobj_ba::rect" "100" ;
transition "compobj_b::rect" "$d_compobj_b::rect" "$compobj_b::rect" "100" ;
transition "compobj_ba::matcolor_w" "0.8" "0" "100" ;
transition "compobj_b::matcolor_w" "0.8" "0" "100" ;
transition "compobj_backbar::matcolor_w" "0.8" "0" "100" ;
transition "compobj_title::forecolor_w" "1" "0" "50" ;
transition "compobj_descript::forecolor_w" "1" "0" "50" ;
transition "compobj_corner::matcolor_w" "0.4" "0" "50" ;
}
onTime +100 {
set "p_compobjectives::visible" "0" ;
}
}
//-------------------------
}