i dreaming for a second rating for a player called TeamRating
this a are very very first little modifications of the mod https://wildfiregames.com/forum/topic/28390-custom-rating/
many thanks to all the 0ad developers out there
cheers
https://gitlab.com/mentula0ad/LocalRatings
LocalRatings is a 0 A.D. mod aimed at ranking players, rating their performance and providing statistical data based on previously played games.
get a backup rating if rating server is not accessible. seem working in my first tests.
customrating0.25.2.zip 37 kB · 2 downloads
it read from
~/snap/0ad/236/.config/0ad/config/user.cfg
first line
example:
UserRatingBackup = "950"
and update this number if server is available.
how to read howTo read metadata.json from a mod ? ( ~/snap/0ad/236/.local/share/0ad/replays/0.0.25/2021-08-05_0002/metadata.json )
That file is used in the replaymenu in the public mod. It is loaded via Engine.GetReplayMetadata called from replay_menu.js