Arma 3
746 ratings
MrSanchez' Headlamps
3
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Equipment, Mechanics
File Size
Posted
Updated
2.977 MB
21 May, 2017 @ 9:36am
26 May, 2017 @ 1:36am
4 Change Notes ( view )

Subscribe to download
MrSanchez' Headlamps

Description
This mod gives you two functioning headlamps as well as functional helmet mounted flashlights.
Works with ArmA 3 v1.68+

Features:
- Two functioning headlamps
- Functional helmet mounted flashlights (vanilla helmets)
- Ability to change lamp colours
- Ability to change lamp brightness
- Configurable by modules
- Multiplayer support (Tested on Dedicated servers)
- CBA Keybinding support
- CBA Settings support



Mod Dependencies:
- None

Controls:
- Toggle light on/off: SHIFT+N
- Cycle Brightness: CTRL+N
- Cycle Colors: ALT+N


Known Issues:
- Light does not follow the head during ambient animations (engine issue)
- Update rate of light appears somewhat jagged in moving cars in MP (new script command needed)

Credits:
loki.87 for the 'Headlamp Bravo' model & textures
Phantom Incorporated for intensive testing & motivation

Whitelisting:
For (dedicated) server owners that run servers with CfgRemoteExec whitelisting enabled,
whitelist the following functions:
- SAN_fnc_ToggleHeadlamp
- SAN_fnc_sendJIPinfo


Scripting:
To toggle the headlamp by script, use: _unit call SAN_fnc_ToggleHeadlamp_local; It takes a local argument _unit and has a global effect.

To add new helmets, execute the following statements in a script (e.g. init.sqf):
SAN_Headlamp_Helmets append ["MyHelmet"];
SAN_Headlamp_ColorCompatibleLamps append ["MyHelmet"];

note: If you don't want to allow lamp color switching, don't execute the second statement.



Disclaimer:
This work is licensed under the Arma Public License Share Alike (APL-SA)
https://www.bistudio.com/community/licenses/arma-public-license-share-alike


This is the first release, let me know about any bugs/glitches.
Have fun.

Kind regards,
Sanchez
Popular Discussions View All (5)
8
17 Feb, 2018 @ 2:14am
Can't turn on lamp
Nark0t1k
5
15 Jun, 2020 @ 6:04am
Headlamps Mod Permission
Adam Kadmon
0
8 Nov, 2018 @ 2:23pm
Easy Scripts for this mod (player Int) For MP Editor AI UNITS
Ace1Gun
146 Comments
SalmanOneDe 8 hours ago 
I loved it
Little French 4 Jan, 2024 @ 4:28am 
Hello, is it possible to change the blue color to green or create a second lamp or add a fourth color? In order to be as close as possible to reality for military missions. Thank you so much.
_mickey_ 27 Dec, 2022 @ 2:42pm 
I'm interested in AI at night, with such a flashlight on his head will see further than without a flashlight ?
liwocom 23 Dec, 2021 @ 5:12pm 
头灯
Reticuli 30 Aug, 2021 @ 6:10pm 
Does this have a thermal-only mode?
Kolljak 30 Jun, 2021 @ 5:13am 
@kompot easy you just read Controls: on the page here. its litterally 3 inches up.
Kompot 10 May, 2021 @ 8:47am 
Anyone knows a way to make it brighter?
Raige Jamart 4 Mar, 2021 @ 7:53pm 
I didn't find the Headlamp in the Arma 3 editor. Any help?
donnBR 25 Oct, 2020 @ 2:31pm 
If some clients run this mod and others don't, the clients not running it will see the lights? What are the classnames of the new helmets? Thanks!
Haymaker 7 Aug, 2020 @ 5:51am 
Good evening/Morning Mr. Sanchez, I have been doing some tweeking to try to get the light to work with RHS helmets that have the flashlight attachment on the side of them but even after doing the steps as you stated for adding the light to the custom class names, I can not seem to get it correct, do you have any tips for how to try to solve this issue?