-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathLoadingScreen.ext
152 lines (138 loc) · 2.71 KB
/
LoadingScreen.ext
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
// ======================
// Loading screen related
// ======================
#ifndef LOADSCREENTEXT
#define LOADSCREEN "img\loading_CO.paa"
#endif
#ifndef LOADSCREENTEXT
#define LOADSCREENTEXT "Mission text missing"
#endif
#ifndef _RSCTEXT_DEFINED
class RscText
{
#define _RSCTEXT_DEFINED 1
type = 0;
idc = -1;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
style = 0x100;
font = PuristaMedium;
SizeEx = 0.03921;
colorText[] = {1,1,1,1};
colorBackground[] = {0, 0, 0, 0};
linespacing = 1;
shadow = 0;
};
#endif
#ifndef _RSCACTIVETEXT_DEFINED
class RscActiveText
{
#define _RSCACTIVETEXT_DEFINED 1
access=0;
type=11;
style=2;
h=0.050000;
w=0.150000;
font="TahomaB";
sizeEx=0.040000;
color[]={1,1,1,1};
colorActive[]={1,0.500000,0,1};
soundEnter[]={"",0.100000,1};
soundPush[]={"",0.100000,1};
soundClick[]={"",0.100000,1};
soundEscape[]={"",0.100000,1};
text="";
default=0;
shadow = 0;
};
#endif
#ifndef _RSCPICTURE_DEFINED
class RscPicture
{
#define _RSCPICTURE_DEFINED 1
access=0;
type=0;
idc=-1;
style=48;
colorBackground[]={0,0,0,0};
colorText[]={1,1,1,1};
font="TahomaB";
sizeEx=0;
lineSpacing=0;
text="";
shadow = 0;
};
#endif
class RscLoadingText : RscText
{
x = SafezoneX+0.025;
y = SafezoneY;
w = SafezoneW*0.95;
h = SafezoneH*0.075;
sizeEx = 0.05;
text = "";
colorText[] = {1,1,0.8,1};
shadow = 2;
};
class RscProgress
{
idc = 104;
type = 8;
style = 0;
shadow = 2;
colorFrame[] = {0,0,0,0};
colorBar[] = {1,1,1,1};
x = (SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.5/2/4)*3*SafezoneH;
y = SafezoneY+SafezoneH*0.95;
w =0.5* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH);
h = 0.0261438;
};
class RscLoadingBg : RscText
{
x = SafeZoneXAbs;
y = safezoneY;
w = SafeZoneWAbs;
h = safezoneH;
text = "";
colorText[] = {0,0,0,0};
colorBackground[] = {0,0,0,1};
};
class RscLoadingPicture: RscPicture
{
style = 48 + 0x800; // Keep aspect ratio
x = SafezoneX;
y = SafezoneY+SafezoneH*0.075;
w = SafezoneW;
h = SafezoneH*0.85;
text = "";
};
class RscLoadScreenCustom
{
idd = -1;
duration = 10e10;
fadein = 0;
fadeout = 0;
name = "Loading Screen";
class ControlsBackground
{
class Loading_BG : RscLoadingBg
{
};
class Loading_CE2 : RscLoadingPicture
{
text = LOADSCREEN;
};
};
class controls
{
class Title1 : RscLoadingText
{
text = LOADSCREENTEXT;
};
class CA_Progress : RscProgress
{
};
};
};