Subversion Repositories spk

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
11 cycrow 1
// Varibles to use, sent via X3 Scripts
2
Varible: V1
3
 
4
// Display the gui for set time, in ms
5
DisplayFor: 10000 
6
 
7
// Size of the gui window
8
Size: 500, 300 
9
 
10
Sound: 8000, Overlay/Jaguar.wav
11
 
12
Input {
13
	// allow a mouse cursor (without this, the mouse will not be used)
14
	MouseCursor: default;
15
 
16
	// This prevents the mouse in game from working while the gui is active
17
	HaltMouse;
18
 
19
	// This will contain the mouse cursor inside the the gui window
20
	ContainMouse;
21
}
22
 
23
// Border object, used to create the border around the gui
24
Border { 
25
	// Display texture for the border, split into 9 sections
26
	Texture: "Overlay/border.stx"; 
27
 
28
	// fade in the border, number in ms
29
	FadeIn: 600; 
30
 
31
	// Include this to make all child object fade with the border
32
	FadeAllObjects;
33
}
34
 
35
// Text object, display Small text
36
TextLarge {
37
	Pos: 1, 10; 
38
	Length: $GUI.SIZEX$; 
39
	Font: Ariel; 
40
	Align: Center; 
41
	Text: "Menu"; 
42
	Colour: 0, 0, 255;
43
}
44
 
45
TextSmall {
46
	Pos: 1, 100; 
47
	Length: $GUI.SIZEX$; 
48
	Font: Ariel; 
49
	Align: Center; 
50
	Text: "Menu Option 1"; 
51
	Colour: 255, 0, 0;
52
 
53
	// The mouse over event is triggered when the mouse hovers over the object bounds
54
	MouseOver {
55
		Colour: 255, 255, 0;
56
//		Sound: "click.wav";
57
	}
58
}
59
 
60
TextSmall {
61
	Pos: 1, 130; 
62
	Length: $GUI.SIZEX$; 
63
	Font: Ariel; 
64
	Align: Center; 
65
	Text: "Menu Option 2"; 
66
	Colour: 255, 0, 0;
67
 
68
	// The mouse over event is triggered when the mouse hovers over the object bounds
69
	MouseOver {
70
		Colour: 255, 255, 0;
71
//		Sound: "click.wav";
72
	}
73
}
74
 
75
TextSmall {
76
	Pos: 1, 160; 
77
	Length: $GUI.SIZEX$; 
78
	Font: Ariel; 
79
	Align: Center; 
80
	Text: "Menu Option 3"; 
81
	Colour: 255, 0, 0;
82
 
83
	// The mouse over event is triggered when the mouse hovers over the object bounds
84
	MouseOver {
85
		Colour: 255, 255, 0;
86
		Sound: "Overlay/click.wav";
87
	}
88
}