home *** CD-ROM | disk | FTP | other *** search
Wrap
#include "ui/menudef.h" { assetGlobalDef { font "fonts/font" 16 // font smallFont "fonts/smallfont" 12 // font bigFont "fonts/bigfont" 20 // font cursor "ui/assets/3_cursor3" // cursor gradientBar "ui/sidrial/hilight.tga" // gradient bar fadeClamp 2.0 // sets the fadeup alpha fadeCycle 4 // how often fade happens in milliseconds fadeAmount 2 // amount to adjust alpha per cycle shadowColor 0.1 0.1 0.1 0.25 // shadow color } menuDef { name "newsingleplayer" style 3 background "blank" fullScreen MENU_TRUE rect 0 0 640 480 // Size and position of the menu visible MENU_TRUE // Visible on open focusColor 1 1 1 1 // Menu focus color for text and items onOpen { setitemcolor fadebox backcolor 0 0 0 1 ; playlooped "music/SidrialMusic_ui.wav" ; fadeout fadebox ; show format; uiScript stopRefresh ; } onEsc { close newsingleplayer ; open singleplayer; } itemDef { //this is cuz roqs have problems being first on list name foo style 2 rect 0 0 0 0 visible 1 } itemDef { name cinematic style 5 cinematic "video/sidrial/sp1_intro.roq" rect 0 0 640 480 decoration visible 1 } itemDef { name format // Layout style 3 background "filter" backcolor .25 .5 .75 .75 rect 0 0 640 480 visible 1 decoration } itemDef { name format style 3 rect 0 0 640 480 background "ui/sidrial/sub/white_bar.tga" backcolor 0 0 0 0 forecolor 1 1 1 1 visible 0 decoration } itemDef { name format // Layout style 3 background "sub_swooshb" backcolor 0 0 0 0 forecolor 1 1 1 1 rect 0 0 640 480 visible 0 decoration } itemDef { name singleplayer group icon style 3 rect 580 40 40 40 background "ui/sidrial/icon_singleplayer.tga" backcolor 0 0 0 0 forecolor 1 1 1 1 visible 1 decoration } itemDef { name subtitle group words type 0 text "Adisis Factory" style 0 textstyle 6 rect 500 40 80 40 forecolor .66 1 0 1 textalignx 75 textaligny 27 textalign 2 textscale .4 visible 1 decoration } itemDef { name title style 3 rect 10 5 256 32 background "ui/sidrial/text_singleplayer.tga" backcolor 0 0 0 0 forecolor 1 1 1 1 visible 1 decoration } itemDef { name backbar group Bar style 2 rect 20 420 210 40 backcolor .66 1 0 .7 border 0 visible 0 action { close newsingleplayer ; open singleplayer } } itemDef { name back group icon style 3 rect 15 420 40 40 background "ui/sidrial/sub/icon_left.tga" backcolor 0 0 0 0 forecolor 1 1 1 1 visible 1 decoration action { close newsingleplayer ; open singleplayer } } itemDef { name back group words type 1 text "Back" style 0 textstyle 6 rect 15 420 150 40 forecolor .66 1 0 1 textalignx 45 textaligny 25 textalign 0 textscale .4 visible 1 mouseEnter { transition backbar 20 440 196 0 20 420 196 40 20 5 ; fadein message_back;} mouseExit { transition backbar 20 420 196 40 20 440 196 0 20 5 ; fadeout message_back;} action { close newsingleplayer ; open singleplayer } } itemDef { name continuebar group continue style 2 rect 405 420 -210 40 backcolor .66 1 0 .7 border 0 visible 0 action { uiScript StartSP sidrialsp1; } } itemDef { name icon group continue style 3 rect 585 420 40 40 background "ui/sidrial/sub/icon_right.tga" backcolor 0 0 0 0 forecolor 1 1 1 1 visible 1 decoration action { uiScript StartSP sidrialsp1; } } itemDef { name continuewords group words type 1 text "Continue" style 0 textstyle 6 rect 485 420 150 40 forecolor .66 1 0 1 textalignx 15 textaligny 25 textalign 0 textscale .4 visible 1 mouseEnter { transition continuebar 405 440 -210 0 405 420 -210 40 20 5 ; fadein message_accept; } mouseExit { transition continuebar 405 420 -210 40 405 440 -210 0 20 5 ; fadeout message_accept;} action { uiScript StartSP sidrialsp1; } } itemDef { name mission type 1 text "Mission Briefing:" style 0 rect 50 100 150 25 forecolor .66 1 0 1 textalignx 5 textaligny 20 textalign 0 textscale .4 visible 1 decoration } itemDef { name mission rect 55 135 500 300 style 0 wrapped text "Your mission, as one of the top Sidrilian Rebels, is to safely bring back\ra Data Sphere containing important blueprints and other intelligence\rfrom the enemy base to Sidrilian headquarters. You will begin your\rjourney in a section of Adisis that is unguarded due to its secure nature\r- only top officials have access and not even the Overlord Guards dare\rcross it. It is the underbelly of the enemy city - guarded by machinery,\rtraps, and toxic fluids that make entry and escape impossible for those\rwithout knowledge of the layout. For those few who know the layout,\rtheir memory serves as their only tool for safe navigation - the only\rblueprints in existence were thought to have been destroyed long ago,\rbut new intelligence suggests the blueprints may be in the Data" textstyle 6 textalign 55 textscale .3 // textalignx 55 textalignx 0 textaligny 10 visible 1 forecolor 1 1 1 1 decoration } itemDef { name mission rect 55 332 500 300 style 0 wrapped text "Sphere. You will need these blueprints to guide you in your escape, but\reven with them, your chances are slim. An insider sympathetic to the\rrebel cause will get you into the factory, but the access way must be\rre-sealed behind you to cover your tracks. It is up to you to find another\rway out." textstyle 6 textalign 55 textscale .3 textaligny 10 visible 1 forecolor 1 1 1 1 decoration } // MESSAGES // itemDef { name message_back group grpmessage style 0 rect 320 420 128 30 textalign 1 textstyle 6 textalignx 0 textaligny 25 textscale .3 text "Back to Single Player Main" forecolor 1 1 1 1 decoration visible 0 } itemDef { name message_accept group grpmessage style 0 rect 320 420 128 30 textalign 1 textalignx 0 textstyle 6 textaligny 25 textscale .3 text "Play Sidrial" forecolor 1 1 1 1 decoration visible 0 } itemDef { name fadebox // Box for fading in menus style WINDOW_STYLE_FILLED background "ui/sidrial/fadebox.tga" forecolor 0 0 0 1 backcolor 0 0 0 1 rect 0 0 640 480 visible 1 decoration } } }