Skip to content

Implement Photo Mode#7287

Open
MjnMixael wants to merge 3 commits intoscp-fs2open:masterfrom
MjnMixael:builtin_photo_mode
Open

Implement Photo Mode#7287
MjnMixael wants to merge 3 commits intoscp-fs2open:masterfrom
MjnMixael:builtin_photo_mode

Conversation

@MjnMixael
Copy link
Contributor

@MjnMixael MjnMixael commented Mar 14, 2026

Adds an in-engine photo mode that creates a controllable camera that obeys flight control keybinds. The photo mode comes with a togglable rule-of-thirds grid and adjustable filters (saturation, brightness, contrast).

There is a sexp to disallow photo mode (it's always disallowed in multiplayer) and the camera sexps automatically disable/enable photo mode as well.

This also comes with scripting hooks for photo mode started and ended.

@MjnMixael MjnMixael requested a review from z64555 as a code owner March 14, 2026 21:18
@wookieejedi wookieejedi added the feature A totally new sort of functionality label Mar 14, 2026
@MjnMixael MjnMixael force-pushed the builtin_photo_mode branch from d8b8946 to 9866314 Compare March 16, 2026 03:35
@MjnMixael MjnMixael added this to the Release 26.0 milestone Mar 16, 2026
(TOGGLE_HUD_CONTRAST, KEY_L, -1, COMPUTER_TAB, 1, "Toggle High HUD Contrast", CC_TYPE_TRIGGER)
(TOGGLE_HUD_SHADOWS, KEY_ALTED | KEY_L, -1, COMPUTER_TAB, 1781, "Toggle HUD Drop Shadows", CC_TYPE_TRIGGER)
(HUD_TARGETBOX_TOGGLE_WIREFRAME, KEY_ALTED | KEY_SHIFTED | KEY_Q, -1, COMPUTER_TAB, 1, "Toggle HUD Wireframe Target View", CC_TYPE_TRIGGER)
(TOGGLE_PHOTO_MODE, KEY_ALTED | KEY_1, -1, COMPUTER_TAB, 1910, "Toggle Photo Mode", CC_TYPE_TRIGGER)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know mods can disable controls if they want, but would be interesting to hear if anyone wants to decrease or increase the number of controls for photo mode suggested here. @z64555 would be particularly interested if you could comment, too? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would you decrease the number of controls? You need a toggle and a way to change the filters.

@MjnMixael MjnMixael force-pushed the builtin_photo_mode branch from 9866314 to ee1015a Compare March 24, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature A totally new sort of functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants