Blame | Last modification | View Log | RSS feed
// Varibles to use, sent via X3 ScriptsVarible: V1// Display the gui for set time, in msDisplayFor: 10000// Size of the gui windowSize: 500, 300Sound: 8000, Overlay/Jaguar.wavInput {// 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 activeHaltMouse;// This will contain the mouse cursor inside the the gui windowContainMouse;}// Border object, used to create the border around the guiBorder {// Display texture for the border, split into 9 sectionsTexture: "Overlay/border.stx";// fade in the border, number in msFadeIn: 600;// Include this to make all child object fade with the borderFadeAllObjects;}// Text object, display Small textTextLarge {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 boundsMouseOver {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 boundsMouseOver {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 boundsMouseOver {Colour: 255, 255, 0;Sound: "Overlay/click.wav";}}