Page 2 of 2

Re: Adding achievements to KaM

PostPosted: 21 Jun 2013, 11:32
by Krom
First issue in designing achievements (Ach) has appeared- Achs can be per-mission and global. For simplicity let's take there could be an Ach to kill 100 enemies in a single mission and another one to kill 9999 on a global level.

In a single mission it is straightforward - we watch stats and as soon as there's 100 kills - grant an Ach to the player;

But global level Achs are not so simple. What if player has saved right before a fight and then loaded the savegame a couple of times, and a couple more, how do we count the right number of kills for the global Ach? One solution is to transfer stats from the mission to global Achs only on mission victory. Until mission is not won - keep the global Achs unchanged. That could work, but there's one more catch - how do we differentiate between mission won for the first time, mission won again from the savegame and mission won after restart .. we need to count kills only in 1 and 3 case (and probably count 2 case if number of kills was higher than in 1) ?

Re: Adding achievements to KaM

PostPosted: 21 Jun 2013, 11:48
by Bence791
I think the easiest way could be that only count 1 mission victory once (so if you win it, your score will be added to the global, and will be stored). If next time you succeed to get more kills on the same mission, that result could replace the one before, this way raising the global score (by the difference of victory1 and victory2, if victory2 has a higher kills score). Still without the possibility to cheat imo.

As for the "Win this and that mission" achievements, disabling the debugging and storehouse cheats would be the solution to prevent any sorts of exploit :D

Re: Adding achievements to KaM

PostPosted: 21 Jun 2013, 12:09
by Krom
We can not prevent cheats from happening, just a short example: open MapEd, place 9999 AI militias and 1000 players towers full with stone. Save and play :)

Another possible solution is to avoid achievements related to mission stats altogether. Keep only global achievements of beating the campaign and achievements that can be received in one mission.

Re: Adding achievements to KaM

PostPosted: 21 Jun 2013, 12:47
by dicsoupcan
What about global multiplayer achievements? they can still be used for that right?

Re: Adding achievements to KaM

PostPosted: 21 Jun 2013, 12:53
by Krom
MP achievements are no good without proper account system which we currently do not have.

Re: Adding achievements to KaM

PostPosted: 21 Jun 2013, 13:05
by T*AnTi-V!RuZz
MP achievements are no good without proper account system which we currently do not have.
The 'thing' Lewin has been discussing with you may provide a solution for that ;)