zombie@computer wrote:ChromeAngel wrote:Ich 666 wrote:Loading screens telling them what theyre supposed to do in that gamemode.
I like this idea, it's about the only time when players will read what given to them. Is there any way for the client to know what map it's loading before it's loaded, so it can pick the right loading screen for that map?
no, but you can code a 'prediction' (eg by making a trigger_changelevel report the new mapname before it starts loading the new level) but the times you can actually predict the new mapname there usually is only limited loading time (not enough to warrant a loading screen anyway)
I've had some success getting this working so far, ( you can try it for yourselves at
40ksource.com ). It works fine when my game rules can pre-warn the client about loading of the map (via map voting or the normal map cycle), However I have 2 problem cases:
1) When you create a listen server from the game menu.
2) The server op kindly hosting servers for my mod runs server plugins that change the map after the round ends.
I've tried making my loading screen implement IGameSystem, but even the PreLevelInit calls to them are far too late for a loading screen.
Can you guys suggest any workarounds for this situation?