R3vo/Sandbox2 – User

From Bohemia Interactive Community
< R3vo
Categories:
mNo edit summary
Tag: Reverted
Tag: Reverted
Line 15: Line 15:
By default, the camera will not create an actual screenshot.
By default, the camera will not create an actual screenshot.
To enable this, go to '''Pause Menu''' >> '''Addon Options''' >> '''Spearhead 1944''' >> '''Camera creates a screenshot''' and tick the box.
To enable this, go to '''Pause Menu''' >> '''Addon Options''' >> '''Spearhead 1944''' >> '''Camera creates a screenshot''' and tick the box.
Every time a photograph is taken with the camera, a screenshot is saved in {{hl|<ProfileFolder>/screenshots/}}
Every time a photograph is taken with the camera, a screenshot is saved in {{hl|<ProfileFolder>/screenshots/SPEX_Film/}}


== Event ==
== Event ==

Revision as of 19:21, 21 July 2025

Spearhead Extended - Photography Feature

The Commonwealth update added a new feature that allows players to take photographs.

Usage

1. Add the Model PH-324 Camera (SPEX_K35_PH324) through the Arma 3 Arsenal.

2. Add at least one 35mm 36Rnd Super-XX Film Roll (SPEX_36rnd_Super_XX_Film) through the Arma 3 Arsenal.

3. In game, press B to bring up the camera.

4. Look through the seeker by pressing Right Mouse Button and press Left Mouse Button to take a photograph.

Enable Screenshot Creation

By default, the camera will not create an actual screenshot. To enable this, go to Pause Menu >> Addon Options >> Spearhead 1944 >> Camera creates a screenshot and tick the box. Every time a photograph is taken with the camera, a screenshot is saved in <ProfileFolder>/screenshots/SPEX_Film/

Event

Every time a photograph is taken, the scripted event SPEX_System_Infantry_Camera_Photograph_TakenEvent is triggered. Scenario creators or modders can subscribe to that event with

[missionNamespace, "SPEX_System_Infantry_Camera_Photograph_TakenEvent", _code] call BIS_fnc_addScriptedEventHandler;

The following arguments are passed to the code.

params ["_player", "_photoGraphedObjects"]

  • _player: The unit who took a photograph
  • _photoGraphedObjects: All objects in the view of the player when the photograph was taken