Arma 3
64 ratings
Turret Lock
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
File Size
Posted
Updated
392.498 KB
11 Mar, 2022 @ 7:43am
13 Aug, 2024 @ 6:45am
8 Change Notes ( view )

Subscribe to download
Turret Lock

Description
Turret Lock is a client side mod that allows users to lock turret stabilisation as well as to make the turret face forward along the hull.
This mod can lock the user's turret onto a target, but it must be enabled by the server via CBA settings.

CBA Settings
  • Vehicle Blacklist (no Inheritance): Any vehicle in this list will not have target tracking enabled. It will only disable the vehicle itself and not its children (which means any classes that inherit from that class).
  • Vehicle Blacklist (with Inheritance): Any vehicle and their children in this list will not have target tracking enabled. You can use this setting to more easily blacklist a family of vehicles.
  • Vehicle Whitelist (no Inheritance): Any vehicle in this list will have target tracking enabled, if the setting below has added the interaction to that class (see whitelist examples). It will only enable the vehicle itself and not its children.
  • Vehicle Whitelist (with Inheritance): Any vehicle and their children in this list will have target tracking enabled. You can use this setting to more easily whitelist a family of vehicles.

Whitelist Examples
If you want to just whitelist e.g.
"B_APC_Wheeled_01_cannon_F"
  • Set "no Inheritance" to
    ["B_APC_Wheeled_01_cannon_F"]
  • Don't change "with Inheritance"

If you want to just whitelist multiple vehicles e.g.
["B_APC_Wheeled_01_cannon_F","B_MBT_01_TUSK_F"]
  • Set "no Inheritance" to
    ["B_APC_Wheeled_01_cannon_F","B_MBT_01_TUSK_F"]
  • Don't change "with Inheritance"

If you want to whitelist all vehicles:
  • Don't change "no Inheritance"
  • Set "with Inheritance" to
    ["AllVehicles"]

CBA Keybinds
  • Press Alt-U to lock the turret stabilisation. Only works if player is in the "Gunner" view (using the sights).
  • Press Ctrl-Alt-U to lock the turret facing forward along hull. Works in any view (1st person, 3rd person, etc.).
  • Press Shift-U to lock the turret onto a target. Only works if player is in the "Gunner" view (using the sights).

Links

Credit
  • Mod Icon[getdrawings.com] from Icon Fonts[www.onlinewebfonts.com] which is licensed by CC BY-NC 4.0
  • Mod by johnb43

License
See LICENSE.
30 Comments
Max200012 18 Aug, 2024 @ 3:52am 
aw www, damn
johnb43  [author] 18 Aug, 2024 @ 3:52am 
@Max200012 Not possible, it's an engine limitation.
Max200012 18 Aug, 2024 @ 3:36am 
is it possible for you to improve the tracking system? Currently it only follows behind targets, it would be very nice if it could keep the crosshair centered on the target, not behind it. It would be even better if we could manually adjust the crosshair on top of the tracking, if that's even possible
Thomas - ASOT 8 Aug, 2024 @ 6:10pm 
Even if it was just a hint to indicate that it's on or off.
Would really make it easier to use. :)
johnb43  [author] 4 Aug, 2024 @ 11:00am 
@Conboy 144 I'll see what I can do about it.
Conboy 144 31 Jul, 2024 @ 5:28pm 
@jonhnb43

would it be possible to add a visual aid for when the system is engaged?

would be great to just see a little padlock icon or something come up somewhere when using it just so the gunners dont forget they have it on.

otherwise great mod

cant wait to hear from you
johnb43  [author] 15 Feb, 2024 @ 12:53am 
@GHOST Cmon man, it's not hard to google "CBA keybinds" and find a link, which then will redirect you towards https://github.com/CBATeam/CBA_A3/wiki/Keybinding#for-users ...
GHOST 14 Feb, 2024 @ 8:06pm 
How to change the keybinds, sir? I cannot find any interface about this
221B 1 Apr, 2023 @ 8:58pm 
@johnb43 Maybe this is the reason for the source code in the game. Anyway, you worked nice!
johnb43  [author] 1 Apr, 2023 @ 1:26pm 
@221B There is no easy solution and I will admit I'm not really motivated enough to find a solution, at least for now.