I've been looking lately for a way to script the singleplayer race gameplay (like when you finish, your time gets submitted or you earn a medal) and I got really really confused how does that even work.
I like how it's done in title packs made using Maker tool - after finishing, your replay gets submitted somewhere for example. I'm not a fan of Maker tool so I would love to know how is that done using normal scripting.
I'm not here without anything as always - to show that I'm actually trying to find that information. So, those are my ideas:
- Make a gamemode that can handle the score submit. Hard to tell if that is the correct way... It could work in general but there should be a better way.
- CManiaAppPlayground - This class looks promising to me, although once again like with CManiaAppTitle, I don't know how I can access this class. If that's the way to do those things like the finish screen Maker has, I would really love to see how this class can be used. <3
I'm sorry that probably my question is messy, but I'm generally confused how things now work in MP4. We need this for the Reunited, which without this information can't even happen. So, we thank you a lot for answering, it will mean a lot. <3
Upload driven time to some database? Singleplayer campaign
Moderator: English Moderator
- BigBang1112
- Posts: 388
- Joined: 20 Jul 2015, 12:44
- Manialink: bigbang1112
- Location: Czech Republic
- Contact:
Upload driven time to some database? Singleplayer campaign
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
Re: Upload driven time to some database? Singleplayer campaign
Even with my poor maniascripting skill, I might help you. The command to save current progress is:
It will save the medal to your campaign, show gained SkillPoints and saves to Nadeo database (if I understand right what you want
). But you will get the MP3 UI and that's not the best, but you can use it now as a temporary solution
BTW.
You can find whole maker-solo script here and see the commands you need: GameData/PackCache/TrackMania_Extras.zip/Scripts/Modes
Good luck with your project
Code: Select all
Solo_SetNewRecord(Player.Score, EMedal);

I can't help you with that :/
BTW.
You can find whole maker-solo script here and see the commands you need: GameData/PackCache/TrackMania_Extras.zip/Scripts/Modes
Good luck with your project

- BigBang1112
- Posts: 388
- Joined: 20 Jul 2015, 12:44
- Manialink: bigbang1112
- Location: Czech Republic
- Contact:
Re: Upload driven time to some database? Singleplayer campaign
So, if that means the solo score saving is really done using gamemodes, that is enough information for me then!
Thanks!
Thanks!
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
Re: Upload driven time to some database? Singleplayer campaign
All the scripts included by the title maker are available on our gitbub repository. You can find the scripts managing all the medal/replay/save/... logic of the campaign inside.
- BigBang1112
- Posts: 388
- Joined: 20 Jul 2015, 12:44
- Manialink: bigbang1112
- Location: Czech Republic
- Contact:
Re: Upload driven time to some database? Singleplayer campaign
Nice! Thanks!
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
Who is online
Users browsing this forum: No registered users and 1 guest