Page 1 of 1

Highscore-like features?

Posted: Sat Jun 05, 2021 2:05 am
by bebipbop
Something to keep track of my highest monster kill % per level (same for items and secrets(and best time))

Idk where this would be but I guess thats up to gz. Probably just in the end of level screens or something. I just think it would add a lot of replay value if GZ kept track of your best stats per difficulty/level somewhere just to give you something to play against. Seems easy to implement tbh (but I'm not much of a programmer). Even if it's just a menu tucked away somewhere in the pause menu it'd be cool.

Re: Highscore-like features?

Posted: Sat Jun 05, 2021 2:08 am
by bebipbop
Another quick question. Is GZDoom open source? Like could I just edit this myself and make my own little version with highscores? What languages would I have to learn?

Re: Highscore-like features?

Posted: Sat Jun 05, 2021 2:17 am
by Gez
bebipbop wrote:Another quick question. Is GZDoom open source? Like could I just edit this myself and make my own little version with highscores? What languages would I have to learn?
yes, yes, C++

Re: Highscore-like features?

Posted: Sat Jun 05, 2021 3:41 am
by Graf Zahl
There's already something to track your achievements.
At the console, set 'savestatistics' to 1 and it will write out your play time and monster/item/secret count when you complete an episode.
It's rather unlikely that this wlll get extended to true highscore maintenance because that's rather tricky with a game that has no concept of scoring in a competitive way.

Re: Highscore-like features?

Posted: Sat Jun 05, 2021 4:00 am
by Gez
Note that there is a score statistics, though it's something that is only of use with mods that assign scores to monsters and items. All vanilla actors are scoreless.

Re: Highscore-like features?

Posted: Sat Jun 05, 2021 4:30 am
by m8f
You don't have to change engine code for this, scoring is doable mod-side with ZScript. Shameless self-promotion: Lazy Points. Not exactly what you ask for, but it stores high scores between maps and between games, and has a menu to view scores. Maybe it will serve as a starting point for your own thing.

Re: Highscore-like features?

Posted: Sat Jun 05, 2021 4:59 pm
by JPL