Arma 3
699 ratings
MrSanchez' Headlamps
3
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Equipment, Mechanics
File Size
Posted
Updated
2.977 MB
May 21, 2017 @ 9:36am
May 26, 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
Feb 17, 2018 @ 2:14am
Can't turn on lamp
Nark0t1k
5
Jun 15, 2020 @ 6:04am
Headlamps Mod Permission
Adam Kadmon
0
Nov 8, 2018 @ 2:23pm
Easy Scripts for this mod (player Int) For MP Editor AI UNITS
Ace1Gun
145 Comments
Little French Jan 4 @ 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_ Dec 27, 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 Dec 23, 2021 @ 5:12pm 
头灯
Reticuli Aug 30, 2021 @ 6:10pm 
Does this have a thermal-only mode?
Kolljak Jun 30, 2021 @ 5:13am 
@kompot easy you just read Controls: on the page here. its litterally 3 inches up.
Kompot May 10, 2021 @ 8:47am 
Anyone knows a way to make it brighter?
Raige Jamart Mar 4, 2021 @ 7:53pm 
I didn't find the Headlamp in the Arma 3 editor. Any help?
Donnovan Oct 25, 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 Aug 7, 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?
Haximus Aug 5, 2020 @ 3:25pm 
I dont know much about mod compatibility or mod usage, but is there someway id be able to get help figuring out the issue with the headlamp mod within the ArmaOnline Stalker mod? Much appreciated.