Skip to content

Commit

Permalink
Adding FZ version of introscreen.mdl
Browse files Browse the repository at this point in the history
  • Loading branch information
BackTrak committed Aug 6, 2017
1 parent 48aca8c commit 091ab2e
Showing 1 changed file with 137 additions and 0 deletions.
137 changes: 137 additions & 0 deletions introscreen_fz.mdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
//USEAZ1
//Dont remove the above line, the installer looks for it to determine existing compatable artwork
//

use "gamepanes";
use "introscreendata";
use "font";

/////////////////////////////////////////////////////////////////////////////
//
// Intro Screen
//
/////////////////////////////////////////////////////////////////////////////

//
// Normal buttons
//

//gamesButtonPane = ButtonPane(ImportImage("btnmaingamesbmp", false), ButtonFaceDown, false);

trainBigButtonPane = ButtonPane(ImportImage("btnmaintrainbigbmp", true), ButtonNormal, false);

playLanButtonPane = ButtonPane(ImportImage("btnmainplaylanbmp", true), ButtonNormal, false);
playIntButtonPane = ButtonPane(ImportImage("btnmainplayintbmp", true), ButtonNormal, false);
zoneClubButtonPane = ButtonPane(ImportImage("btnmainplayzonebmp", true), ButtonNormal, false);

//trainButtonPane = ButtonPane(ImportImage("btnmaintrainbmp", true), ButtonNormal, false);
zoneWebButtonPane = ButtonPane(ImportImage("btnmainzonewebbmp", true), ButtonNormal, false);
optionsButtonPane = ButtonPane(ImportImage("btnmainkeyconbmp", true), ButtonNormal, false);
introButtonPane = ButtonPane(ImportImage("btnmainintrobmp", true), ButtonNormal, false);
creditsButtonPane = ButtonPane(ImportImage("btnmaincreditsbmp", true), ButtonNormal, false);
quickstartButtonPane = ButtonPane(ImportImage("btnmainquickstartbmp", true), ButtonNormal, false);

exitButtonPane = ButtonPane(ImportImage("btnmainexitbmp", true), ButtonNormal, false);
helpButtonPane = ButtonPane(ImportImage("btnhelpbmp", true), ButtonNormal, false);

//
// Mouseoer Help Text
//

hoverInfoString =
SwitchString(
CurrentHover,
emptyString,
[
( hoverPlayLan , "Play a free game on a private server located on a LAN." ),
( hoverPlayInt , "Play a free game on a public server listed on the Allegiance Zone." ),
//( hoverZoneClub , "Play a ranked game as a member of the Allegiance Zone."),
( hoverTrain , "Play a training mission." ),
( hoverZoneWeb , "Connect to the Allegiance Web page for the latest Allegiance information, including event schedules, strategies, and help." ),
( hoverOptions , "Customize the graphics, sound, and controls in Allegiance." ),
( hoverIntro , "Replay the Allegiance introductory video."),
( hoverCredits , "View the names of those who created Allegiance." ),
( hoverQuickstart, "Immediately connect to a game." ),
( hoverHelp , "View the in-game Help display." ),
( hoverExit , "Quit Allegiance." )
]
);

hoverTextColor = Color(0.75, 0.75, 0.75);
hoverTextFont = smallFont;
hoverInfoImage = StringImage(JustifyLeft, 230, hoverTextFont, hoverTextColor, hoverInfoString);
hoverInfoPane = AnimatedImagePaneRect(hoverInfoImage, Rect(0, -50, 230, 0));


// KGJV test
geoPosition = Point(0, 0);
geoSize = Point(800, 500);
geoModel = "alleglogo"; // TODO need a cool 3D logo

// bkground image.
//bkImage = ImportImage("mainbkgndbmp", false);
// mmf 11/07 new background screen
bkImage = ImportImage("mainbkgnd2bmp", false);

//
// The background and control positions
//

screen =
ScreenPane(
bgImage, // use bgImage if 3D introscreen enable
[
//(gamesButtonPane, Point(251, 506)),

(trainBigButtonPane, Point( 9, 535)),

(zoneClubButtonPane, Point( 86, 535)),
(playIntButtonPane, Point(151, 535)),
(playLanButtonPane, Point(217, 535)),

(introButtonPane, Point(290, 553)),
(zoneWebButtonPane, Point(290, 568)),

(creditsButtonPane, Point(355, 553)),
(optionsButtonPane, Point(355, 568)),

(exitButtonPane, Point(420, 553)),
(helpButtonPane, Point(420, 568)),

(hoverInfoPane, Point(560, 550))

]
);


//////////////////////////////////////////////////////////////////////////
//
// Find server dialog
//
//////////////////////////////////////////////////////////////////////////

// serverEditPane = EditPane(Point(322, 18), largeFont);
// serverFindButtonPane = ButtonPane(ImportImage("btnfindbmp", true), ButtonNormal, false);
serverJoinButtonPane = ButtonPane(ImportImage("btnjoin3bmp", true), ButtonNormal, false);
serverCancelButtonPane = ButtonPane(ImportImage("btnabortbmp", true), ButtonNormal, false);
serverScrollBar = ScrollBarPane(Point(14, 164));
serverListWidth = 310;
serverListGameNameX = 100;
serverListPane = ListWithScrollBarPane(Point(serverListWidth, 162), serverScrollBar);

ServerDialog =
(
ImagePane(
ImportImage("findserverdialogbmp", false),
[
// (serverEditPane, Point( 31, 62)),
// (serverFindButtonPane, Point(375, 60)),

(serverScrollBar, Point(338,63)),
(serverListPane, Point( 28,65)),

(serverJoinButtonPane, Point(375,60)),
(serverCancelButtonPane, Point(375,110))
]
)
);

0 comments on commit 091ab2e

Please sign in to comment.