Hi all,

I am trying to implement a background image on level load that corresponds
with the upcoming level. I got a fullscreen image to show up without a
problem thanks to Tony's response a few years ago to that question. However,
I am at a loss as to how to figure out which map is currently loading on the
client BEFORE OnLevelInitPreEntity() is fired (which fires ~4/5 into the
loading sequence). Once ingame, this is not an issue because everything
works properly in terms of event messaging and checking convars, etc.

To be clear: when you first start a listen server, or even when you connect
to a server from the browser, I haven't a clue how to get the current
level's name that is loading.

Any help would be greatly appreciated, thanks guys!

I have tried already:
1. engine->GetLevelName()
2. Checking for game_init event message
3. Callback installed to "map" (which doesn't work at all, since its a
ConCommand)

Jonathan White
<Killer Monkey>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to