@@ -1844,7 +1844,11 @@ Callbacks
1844
1844
"
1845
1845
<ui_properties>
1846
1846
<!-- The map name and author displayed in the top right of the screen when viewing the scores table -->
1847
- <map_info visible="true" pos="75. -85.3 5." />
1847
+ <map_info visible="true" pos="-160. 80. 150." />
1848
+ <!-- Information about live envent displayed in the top right of the screen -->
1849
+ <live_info visible="true" pos="-159. 84. 5." />
1850
+ <!-- Information about the spectated player displayed in the bottom of the screen -->
1851
+ <spectator_info visible="true" pos="0. -68. 5." />
1848
1852
<!-- Only visible in solo modes, it hides the medal/ghost selection UI -->
1849
1853
<opponents_info visible="true" />
1850
1854
<!--
@@ -1854,41 +1858,49 @@ Callbacks
1854
1858
-->
1855
1859
<chat visible="true" offset="0. 0." linecount="7" />
1856
1860
<!-- Time of the players at the current checkpoint displayed at the bottom of the screen -->
1857
- <checkpoint_list visible="true" pos="40 . -90 . 5." />
1861
+ <checkpoint_list visible="true" pos="48 . -52 . 5." />
1858
1862
<!-- Small scores table displayed at the end of race of the round based modes (Rounds, Cup, ...) on the right of the screen -->
1859
- <round_scores visible="true" pos="104. 14. 5 ." />
1863
+ <round_scores visible="true" pos="-158.5 40. 150 ." />
1860
1864
<!-- Race time left displayed at the bottom right of the screen -->
1861
- <countdown visible="true" pos="154 . -57 . 5." />
1865
+ <countdown visible="true" pos="153 . -7 . 5." />
1862
1866
<!-- 3, 2, 1, Go! message displayed on the middle of the screen when spawning -->
1863
1867
<go visible="true" />
1864
1868
<!-- Current race chrono displayed at the bottom center of the screen -->
1865
- <chrono visible="true" pos="0. -80. 5." />
1869
+ <chrono visible="true" pos="0. -80. - 5." />
1866
1870
<!-- Speed and distance raced displayed in the bottom right of the screen -->
1867
- <speed_and_distance visible="true" pos="158 . -79.5 5." />
1871
+ <speed_and_distance visible="true" pos="137 . -69. 5." />
1868
1872
<!-- Previous and best times displayed at the bottom right of the screen -->
1869
- <personal_best_and_rank visible="true" pos="158 . -61 . 5." />
1873
+ <personal_best_and_rank visible="true" pos="157 . -24 . 5." />
1870
1874
<!-- Current position in the map ranking displayed at the bottom right of the screen -->
1871
- <position visible="true" pos="75. -85.3 5." />
1875
+ <position visible="true" pos="150.5 -28. 5." />
1872
1876
<!-- Checkpoint time information displayed in the middle of the screen when crossing a checkpoint -->
1873
- <checkpoint_time visible="true" pos="-8. 31.8 -10." />
1877
+ <checkpoint_time visible="true" pos="0. 3. -10." />
1874
1878
<!-- The avatar of the last player speaking in the chat displayed above the chat -->
1875
1879
<chat_avatar visible="true" />
1876
1880
<!-- Warm-up progression displayed on the right of the screen during warm-up -->
1877
- <warmup visible="true" pos="170. 27 . 0." />
1881
+ <warmup visible="true" pos="153. 13 . 0." />
1878
1882
<!-- Ladder progression box displayed on the top of the screen at the end of the map -->
1879
1883
<endmap_ladder_recap visible="true" />
1880
1884
<!-- Laps count displayed on the right of the screen on multilaps map -->
1881
- <multilap_info visible="true" pos="152. 49.5 5." />
1885
+ <multilap_info visible="true" pos="140. 84. 5." />
1882
1886
<!-- Player's ranking at the latest checkpoint -->
1883
- <checkpoint_ranking visible="true " pos="75., -85.3, 5." />
1887
+ <checkpoint_ranking visible="false " pos="0. 84. 5." />
1884
1888
<!-- Scores table displayed in the middle of the screen -->
1885
1889
<scorestable alt_visible="true" />
1886
1890
</ui_properties>
1887
1891
",
1888
1892
"{
1889
1893
"map_info": { //< The map name and author displayed in the top right of the screen when viewing the scores table
1890
1894
"visible": true,
1891
- "pos": { "x": 75.0, "y": -85.3, "z": 5.0 }
1895
+ "pos": { "x": -160.0, "y": 80.0, "z": 150.0 }
1896
+ },
1897
+ "live_info": { //< Information about live envent displayed in the top right of the screen
1898
+ "visible": true,
1899
+ "pos": { "x": -159.0, "y": 84.0, "z": 5.0 }
1900
+ },
1901
+ "spectator_info": { //< Information about the spectated player displayed in the bottom of the screen
1902
+ "visible": true,
1903
+ "pos": { "x": 0.0, "y": -68.0, "z": 5.0 }
1892
1904
},
1893
1905
"opponents_info": { //< Only visible in solo modes, it hides the medal/ghost selection UI
1894
1906
"visible": true
@@ -1900,56 +1912,56 @@ Callbacks
1900
1912
},
1901
1913
"checkpoint_list": { //< Time of the players at the current checkpoint displayed at the bottom of the screen
1902
1914
"visible": true,
1903
- "pos": { "x": 40 .0, "y": 90 .0, "z": 5.0 }
1915
+ "pos": { "x": 48 .0, "y": -52 .0, "z": 5.0 }
1904
1916
},
1905
1917
"round_scores": { //< Small scores table displayed at the end of race of the round based modes (Rounds, Cup, ...) on the right of the screen
1906
1918
"visible": true,
1907
- "pos": { "x": 104.0 , "y": 14 .0, "z": 5 .0 }
1919
+ "pos": { "x": -158.5 , "y": 40 .0, "z": 150 .0 }
1908
1920
},
1909
1921
"countdown": { //< Race time left displayed at the bottom right of the screen
1910
1922
"visible": true,
1911
- "pos": { "x": 154 .0, "y": -57 .0, "z": 5.0 }
1923
+ "pos": { "x": 153 .0, "y": -7 .0, "z": 5.0 }
1912
1924
},
1913
1925
"go": { //< 3, 2, 1, Go! message displayed on the middle of the screen when spawning
1914
1926
"visible": true
1915
1927
},
1916
1928
"chrono": { //< Current race chrono displayed at the bottom center of the screen
1917
1929
"visible": true,
1918
- "pos": { "x": 0.0, "y": -80.0, "z": 5.0 }
1930
+ "pos": { "x": 0.0, "y": -80.0, "z": - 5.0 }
1919
1931
},
1920
1932
"speed_and_distance": { //< Speed and distance raced displayed in the bottom right of the screen
1921
1933
"visible": true,
1922
- "pos": { "x": 158 .0, "y": -79.5 , "z": 5.0 }
1934
+ "pos": { "x": 137 .0, "y": -69.0 , "z": 5.0 }
1923
1935
},
1924
1936
"personal_best_and_rank": { //< Previous and best times displayed at the bottom right of the screen
1925
1937
"visible": true,
1926
- "pos": { "x": 158 .0, "y": -61 .0, "z": 5.0 }
1938
+ "pos": { "x": 157 .0, "y": -24 .0, "z": 5.0 }
1927
1939
},
1928
1940
"position": { //< Current position in the map ranking displayed at the bottom right of the screen
1929
1941
"visible": true,
1930
- "pos": { "x": 75.0 , "y": -85.3 , "z": 5.0 }
1942
+ "pos": { "x": 150.5 , "y": -28.0 , "z": 5.0 }
1931
1943
},
1932
1944
"checkpoint_time": { //< Checkpoint time information displayed in the middle of the screen when crossing a checkpoint
1933
1945
"visible": true,
1934
- "pos": { "x": -8 .0, "y": 31.8 , "z": -10.0 }
1946
+ "pos": { "x": 0 .0, "y": 3.0 , "z": -10.0 }
1935
1947
},
1936
1948
"chat_avatar": { //< The avatar of the last player speaking in the chat displayed above the chat
1937
1949
"visible": true
1938
1950
},
1939
1951
"warmup": { //< Warm-up progression displayed on the right of the screen during warm-up
1940
1952
"visible": true,
1941
- "pos": { "x": 170 .0, "y": 27 .0, "z": 0.0 }
1953
+ "pos": { "x": 153 .0, "y": 13 .0, "z": 0.0 }
1942
1954
},
1943
1955
"endmap_ladder_recap": { //< Ladder progression box displayed on the top of the screen at the end of the map
1944
1956
"visible": true
1945
1957
},
1946
1958
"multilap_info": { //< Laps count displayed on the right of the screen on multilaps map
1947
1959
"visible": true,
1948
- "pos": { "x": 152 .0, "y": 49.5 , "z": 5.0 }
1960
+ "pos": { "x": 140 .0, "y": 84.0 , "z": 5.0 }
1949
1961
},
1950
1962
"checkpoint_ranking": { //< Player's ranking at the latest checkpoint
1951
1963
"visible": true,
1952
- "pos": { "x": 75 .0, "y": -85.3 , "z": 5.0 }
1964
+ "pos": { "x": 0 .0, "y": 84.0 , "z": 5.0 }
1953
1965
},
1954
1966
"scorestable": { //< Scores table displayed in the middle of the screen
1955
1967
"alt_visible": true
@@ -2466,6 +2478,38 @@ Methods
2466
2478
]
2467
2479
```
2468
2480
2481
+ ### Trackmania.SetPlayerPoints
2482
+
2483
+ * Name: Trackmania.SetPlayerPoints
2484
+ * Type: TriggerModeScriptEventArray
2485
+ * Description: Set the points of the player. It overrides its current points. Different game modes will use different types of points.
2486
+ * Data:
2487
+ - Version >=2.1.0:
2488
+ ```
2489
+ [
2490
+ "PlayerLogin", //< Login of the player to update
2491
+ "10", //< The round points, use an empty string to not update.
2492
+ "96", //< The map points, use an empty string to not update.
2493
+ "2" //< The match points, use an empty string to not update.
2494
+ ]
2495
+ ```
2496
+
2497
+ ### Trackmania.SetTeamPoints
2498
+
2499
+ * Name: Trackmania.SetTeamPoints
2500
+ * Type: TriggerModeScriptEventArray
2501
+ * Description: Set the points of a team. It overrides their current points. Different game modes will use different types of points.
2502
+ * Data:
2503
+ - Version >=2.1.0:
2504
+ ```
2505
+ [
2506
+ "1", //< Id of the team t. Can be 1 or 2.
2507
+ "5", //< The round points, use an empty string to not update.
2508
+ "70", //< The map points, use an empty string to not update.
2509
+ "2" //< The match points, use an empty string to not update.
2510
+ ]
2511
+ ```
2512
+
2469
2513
### Trackmania.UI.GetProperties
2470
2514
2471
2515
* Name: Trackmania.UI.GetProperties
@@ -2495,7 +2539,11 @@ Methods
2495
2539
-->
2496
2540
<ui_properties>
2497
2541
<!-- The map name and author displayed in the top right of the screen when viewing the scores table -->
2498
- <map_info visible="true" pos="75. -85.3 5." />
2542
+ <map_info visible="true" pos="-160. 80. 150." />
2543
+ <!-- Information about live envent displayed in the top right of the screen -->
2544
+ <live_info visible="true" pos="-159. 84. 5." />
2545
+ <!-- Information about the spectated player displayed in the bottom of the screen -->
2546
+ <spectator_info visible="true" pos="0. -68. 5." />
2499
2547
<!-- Only visible in solo modes, it hides the medal/ghost selection UI -->
2500
2548
<opponents_info visible="true" />
2501
2549
<!--
@@ -2505,33 +2553,33 @@ Methods
2505
2553
-->
2506
2554
<chat visible="true" offset="0. 0." linecount="7" />
2507
2555
<!-- Time of the players at the current checkpoint displayed at the bottom of the screen -->
2508
- <checkpoint_list visible="true" pos="40 . -90 . 5." />
2556
+ <checkpoint_list visible="true" pos="48 . -52 . 5." />
2509
2557
<!-- Small scores table displayed at the end of race of the round based modes (Rounds, Cup, ...) on the right of the screen -->
2510
- <round_scores visible="true" pos="104. 14. 5 ." />
2558
+ <round_scores visible="true" pos="-158.5 40. 150 ." />
2511
2559
<!-- Race time left displayed at the bottom right of the screen -->
2512
- <countdown visible="true" pos="154 . -57 . 5." />
2560
+ <countdown visible="true" pos="153 . -7 . 5." />
2513
2561
<!-- 3, 2, 1, Go! message displayed on the middle of the screen when spawning -->
2514
2562
<go visible="true" />
2515
2563
<!-- Current race chrono displayed at the bottom center of the screen -->
2516
- <chrono visible="true" pos="0. -80. 5." />
2564
+ <chrono visible="true" pos="0. -80. - 5." />
2517
2565
<!-- Speed and distance raced displayed in the bottom right of the screen -->
2518
- <speed_and_distance visible="true" pos="158 . -79.5 5." />
2566
+ <speed_and_distance visible="true" pos="137 . -69. 5." />
2519
2567
<!-- Previous and best times displayed at the bottom right of the screen -->
2520
- <personal_best_and_rank visible="true" pos="158 . -61 . 5." />
2568
+ <personal_best_and_rank visible="true" pos="157 . -24 . 5." />
2521
2569
<!-- Current position in the map ranking displayed at the bottom right of the screen -->
2522
- <position visible="true" pos="75. -85.3 5." />
2570
+ <position visible="true" pos="150.5 -28. 5." />
2523
2571
<!-- Checkpoint time information displayed in the middle of the screen when crossing a checkpoint -->
2524
- <checkpoint_time visible="true" pos="-8. 31.8 -10." />
2572
+ <checkpoint_time visible="true" pos="0. 3. -10." />
2525
2573
<!-- The avatar of the last player speaking in the chat displayed above the chat -->
2526
2574
<chat_avatar visible="true" />
2527
2575
<!-- Warm-up progression displayed on the right of the screen during warm-up -->
2528
- <warmup visible="true" pos="170. 27 . 0." />
2576
+ <warmup visible="true" pos="153. 13 . 0." />
2529
2577
<!-- Ladder progression box displayed on the top of the screen at the end of the map -->
2530
2578
<endmap_ladder_recap visible="true" />
2531
2579
<!-- Laps count displayed on the right of the screen on multilaps map -->
2532
- <multilap_info visible="true" pos="152. 49.5 5." />
2580
+ <multilap_info visible="true" pos="140. 84. 5." />
2533
2581
<!-- Player's ranking at the latest checkpoint -->
2534
- <checkpoint_ranking visible="true " pos="75., -85.3, 5." />
2582
+ <checkpoint_ranking visible="false " pos="0. 84. 5." />
2535
2583
<!-- Scores table displayed in the middle of the screen -->
2536
2584
<scorestable alt_visible="true" />
2537
2585
</ui_properties>
0 commit comments