MegaGlest Forum

MegaGlest => Feature requests => Topic started by: titi on 20 October 2019, 23:08:32

Title: User Profiles
Post by: titi on 20 October 2019, 23:08:32
Currently there is no real user profile, just one global config ini for all. Looking at features like achievments and all other kind of stats and so on I think its a good idea to start with some basic user accounts.

My first idea for this is to replace the player name in the options with a "create profile" functionality.
This creates properties  file ( and maybe a directory to save more stuff ?)

so in .megaglest it would look like this:
.megaglest->profiles->titi->titi.ini

On start some very basic things of the global glestuser.ini would go there like the UUID of the player for example. I don't want to move too many things there atm, maybe later it makes sense.

Is this a good idea? Are there better ideas ?
Title: Re: User Profiles
Post by: andy_5995 on 22 October 2019, 16:28:58
Although I don't recall if anyone's requested this or if it's in demand, it's a good idea to allow for different profiles.

There should definitely be a global directory for techs, tilesets and maps. So any profile has access to content that's already been downloaded. Probably should go into ~/.local/share or $XDG_DATA_HOME, as mentioned in this GitHub ticket (https://github.com/MegaGlest/megaglest-source/issues/175)
Title: Re: User Profiles
Post by: titi on 23 October 2019, 20:49:59
No the intention is not to copy the whole settings into the profile! Its more meant for holding playername/UUID of the player and achievements or personal
game progress. Maybe some setting that make sense will make it into the profile, but for sure not all settings. ( at least thats not my current idea )
Title: Re: User Profiles
Post by: titi on 1 November 2019, 12:59:02
Just a bit more brainstorming:

What should be recorded in this profile are all kind of stats. This fits with steam settings too and is a good base for achievements.
- number of games played
- number of games lost
- number of games won
- kill Count ( summary of all games )
- number of win/loose/count for network games
- number of win/loose/count games played for each techtree
- number of win/loose/count games played for each faction
- number of win/loose/count per map
- number of single player games.
- marker for each scenario which was won

more ideas ?