Map Database  •  FAQ  •  RSS  •  Login

Adding achievements to KaM

<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 21 Jun 2013, 11:32

Re: Adding achievements to KaM

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) ?
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

Bence791

Knight

Posts: 618

Joined: 20 Jul 2012, 20:25

KaM Skill Level: Beginner

Location: Hungary

Post 21 Jun 2013, 11:48

Re: Adding achievements to KaM

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
The Kamper is always taking my colour!

<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 21 Jun 2013, 12:09

Re: Adding achievements to KaM

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.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

dicsoupcan

Moorbach's Guard

Posts: 1314

Joined: 12 Feb 2012, 21:36

KaM Skill Level: Fair

Post 21 Jun 2013, 12:47

Re: Adding achievements to KaM

What about global multiplayer achievements? they can still be used for that right?
Last edited by dicsoupcan on 21 Jun 2013, 13:03, edited 1 time in total.
You have enemies? Good. That means you've stood up for something, sometime in your life. ~ Winston Churchill
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 21 Jun 2013, 12:53

Re: Adding achievements to KaM

MP achievements are no good without proper account system which we currently do not have.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

T*AnTi-V!RuZz

User avatar

Former Site Admin

Posts: 1826

Joined: 03 Jan 2007, 23:00

KaM Skill Level: Fair

Website: http://www.knightsandmerchants.net

Location: The Netherlands

Post 21 Jun 2013, 13:05

Re: Adding achievements to KaM

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 ;)

Return to “Ideas / Suggestions”

Who is online

Users browsing this forum: No registered users and 12 guests