Skip to content

Commit a01090e

Browse files
committed
2.1.0 version of the xmlrpc api.
1 parent 40da6ab commit a01090e

File tree

1 file changed

+84
-36
lines changed

1 file changed

+84
-36
lines changed

XmlRpcListing.md

+84-36
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,11 @@ Callbacks
18441844
"
18451845
<ui_properties>
18461846
<!-- 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." />
18481852
<!-- Only visible in solo modes, it hides the medal/ghost selection UI -->
18491853
<opponents_info visible="true" />
18501854
<!--
@@ -1854,41 +1858,49 @@ Callbacks
18541858
-->
18551859
<chat visible="true" offset="0. 0." linecount="7" />
18561860
<!-- 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." />
18581862
<!-- 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." />
18601864
<!-- 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." />
18621866
<!-- 3, 2, 1, Go! message displayed on the middle of the screen when spawning -->
18631867
<go visible="true" />
18641868
<!-- 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." />
18661870
<!-- 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." />
18681872
<!-- 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." />
18701874
<!-- 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." />
18721876
<!-- 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." />
18741878
<!-- The avatar of the last player speaking in the chat displayed above the chat -->
18751879
<chat_avatar visible="true" />
18761880
<!-- 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." />
18781882
<!-- Ladder progression box displayed on the top of the screen at the end of the map -->
18791883
<endmap_ladder_recap visible="true" />
18801884
<!-- 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." />
18821886
<!-- 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." />
18841888
<!-- Scores table displayed in the middle of the screen -->
18851889
<scorestable alt_visible="true" />
18861890
</ui_properties>
18871891
",
18881892
"{
18891893
"map_info": { //< The map name and author displayed in the top right of the screen when viewing the scores table
18901894
"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 }
18921904
},
18931905
"opponents_info": { //< Only visible in solo modes, it hides the medal/ghost selection UI
18941906
"visible": true
@@ -1900,56 +1912,56 @@ Callbacks
19001912
},
19011913
"checkpoint_list": { //< Time of the players at the current checkpoint displayed at the bottom of the screen
19021914
"visible": true,
1903-
"pos": { "x": 40.0, "y": 90.0, "z": 5.0 }
1915+
"pos": { "x": 48.0, "y": -52.0, "z": 5.0 }
19041916
},
19051917
"round_scores": { //< Small scores table displayed at the end of race of the round based modes (Rounds, Cup, ...) on the right of the screen
19061918
"visible": true,
1907-
"pos": { "x": 104.0, "y": 14.0, "z": 5.0 }
1919+
"pos": { "x": -158.5, "y": 40.0, "z": 150.0 }
19081920
},
19091921
"countdown": { //< Race time left displayed at the bottom right of the screen
19101922
"visible": true,
1911-
"pos": { "x": 154.0, "y": -57.0, "z": 5.0 }
1923+
"pos": { "x": 153.0, "y": -7.0, "z": 5.0 }
19121924
},
19131925
"go": { //< 3, 2, 1, Go! message displayed on the middle of the screen when spawning
19141926
"visible": true
19151927
},
19161928
"chrono": { //< Current race chrono displayed at the bottom center of the screen
19171929
"visible": true,
1918-
"pos": { "x": 0.0, "y": -80.0, "z": 5.0 }
1930+
"pos": { "x": 0.0, "y": -80.0, "z": -5.0 }
19191931
},
19201932
"speed_and_distance": { //< Speed and distance raced displayed in the bottom right of the screen
19211933
"visible": true,
1922-
"pos": { "x": 158.0, "y": -79.5, "z": 5.0 }
1934+
"pos": { "x": 137.0, "y": -69.0, "z": 5.0 }
19231935
},
19241936
"personal_best_and_rank": { //< Previous and best times displayed at the bottom right of the screen
19251937
"visible": true,
1926-
"pos": { "x": 158.0, "y": -61.0, "z": 5.0 }
1938+
"pos": { "x": 157.0, "y": -24.0, "z": 5.0 }
19271939
},
19281940
"position": { //< Current position in the map ranking displayed at the bottom right of the screen
19291941
"visible": true,
1930-
"pos": { "x": 75.0, "y": -85.3, "z": 5.0 }
1942+
"pos": { "x": 150.5, "y": -28.0, "z": 5.0 }
19311943
},
19321944
"checkpoint_time": { //< Checkpoint time information displayed in the middle of the screen when crossing a checkpoint
19331945
"visible": true,
1934-
"pos": { "x": -8.0, "y": 31.8, "z": -10.0 }
1946+
"pos": { "x": 0.0, "y": 3.0, "z": -10.0 }
19351947
},
19361948
"chat_avatar": { //< The avatar of the last player speaking in the chat displayed above the chat
19371949
"visible": true
19381950
},
19391951
"warmup": { //< Warm-up progression displayed on the right of the screen during warm-up
19401952
"visible": true,
1941-
"pos": { "x": 170.0, "y": 27.0, "z": 0.0 }
1953+
"pos": { "x": 153.0, "y": 13.0, "z": 0.0 }
19421954
},
19431955
"endmap_ladder_recap": { //< Ladder progression box displayed on the top of the screen at the end of the map
19441956
"visible": true
19451957
},
19461958
"multilap_info": { //< Laps count displayed on the right of the screen on multilaps map
19471959
"visible": true,
1948-
"pos": { "x": 152.0, "y": 49.5, "z": 5.0 }
1960+
"pos": { "x": 140.0, "y": 84.0, "z": 5.0 }
19491961
},
19501962
"checkpoint_ranking": { //< Player's ranking at the latest checkpoint
19511963
"visible": true,
1952-
"pos": { "x": 75.0, "y": -85.3, "z": 5.0 }
1964+
"pos": { "x": 0.0, "y": 84.0, "z": 5.0 }
19531965
},
19541966
"scorestable": { //< Scores table displayed in the middle of the screen
19551967
"alt_visible": true
@@ -2466,6 +2478,38 @@ Methods
24662478
]
24672479
```
24682480

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+
24692513
### Trackmania.UI.GetProperties
24702514

24712515
* Name: Trackmania.UI.GetProperties
@@ -2495,7 +2539,11 @@ Methods
24952539
-->
24962540
<ui_properties>
24972541
<!-- 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." />
24992547
<!-- Only visible in solo modes, it hides the medal/ghost selection UI -->
25002548
<opponents_info visible="true" />
25012549
<!--
@@ -2505,33 +2553,33 @@ Methods
25052553
-->
25062554
<chat visible="true" offset="0. 0." linecount="7" />
25072555
<!-- 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." />
25092557
<!-- 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." />
25112559
<!-- 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." />
25132561
<!-- 3, 2, 1, Go! message displayed on the middle of the screen when spawning -->
25142562
<go visible="true" />
25152563
<!-- 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." />
25172565
<!-- 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." />
25192567
<!-- 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." />
25212569
<!-- 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." />
25232571
<!-- 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." />
25252573
<!-- The avatar of the last player speaking in the chat displayed above the chat -->
25262574
<chat_avatar visible="true" />
25272575
<!-- 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." />
25292577
<!-- Ladder progression box displayed on the top of the screen at the end of the map -->
25302578
<endmap_ladder_recap visible="true" />
25312579
<!-- 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." />
25332581
<!-- 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." />
25352583
<!-- Scores table displayed in the middle of the screen -->
25362584
<scorestable alt_visible="true" />
25372585
</ui_properties>

0 commit comments

Comments
 (0)