Author: gammadust
Author Website:

Requirements: No addons required

Version: 1.10
Signed: Yes

Short description: Implements lens tinting to available Goggles and Glasses.

Date: 2013-09-11 09:09

Comments: (3)


GAM ppEffects Goggles (Tinted Lenses) [BETA]


- Implements lens tinting to available Goggles and Glasses
- Celebrating my 3rd year in BI's Forum
- Appreciation for Bohemia's sandbox and this community's dedication (or how much of a fanboy i am)

- Affects the colouring of the screen depending on the lens used by the Goggles/Glasses
- Detects removal and disables the effect
- The effect is disabled on 3rd Person views
- Simulates (exaggerates) the effect of eye adaptation when wearing and removing (10 seconds)
- Includes key

Addon version:
Extract into the ArmA 3 Directory, by default this is located in:
32-Bit - C:/Program Files/Steam/Steamapps/Common/ArmA 3/
64-Bit - C:/Program Files (x86)/Steam/Steamapps/Common/ArmA 3/
After extraction it should look like this:
Steam/Steamapps/Common/ArmA 3/@your_mod_folder_name

You can also use the "Arma 3 Alpha" folder in your "My Documents" folder. Your folder setup could than look like for example this:
mydocuments\Arma3 Alpha\@your_mod_folder_name\
mydocuments\Arma3 Alpha\@your_mod_folder_name\
mydocuments\Arma3 Alpha\@your_mod_folder_name\

When present place the "userconfig" folder into your game install folder, usually:
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3".
You may already have "userconfig" folder from other addons/mods in which case it is safe to merge the contents from this archive.
Open "userconfig\GAM\GAM_PPEG.hpp" to customize your options.

You'll also need to add a Launch Parameter to Steam, in order to do so right-click on ArmA 3 Alpha and click Properties and then Set Launch Options. In the window that opens enter in -mod=@your_mod_folder_name
For using multiple mods you would then do so like this:

You can also use -nosplash to get rid of the splash art and intro videos.

And of course you can also enable and disable community made addons and mods through the in-game Options Expansions menu if you do not want to mess with startup parameters!

When the above information still does not provide you with enough to learn how to install custom addons and mods you can always ask in our Guide On Installing Mods.

Script version:
- Copy 'GAM_ppEffectsGoggles.sqf' to the mission folder
- Include the following code in your mission "init.sqf":
// makes sure it is not already running as a mod
if (isNil {GAM_ppEffectsGoggles}) then {GAM_ppEffectsGoggles = compile preProcessFileLineNumbers 'GAM_ppEffectsGoggles.sqf'; GAM_ppEffectsGogglesInit = [true, false, 10] spawn GAM_ppEffectsGoggles};
//[_withmenu, _enableExternal, _eyeAdapt]
//[boolean, boolean, number (seconds)]

Included files:

Access the menu to change goggles/glasses.
This is to facilitate experimentation since it is hard to fill an ammo crate with the available glasses/goggles (can be disabled).


- Script runs client side only
- Script runs in a tight loop, waiting for an event based solution when able
currently "take" and "put" EHs are insufficient for all functionality
- Goggles removal colour settings are mostly wip

Mod version is up (download). Added options:
- enable/disable external camera effect
- seconds for eye adaptation

Forum topic:
- BI forums

Enable javascript to be able to download from Armaholic please!

Tags: Glasses,   Goggle,   Lens