Skip to content

Instantly share code, notes, and snippets.

@ecoreng
Last active May 21, 2023 23:14
Show Gist options
  • Save ecoreng/1fb8768d9ab8593cc6dd8c31491a96f8 to your computer and use it in GitHub Desktop.
Save ecoreng/1fb8768d9ab8593cc6dd8c31491a96f8 to your computer and use it in GitHub Desktop.
sample
[variable]
name='speed'
value=''+[DataCorePlugin.TurboLevel]+'%'
[variable]
name='currentGear'
value=[DataCorePlugin.GameData.NewData.Gear]
[variable]
name='label'
value='S:'
[variable]
name='label2'
value='R:'
[variable]
name='label3'
value='T:'
[variable]
name='progress'
value=50
; Rectangle under the gear indicator
[rectangle]
id=1
x=0
y=0
width=40
height=64
color=1
cornerRadius=0
visible=1
[text]
text=[context.label]
id=2
x=42
y=37
color=1
[progressbar]
value=[context.progress]
id=3
x=54
y=37
width=72
height=7
color=1
visible=1
minValue=0
maxValue=100
reverse=0
vertical=0
[text]
text=[context.label2]
id=4
x=42
y=46
color=1
; This is faking a progress bar
[rectangle]
id=5
x=54
y=46
width=20
height=7
color=1
cornerRadius=0
visible=1
[text]
text=[context.label3]
id=6
x=42
y=55
color=1
; This is faking a progress bar
[rectangle]
id=7
x=54
y=55
width=56
height=7
color=1
cornerRadius=0
visible=1
[line]
id=8
x=40
y=33
x2=128
y2=33
color=1
visible=1
[text]
text=[context.currentGear]
id=9
fontType=2
fontSize=2
align=3
visible=1
color=0
x=33
y=56
[text]
text=[context.speed]
id=10
fontType=0
fontSize=4
color=1
align=3
verticalAlign=1
x=117
y=2
visible=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment