StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
147 stars 3 forks source link

Feature: A Photomode. #1469

Open Rip-Rip-Rip opened 11 months ago

Rip-Rip-Rip commented 11 months ago

Which component should be improved?

Other

Describe your suggestion

I think a photo mode of some kind for taking screenshots could be a good. It can be used by mappers so they can easily take screenshots for their maps, and just by normal players to showcase funny moments or for fun. I think the game Teardown does it's photomode in a good way and it has inspired me in this suggestion with some of its features.

Movement: I think the movement could be similar to noclip, but with a silder or something for the flight speed (which already exists in the game through the use of a console command - so it could just change that value) so you can accurately line the camera up.

Potential features:

How it would be accessed in-game: I think there should be a seperate button on the pause menu which would say "Photo Mode" or something and it would then take you into photo mode. Alternatively, it could be a separate option on the main menu similar to the challenge mode, where it would let you chose a certain map. After selecting the option it would load you into the map and there could be a hotkey (could be the same one as switching between editor view and game view in the PeTI editor), to put you into external camera mode. There would then be different options on the screen you can chose and you would be able to fly around and take screenshots.

Equalizer5118 commented 11 months ago

I like those ideas. Heres my vision tho: A console command (e.g. photomode 1, behind sv_cheats 1) puts the player into noclip, hides the hud and the viewmodel, and brings up a panel with some tooltips. Scrolling will increase or decrease the fly speed, but holding shift and scrolling will increase or decrease the timescale. Left click hides the tooltips and takes a screenshot, right click does the same but doesnt take a screenshot. Middle mouse hides the tooltips and starts a demo recording, clicking it again stops the recording and will show a popup with the destination and name of the demo.

That's just my vision tho.

TeamSpen210 commented 11 months ago

I believe the engine already has a console variable that allows you to noclip while in pause mode, so this would mainly be putting a nicer UI on top of that base functionality.

Equalizer5118 commented 11 months ago

I tested that command a while ago in stock p2, but I don't think it worked.

vrad-exe commented 11 months ago

It could be neat to have a photo mode which doesn't need sv_cheats, maybe we add map entities to allow restricting the camera movement or turning it off entirely, but if cheats are on it ignores those