ZeroK-RTS / Zero-K-Infrastructure

Website, lobby launcher and server, steam deployment, .NET based tools and other vital parts of Zero-K infrastructure
GNU General Public License v3.0
53 stars 52 forks source link

Implement avatar choosing/unlocking #1465

Open GoogleFrog opened 7 years ago

GoogleFrog commented 7 years ago

Start players with an avatar of some cheap unit (Flea, Dart, Dirtbag).

Implement site UI to select avatar.

Have players unlock avatar on level up. Random avatar out of a pool of units based on their level. Perhaps unlock units that cost no more than 50 times their current level. There are a lot of units at the bottom so perhaps this can be improved. Maybe the equation 162.472*EXP(0.0515*Level) is a good bound for what can be unlocked. This is an exponential through (1,50), (30,800), (100, 28000).

Level up should send message to clients. Chobby should popup a box telling people their reward. Chobby should be able to avatar selection change to server so users can select whether to use the new avatar on level up.

maackey commented 6 years ago

Avatars are also a good outlet for spending kudos. Custom avatars would be extra nice to have, but certain units could be unlocked with varying amounts of kudos. (It would be nice to not get stuck with a pale floppy phallus as your avatar for several years...)

DeinFreund commented 6 years ago

Maybe we could reduce avatar set which new accounts get their avatar raffled from to < 1000 metal units? Then we could charge for changing your avatar. Whether this costs XP or kudos I don't mind.

Licho1 commented 6 years ago

Provide list of avatars to restrict new players to. It is implementable in DB.

Anarchid commented 6 years ago

The limiting is, but there's no avatar kudos/XP option

Licho1 commented 6 years ago

Thats easy to add later

Anarchid commented 6 years ago

I have compiled a list of unitpics that are eligible for avatars as part of #2085. Some were also removed for not being actual units (grebe, etc).

All that remains then is to filter ones that are below price cutoff threshold. http://etherpad.springrts.com/p/avatars