home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 September
/
Gamestar_65_2004-09_dvd.iso
/
Dema
/
balloonrain_trial.exe
/
Data
/
Pak01.pak
/
menu
/
main.menu
< prev
next >
Wrap
Text File
|
2004-06-22
|
4KB
|
212 lines
// ==> menu mini-doc <===
// Global.def is loaded before anything
// Main.Menu is the root game menu
// InGame.Menu is the root in-game menu
// HUD.Menu is the HUD (HudMulti.Menu for Multiplayer)
// EndGame.Menu is for end of game (EndGameMulti.Menu for Multiplayer)
// *** Coordinates are expressed for a 640x480 screen ***
// They'll be automatically scaled by the engine for bigger/smaller screen
//====> global commands :
// Include <FileName>
// def <VarName> <Value>
// Font <Name> <Shader> <Width> <Height> <Color> <BackgroundColor> [ShaderBg] [JustifyH] [JustifyV] [Shadow [value]]
// (--> chaque nouvelle fonte est initialisΘe avec les params de la 1Φre fonte dΘfinie <--)
// FontSize <Name> <Width> <Height>
// Background <Shader> [x y width height]
// Background #PreviousMenu
// BlockRant
// CamNoRotation
// RantPrevious
// AllowPreview
// GetFullVersion [x y] [left|center|right] [up|center|down]
// NoGetFullVersion
// Item [Name]
//====> item commands :
// Pos <x> <y> [left|center|right] [up|center|down]
// Add <VarName> <Valuel | [-]VarName>
// Text <Code>
// MaxTextPixelPerLine <Value>
// UnSelectable
// DefaultBack [Time]
// Font <Name>
// Color <0xAARRGGBB> (α spΘcifier aprΦs Font)
// Selected
// SelectedOnEnter
// Invisible
// Help
// Image <ShaderName> <Width Height | AutoSize>
// CheckButton [ <On> <Off> ] [ #Action#n | <Ini> ]
// SlideButton [ #% | #Num | #Text | <Bar> <Slider> ] [ #Action#n ]
// CycleButton [ #% | #Num | #Text | <Bar> <Slider> ] [ #Action#n ]
// PressButton [ #% | #Num | #Text | <Bar> <Slider> ] [ #Action#n ]
// ShowIf <Ini> <Min> [Max]
// SubMenu <Menu> [Ini] [Number]
// SubMenuIf <Ini> <Min> <Max> <Menu> [Ini] [Number]
// PreviewArena
// PreviewStatArena
// Hiscore <x y w h>
// StatRecord <x y width height> <#Score | #Average | #Time>
// ZoneLevel <x y w h> <NbZoneAtFirst NbColumn>
// OnAction
// OnActionIf <Ini> <String>
//===> actions :
// SetCfg <Ini> <String> [SelectIf] [Apply]
// ToggleCfg <Ini> [Apply]
// SlideCfg <Ini> <Min> <Max> <NbStep> [Apply]
// StringCfg <Ini> <NbString>
// NumberCfg <Ini> <num1> <num2> [num3 [num4 [num5]]] [Apply]
// menu <name>
// StartGame
// MenuBack
// Exit
// Select <ItemName>
// SelectNext
//===> Variables :
// #MaxAnisotropicLevel
// #NbLevel (for current Game/Arena)
// #NbPlayer
// #NbStatLevel (for current Stat/Mode)
Include Menu.Def
Font Huge HugeTitle 30 48 0xFFFF7F3F 0x7F000000 Shadow 0
Font Small HugeChars 12 16 0xFF000000 0x7FFFFFFF Shadow 0
def x 320
def y 70
def dy 48
item
{
Text MHOB
Font Huge
Pos x y
Add y 40
//Add y dy
//Add y dy
OnAction
{
PreviewArena OnEnter
}
UnSelectable
}
item
{
Text FullMHOB
Font Small
Pos x y
Add y 60
}
item
{
Text NewGame
Pos x y
Add y dy
OnAction
{
SetCfg /Game/NbPlayers 1
menu NewGame
}
}
item
{
Text Multiplayer
Pos x y
Add y dy
OnActionIf /Intern/Trial 1
{
SetCfg /Game/StartLevel 4
SetCfg /Intern/LimitDiff 1
}
OnActionIf /Intern/Trial 0
{
SetCfg /Intern/LimitDiff 0
}
OnAction
{
SetCfg /Intern/MaxStagePerZone 0
SetCfg /Game/ExtCombi 1
SetCfg /Intern/NewGame 1
SetCfg /Intern/LevelDemo No
SetCfg /Game/GameMode 1
SetCfg /Game/Class 1
SetCfg /Game/Life 0
SetCfg /Game/Arena Survivor_01
SetCfg /Intern/AllowNoTimeLimit 0
menu Multiplayer
}
}
item
{
Text Options
Pos x y
Add y dy
OnAction
{
menu Options
}
}
item
{
Text Demo
Pos x y
Add y dy
OnAction
{
menu Demo
}
}
item
{
Text Credits
Pos x y
Add y dy
OnAction
{
menu Credits
}
}
item
{
Text Exit
Add y 16
Pos x y
Add y dy
OnAction
{
menu Quit
}
}
//item
//{
// Pos 600 440
// Image IdIcon 32 32
// Add y dy
//}
GetFullVersion 575 470 Center Down
item
{
Pos 0 0
Image Menu/Intro 640 480
Life 1.5
}