file How to add achievements?

  • Alexnico
  • Alexnico's Avatar Topic Author
  • Offline
  • Experienced Marbler
  • Experienced Marbler
  • I just "losemented" my mind!
More
11 Jan 2017 17:57 #1 by Alexnico
How to add achievements? was created by Alexnico
pls i need it

i exist i guess

Please Log in or Create an account to join the conversation.

  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Administrator
  • Administrator
  • At college, may not be around
More
11 Jan 2017 18:18 #2 by HiGuy
Replied by HiGuy on topic How to add achievements?
Since the game doesn't come with any support for achievements, you'll probably need a GUI for displaying them. I'd recommend checking out the other GUIs and basically just copy + replace stuff until it works.

You can use function clientCmdGameEnd (where the end game screen opens) to check for times for various levels. If you want anything more complicated than best time achievements then you're going to have to research how to detect when the player gets those achievements.

It's probably going to be quite a bit of work. You should strongly consider whether having achievements is necessary.

PQ in a nutshell
function clientcmd12dothepq() {
    commandToClient(LocalClientConnection, '34onthedancefloor');
}
The following user(s) said Thank You: Three, Nature Freak

Please Log in or Create an account to join the conversation.

Moderators: AayrlKalle29Regislian