Ze-Rax / TrackmaniaFlagRush

FlagRush is the new community made, teambased gamemode for Trackmania2020, providing a completely new way to play your favourite racing game with direct player interaction. In FlagRush, two teams fight for a flag and try to bring it to the base of the opposing team to score a point while preventing the other team to do the same.
MIT License
15 stars 1 forks source link

Custom Loading screen #158

Open Ze-Rax opened 2 years ago

Ze-Rax commented 2 years ago

There's a LayerType CUILayer::EUILayerType::LoadingScreen. Maybe we can construct a nice Manialink as loadingscreen in our color scheme.

Layer would have to be attached at map end, because at that time all layers are destroyed.

Loading screen should have have a loading indicator (like the current spinning wheel) so people know that their game didn't freeze.

I'd be ok with using a custom image there, but then it would need to be hosted in a proper place, wher it always is accessible..

Ze-Rax commented 2 years ago

Couldn't get this working. Maybe it's not possible anymore? If you wanna give it a shot, feel free.

Geekid812 commented 2 years ago

It should definitely be possible, since Royal has its own loading screen (unless that's hardcoded into the game, which I doubt). Won't be an easy task to figure out how the layer works or if it's even the right layer to use.

Ze-Rax commented 2 years ago

Royal doesn't seem to use loading screen layers managed by the mode, but instead Trackmania2020 has a loading screen system which is handled by a ManiaApp which is always active. That ManiaApp has access to the loading screen stuff and replaces the background images. But we don't have access to that ManiaApp.

Edit: Also image

Geekid812 commented 2 years ago

If that's the case, then there's nothing to do for this apart from waiting till it gets a response. Like you said, if we don't have access to the ManiaApp then there's no way we can change its loading screen.