Blame | Last modification | View Log | RSS feed
// Varibles to use, sent via X3 Scripts
Varible: V1
// Display the gui for set time, in ms
DisplayFor: 10000
// Size of the gui window
Size: 500, 300
Sound: 8000, Overlay/Jaguar.wav
Input {
// allow a mouse cursor (without this, the mouse will not be used)
MouseCursor: default;
// This prevents the mouse in game from working while the gui is active
HaltMouse;
// This will contain the mouse cursor inside the the gui window
ContainMouse;
}
// Border object, used to create the border around the gui
Border {
// Display texture for the border, split into 9 sections
Texture: "Overlay/border.stx";
// fade in the border, number in ms
FadeIn: 600;
// Include this to make all child object fade with the border
FadeAllObjects;
}
// Text object, display Small text
TextLarge {
Pos: 1, 10;
Length: $GUI.SIZEX$;
Font: Ariel;
Align: Center;
Text: "Menu";
Colour: 0, 0, 255;
}
TextSmall {
Pos: 1, 100;
Length: $GUI.SIZEX$;
Font: Ariel;
Align: Center;
Text: "Menu Option 1";
Colour: 255, 0, 0;
// The mouse over event is triggered when the mouse hovers over the object bounds
MouseOver {
Colour: 255, 255, 0;
// Sound: "click.wav";
}
}
TextSmall {
Pos: 1, 130;
Length: $GUI.SIZEX$;
Font: Ariel;
Align: Center;
Text: "Menu Option 2";
Colour: 255, 0, 0;
// The mouse over event is triggered when the mouse hovers over the object bounds
MouseOver {
Colour: 255, 255, 0;
// Sound: "click.wav";
}
}
TextSmall {
Pos: 1, 160;
Length: $GUI.SIZEX$;
Font: Ariel;
Align: Center;
Text: "Menu Option 3";
Colour: 255, 0, 0;
// The mouse over event is triggered when the mouse hovers over the object bounds
MouseOver {
Colour: 255, 255, 0;
Sound: "Overlay/click.wav";
}
}