Skip to content

Commit 00f6e1b

Browse files
committed
Add the MFD 60x30 docking page
1 parent 3acdf71 commit 00f6e1b

1 file changed

Lines changed: 187 additions & 0 deletions

File tree

GameData/MOARdV/MAS_ASET/ALCORMFD60x30/MFD60x30/ALCOR_MFD60x30_Docking.cfg

Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,198 @@ MAS_PAGE
1717
// LEFT = 15
1818
// RIGHT = 16
1919
// Zoom In = 17
20+
softkey = 17, fc.AddFoV(fc.GetPersistentAsNumber("%AUTOID%-PodCam"), 5)
2021
// Zoom Out = 18
22+
softkey = 18, fc.AddFoV(fc.GetPersistentAsNumber("%AUTOID%-PodCam"), -5)
2123
// HOME = 19
2224

25+
CAMERA
26+
{
27+
name = Camera
28+
position = 0,32
29+
size = 960, 960
30+
camera = fc.ActiveDockingPortCamera()
31+
}
32+
IMAGE
33+
{
34+
texture = ASET/ASET_Props/MFDs/ALCORMFD40x20/cross
35+
position = 0, 32
36+
size = 960, 960
37+
}
38+
2339
SUB_PAGE
2440
{
2541
name = ALCOR60x30 Menu
2642
}
43+
44+
TEXT
45+
{
46+
name = target info
47+
position = 0,1
48+
text = TARGET<=0=>: [#FFFF00FF]<=1=> $#$ fc.Select(fc.TargetType() == 3, " BODY", ""); fc.TargetName()
49+
variable = fc.TargetType()
50+
}
51+
TEXT
52+
{
53+
name = dock camera caption
54+
position = 48, 1
55+
textColor = 255, 255, 0, 255
56+
text = DOCKPORT CAM
57+
variable = fc.ActiveDockingPortCameraIndex() >= 0
58+
}
59+
60+
TEXT
61+
{
62+
name = upper captions
63+
position = 0,2
64+
text = APPR.:$$$ DIST:$$$R.VEL:$$$R.INC:
65+
variable = fc.TargetType()
66+
}
67+
TEXT
68+
{
69+
name = upper values
70+
position = 7, 2
71+
textColor = 255, 255, 0, 255
72+
text = <=0,7:SIP##0.0=>m/s $#$ fc.ApproachSpeed()$$$<=0,7:SIP##0.0=>m $#$ fc.TargetDistance()$$$<=0,7:SIP##0.0=>m/s $#$ fc.TargetSpeed()$$$<=0,7:0.000=>° $#$ fc.TargetRelativeInclination()
73+
variable = fc.TargetType()
74+
}
75+
TEXT
76+
{
77+
name = docking alignment
78+
position = 46, 2
79+
text = R.ANGLES$$$<=0=>X:$#$ fc.Select(fc.Abs(fc.YawDockingAlignment()) < 1, "", "[#ff0000]")$$$<=0=>Y:$#$fc.Select(fc.Abs(fc.PitchDockingAlignment()) < 1, "", "[#ff0000]")
80+
variable = fc.TargetType() == 2
81+
}
82+
TEXT
83+
{
84+
name = docking alignment
85+
position = 49, 3
86+
textColor = 255, 255, 0, 255
87+
text = <=0,6:0.0=>°$#$fc.YawDockingAlignment()$$$<=0,6:0.0=>°$#$fc.PitchDockingAlignment()
88+
variable = fc.TargetType() == 2
89+
}
90+
91+
TEXT
92+
{
93+
name = Reference Dock
94+
position = 14, 11
95+
text = Please select a docking port as
96+
variable = 1 - fc.GetDockIsReference()
97+
}
98+
99+
TEXT
100+
{
101+
name = Reference Dock
102+
position = 17, 12
103+
text = reference part in target
104+
variable = 1 - fc.GetDockIsReference()
105+
}
106+
107+
TEXT
108+
{
109+
name = docking ready
110+
position = 1, 11
111+
textColor = 0, 255, 0, 255
112+
text = READY FOR$$$DOCKING
113+
variable = fc.GetPersistentAsNumber("ALCOR_FINALAPPROACH")
114+
}
115+
116+
TEXT
117+
{
118+
name = Reference Dock
119+
position = 20, 13
120+
text = management menu.
121+
variable = 1 - fc.GetDockIsReference()
122+
}
123+
124+
TEXT
125+
{
126+
name = appr angle
127+
position = 1, 9
128+
textColor = 255, 0, 0, 255
129+
text = WRONG ANGLE
130+
variable = fc.Abs(fc.YawDockingAlignment()) > 1 or fc.Abs(fc.PitchDockingAlignment()) > 1
131+
}
132+
133+
TEXT
134+
{
135+
name = no target
136+
position = 26, 1
137+
textColor = 255, 255, 0, 255
138+
text = NO TARGET
139+
variable = fc.TargetType() == 0
140+
}
141+
TEXT
142+
{
143+
name = appr speed
144+
position = 1, 10
145+
textColor = 255, 0, 0, 255
146+
text = TOO FAST
147+
variable = fc.TargetType() > 0 and fc.TargetSpeed() > 2.5 and fc.TargetDistance() < 15
148+
}
149+
150+
TEXT
151+
{
152+
name = docking markers a
153+
position = 27.5, 19.5
154+
textColor = 255, 0, 0, 120
155+
text = [@x-<=0:0=>][@y-<=0:0=>]┘ [@x<=0=>][@y-<=0=>]└ $#$ 0 ; fc.Min(fc.TargetAngle(), 100)
156+
variable = fc.TargetType()
157+
}
158+
TEXT
159+
{
160+
name = docking markers b
161+
position = 27.5, 21.5
162+
textColor = 255, 0, 0, 120
163+
text = [@x-<=0:0=>][@y<=0:0=>]┐ [@x<=0:0=>][@y<=0:0=>]┌ $#$ 0 ; fc.Min(fc.TargetAngle(), 100)
164+
variable = fc.TargetType()
165+
}
166+
167+
TEXT
168+
{
169+
name = target track fixed texts a
170+
position = 0,25
171+
textColor = 255, 255, 255, 255
172+
text = REL.VEL$$$X:$$$Y:$$$Z:
173+
variable = fc.TargetType() == 1 or fc.TargetType() == 2 or fc.TargetType() == 5
174+
}
175+
TEXT
176+
{
177+
name = target track fixed texts b
178+
position = 46,25
179+
textColor = 255, 255, 255, 255
180+
text = REL.DIST$$$X:$$$Y:$$$Z:
181+
variable = fc.TargetType() == 1 or fc.TargetType() == 2 or fc.TargetType() == 5
182+
}
183+
184+
TEXT
185+
{
186+
name = target displacement
187+
position = 48,26
188+
textColor = 255, 255, 0, 255
189+
text = <=0,8:SIP##0.0=>m $#$ fc.TargetDistanceX() $$$<=0,8:SIP##0.0=>m $#$ fc.TargetDistanceY()$$$<=0,8:SIP##0.0=>m $#$ fc.TargetDistanceZ()
190+
variable = fc.TargetType() == 1 or fc.TargetType() == 2 or fc.TargetType() == 5
191+
}
192+
193+
TEXT
194+
{
195+
name = target speed
196+
position = 2,26
197+
textColor = 255, 255, 0, 255
198+
text = <=0,7:SIP##0.0=>m/s $#$ fc.TargetVelocityX() $$$<=0,7:SIP##0.0=>m/s $#$ fc.TargetVelocityY()$$$<=0,7:SIP##0.0=>m/s $#$ fc.TargetVelocityZ()
199+
variable = fc.TargetType() == 1 or fc.TargetType() == 2 or fc.TargetType() == 5
200+
}
201+
202+
TEXT
203+
{
204+
name = lower row
205+
position = 0, 29
206+
text =____________________________________________________________$$$SAS:<=0,6=>[#ffffff]| RCS:<=1,6=>[#ffffff]| $#$ fc.Select(fc.GetSAS(), "[#00ff00]ACTIVE", "[#ff0000]OFF "); fc.Select(fc.GetRCS(), "[#00ff00]ACTIVE", "[#ff0000]OFF ")
207+
}
208+
TEXT
209+
{
210+
name = monoprop
211+
position = 24,30
212+
text = <=0:###0.00=> $#$ fc.ResourceStageCurrent("MonoPropellant")
213+
}
27214
}

0 commit comments

Comments
 (0)