Created
September 26, 2019 03:45
-
-
Save meepen/2f9c2af9eccf8e4aefcd9a5a7478fa9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "SpectatingOverlay", | |
"type": "ttt_curve_outline", | |
"pos": [0.5, 0.1, 0], | |
"size": [0.22, 0.04], | |
"curve": 0.005, | |
"bg_color": [154, 153, 153], | |
"outline_color": [230, 230, 230], | |
"disappear_no_target": true, | |
"children": [ | |
{ | |
"name": "SpectatorText", | |
"type": "ttt_text", | |
"color": "white", | |
"text": [ | |
"Spectating %s", | |
"target_name" | |
], | |
"font": { | |
"size": 0.024, | |
"font": "Lato", | |
"weight": 1000 | |
}, | |
"dock": "fill" | |
} | |
] | |
}, | |
{ | |
"name": "HealthBackground", | |
"type": "ttt_curve", | |
"bg_color": "black_bg", | |
"pos": [0.12, 0.9, 1], | |
"size": [0.22, 0.04], | |
"curve": 0.005, | |
"children": [ | |
{ | |
"name": "HealthBar", | |
"type": "ttt_curve_outline", | |
"bg_color": { | |
"func": "lerp", | |
"frac": "health_frac", | |
"points": [ | |
[200, 49, 59], | |
[153, 129, 6], | |
[59, 171, 91] | |
] | |
}, | |
"outline_color": "white", | |
"dock": "fill", | |
"frac": "health_frac", | |
"curve": 0.005, | |
"children": [ | |
{ | |
"name": "HealthText", | |
"type": "ttt_text", | |
"color": "white", | |
"text": [ | |
"%i / %i", | |
"health", | |
"health_max" | |
], | |
"font": { | |
"size": 0.024, | |
"font": "Lato", | |
"weight": 1000 | |
}, | |
"dock": "fill" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"name": "RoleAndTimeBar", | |
"type": "ttt_curve_outline", | |
"pos": [0.12, 0.95, 0], | |
"size": [0.22, 0.04], | |
"curve": 0.005, | |
"bg_color": "role", | |
"outline_color": [230, 230, 230], | |
"padding": [0.15, 0, 0.15, 0], | |
"children": [ | |
{ | |
"name": "TimeText", | |
"type": "ttt_text", | |
"color": "white", | |
"text": [ | |
"%s", | |
"time_remaining_pretty" | |
], | |
"font": { | |
"size": 0.024, | |
"font": "Lato", | |
"weight": 1000 | |
}, | |
"dock": "fill", | |
"align": "right" | |
}, | |
{ | |
"name": "RoleText", | |
"type": "ttt_text", | |
"color": "white", | |
"text": [ | |
"%s", | |
"role_name" | |
], | |
"font": { | |
"size": 0.024, | |
"font": "Lato", | |
"weight": 1000 | |
}, | |
"dock": "fill", | |
"align": "left" | |
} | |
] | |
}, | |
{ | |
"name": "AmmoBackground", | |
"type": "ttt_curve", | |
"bg_color": [0, 0, 0, 0], | |
"pos": [0.915, 0.875], | |
"size": [0.15, 0.2], | |
"curve": 0.005, | |
"children": [ | |
{ | |
"name": "AmmoClip", | |
"type": "ttt_text", | |
"color": "white", | |
"text": [ | |
"%s", | |
"clip_pretty" | |
], | |
"font": { | |
"size": 0.05, | |
"font": "Lato", | |
"weight": 1000 | |
}, | |
"dock": "top", | |
"size": [0.15, 0.05], | |
"pos": [0, 0, 0] | |
}, | |
{ | |
"name": "AmmoReserves", | |
"type": "ttt_text", | |
"color": "white", | |
"text": [ | |
"%s", | |
"reserve_pretty" | |
], | |
"font": { | |
"size": 0.03, | |
"font": "Lato", | |
"weight": 1000 | |
}, | |
"dock": "top", | |
"size": [0.15, 0.03], | |
"pos": [0, 0, 1] | |
}, | |
{ | |
"name": "WeaponShadow", | |
"type": "ttt_weapon", | |
"color": [0, 0, 0, 0], | |
"dock": "fill", | |
"color": "white" | |
} | |
] | |
}, | |
{ | |
"name": "WeaponSelect", | |
"type": "ttt_weapon_select" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment