-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Screenshot Mode #642
Comments
I haven't got the |
Not what I meant. I mean just a hotkey that disables every UI element. So you can screenshot using the Steam overlay hotkey or whatever you have. Or take video or anything without these unsighly UI elements interfering. |
I suggest using this: (findDisplay 46) createDisplay "RscDisplayEmpty"; That should get rid of all visible controls on the main display. It's called "empty", but still has the vignette. Not sure if that should be disabled too. |
Vignette is disabled in ACE3 anyways. If the solution is really just that, then this is a more ACEX feature than CBA/ACE as it needs to hooks, just a keybind and possibly some other tweaks. |
@dedmen |
No. I don't care about Zeus as they can already hide everything. I would also like that in CBA but not my aim. |
How would it be different from the Splendid Camera? |
Wouldn't be much different. Except that there is no extra camera. The player is still viewing out of his eyes. |
But what would the benefit be then? Why not use the Splendid Camera where you can move freely to make screenshots? |
Because I can't just give every player access to a freely moveable camera. They would missuse it to look around corners. |
So it's supposed to be a screenshot mode for active play? |
["Screenshot Mode", "myMod_screenshot", "Screenshot Mode", {
private _display = findDisplay 46 createDisplay "RscDisplayEmpty";
_display displayAddEventHandler ["KeyDown", {_this select 1 != 0x01}];
CBA_isScreenshotMode = true;
["CBA_ScreenshotMode", [CBA_isScreenshotMode]] call CBA_fnc_localEvent;
[{
(_this select 0) params ["_display", "_shownHUD"];
if ({_x} count shownHUD > 0) then {
(_this select 0) set [1, shownHUD];
showHUD (shownHUD apply {false});
};
if (isNull _display) then {
showHUD _shownHUD;
(_this select 1) call CBA_fnc_removePerFrameHandler;
CBA_isScreenshotMode = false;
["CBA_ScreenshotMode", [CBA_isScreenshotMode]] call CBA_fnc_localEvent;
};
}, 0, [_display, []]] call CBA_fnc_addPerFrameHandler;
}, {}, [0x15, [false, false, false]]] call CBA_fnc_addKeybind; |
Doesn't completly work. Hint's are still showing. |
I feel like this would be better off in ACE. Not because of what it does, but because of the amount of code that would be required to get it to work. With ACE you could probably build it on top of the selective ui framework, while here we'd have to recreate most of it. |
Agree |
Feature Request:
Screenshot Mode. CBA Function to enable/disable Screenshot Mode. Eventhandler and Variable for Mods to hook into. Hotkey to toggle it.
Should disable all UI elements. CBA might take care of the Vanilla UI stuff and for example ACE can hook into it to hide for example Nametags when Screenshot Mode is enabled.
I might PR it later just want to hear your thoughts are about this.
Just like the Splendid camera does. But with the ability to do it quickly with just a hotkey press in the middle of battle. Cause everyone likes taking screenshots.
The text was updated successfully, but these errors were encountered: