mastercomfig / tf2-patches

Team Fortress 2, but with a lot of fixes, QoL improvements and performance optimizations!
Other
221 stars 27 forks source link

Live Main Menu Maps #389

Open joshuafhiggins opened 4 years ago

joshuafhiggins commented 4 years ago

Description

Similar to Half-Life 2 Episodes, in the background of the main menu you can replace the images of the maps with areas of maps being rendered in real time. This would pair really well with the live player model. In the Source SDK, if you build an episodic mod you get this feature and I believe its also in Half-Life 2: Episode 2 so maybe its just in the source code somewhere.

Checklist

Screenshots

20201001194804_1

Alternatives

  1. Allowing for videos instead of images as backgrounds like in Team Fortress 2 Classic
melvyn2 commented 4 years ago

This already exists as map_background.

mastercoms commented 4 years ago

Chapter backgrounds are already implemented in TF2 but are disabled on PC due to load times.

treacherousfiend commented 4 years ago

This has existed since HL2 in all source engine games (to my knowledge), TF2 just doesn't boot with one. like said above, map_background does this same thing, not that there is too much for you to watch in TF2 maps

Yttrium-tYcLief commented 4 years ago

To add on - map_background is fairly well-documented on the Valve Developer Wiki. It describes how to set up a camera and viewtarget in the map itself. Theoretically, anyone could create a TF2 map (or series of TF2 maps) with these entities and load them using map_background.

In the orange box console versions of TF2, there actually is a live background. This map is present in the live version of TF2, simply called background01. It's a cropped version of Dustbowl and can be seen below (in the console version):

image

Anyway, all you need is map_background to run on startup, and a HUD that properly supports it. Very few do, but they can be designed this way.

We likely will not be working on something like this as a part of TC2, but it is something you could do yourself with a script and custom HUD in the live game.

mastercoms commented 4 years ago

I'd like to keep this open for the alternative (bik map backgrounds).