Page MenuHomeFeedback Tracker

Inaccessible vehicle turrets
New, NormalPublic

Description

Some vehicles have turrets configured that can not be accessed. Using moveInTurret has no effect on these turrets, when using 'assignAsTurret' and 'ordergetin' will have an AI unit run to the vehicle, but instead of boarding he will stay outside.

I have tried my best to compile a list with all vehicles and the turrets that are inaccessible. I guess inheritance plays a role here, but to avoid errors I provide my entire list with all vehicle variants, find it in the 'ADDITIONAL INFORMATION' below.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Config
Steps To Reproduce

TO CONFIRM THE ISSUE:

  1. Spawn any of the listed vehicles in the world
  2. use 'player moveInTurret [_vehicleName, _turretPath]' with any of it's listed turrets
  3. Observe the player not being moved into the turret

TO RECREATE/DOUBLECHECK MY LIST CREATION:

  1. Create a mission in VR and create an init.sqf with the code below
  2. Run Editor Scenario
  3. Observe vehicles being spawned, unmannable turrets being noted by systemchat. Takes a little while to complete.
  4. After process is done, data is now copied to clipboard and stored in variable 'SOG_TURRETS_NoAccess',

Alternatively I will provide a demo mission to @slow on Discord.

Init.sqf (maybe not the cleanest but i tried):

private _playerPos = [1100,1690,0];
private _spawnPos = [1120,1680,0];

player setpos [1100,1680,0];
player setdir 90;


private _allVehiclesSOG = (("_cfgN = configName _x; !(_cfgN isKindOf 'MAN')" configClasses (configFile>>"CfgVehicles")) apply {configName _x}) select {
	(getText (configfile >> "CfgVehicles" >> _x >> "DLC")) == "VN" &&
	{
		private _turrets = (("true" configClasses (configFile>>"CfgVehicles" >> _x >> "Turrets") ) apply {configName _x});
		!(_turrets isEqualTo [])
	}
};

// _allVehiclesSOG = ["vn_b_armor_m577_02"];
setacctime 4;

private _allVehiclesSOGCount = count _allVehiclesSOG;

SOG_TURRETS_NoAccess = [];
{
	private _type = _x;
	
	private _veh = _type createVehicle _spawnPos;
	private _turrets = fullcrew [_veh,"turret",true];
	private _return = [_type, []];


	hint format ["VEHICLE TYPE: %1                                  (%2 vehicles remaining)", _type, _allVehiclesSOGCount - (_foreachIndex + 1)];
	// hint str _turrets;
	{
		_unit = (group player) createUnit [typeOf player,_playerPos, [], 0, "FORM"];
		// _unit setpos _playerPos;
		_unit setDir 90;
		sleep 0.1;
		private _turret = _x select 3;
		// systemchat str _turret;
		//systemchat str _turret;
		_unit moveInTurret [_veh, _turret];
		sleep 0.3;
		
		if (_unit != _veh turretUnit _turret) then {
			systemchat format ["NON FUNCTIONAL: %1", _turret];
			(_return select 1) set [ count (_return select 1), _turret ];
		};

		deletevehicle _unit;
		// sleep 1;
		
	} foreach _turrets;
	if !(_return select 1 isEqualTo []) then { 
		SOG_TURRETS_NoAccess set [count SOG_TURRETS_NoAccess, format ["VEHICLE TYPE: '%1' | TURRETS NonFunc: %2",_return select 0, _return select 1]];
	};
	deleteVehicle _veh;
	sleep 0.1;
} foreach _allVehiclesSOG;

copyToClipboard str SOG_TURRETS_NoAccess;
hint "DATA COPIED TO CLIPBOARD AND STORED IN GLOBAL VARIABLE 'SOG_TURRETS_NoAccess')";
Additional Information

List of vehicle classes and inaccessible turrets:


VEHICLE TYPE: "vn_b_boat_12_01"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_b_boat_12_02"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_b_boat_12_03"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_b_boat_12_04"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_b_boat_13_01"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_b_boat_13_02"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_b_boat_13_03"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_b_boat_13_04"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_i_boat_12_01_fank_71"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_i_boat_12_02_fank_71"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_i_boat_12_03_fank_71"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_i_boat_12_04_fank_71"
TURRETS: [3], [9]

VEHICLE TYPE: "vn_b_armor_m113_01"
TURRETS: [1]

VEHICLE TYPE: "vn_b_armor_m113_acav_01"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_acav_02"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_acav_03"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_acav_04"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_acav_05"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_acav_06"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_01_aus_army"
TURRETS: [1]

VEHICLE TYPE: "vn_b_armor_m113_01_rok_army"
TURRETS: [1]

VEHICLE TYPE: "vn_b_armor_m113_acav_01_rok_army"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_acav_02_rok_army"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_acav_03_rok_army"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_acav_04_rok_army"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_acav_05_rok_army"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m113_acav_06_rok_army"
TURRETS: [0]

VEHICLE TYPE: "vn_i_armor_m113_01"
TURRETS: [1]

VEHICLE TYPE: "vn_i_armor_m113_acav_01"
TURRETS: [0]

VEHICLE TYPE: "vn_i_armor_m113_acav_02"
TURRETS: [0]

VEHICLE TYPE: "vn_i_armor_m113_acav_03"
TURRETS: [0]

VEHICLE TYPE: "vn_i_armor_m113_acav_04"
TURRETS: [0]

VEHICLE TYPE: "vn_i_armor_m113_acav_05"
TURRETS: [0]

VEHICLE TYPE: "vn_i_armor_m113_acav_06"
TURRETS: [0]

VEHICLE TYPE: "vn_o_armor_m113_01"
TURRETS: [1]

VEHICLE TYPE: "vn_o_armor_m113_acav_01"
TURRETS: [0]

VEHICLE TYPE: "vn_o_armor_m113_acav_03"
TURRETS: [0]

VEHICLE TYPE: "vn_o_armor_btr50pk_02_nva65"
TURRETS: [2]

VEHICLE TYPE: "vn_o_armor_btr50pk_02"
TURRETS: [2]

VEHICLE TYPE: "vn_o_armor_btr50pk_02_nvam"
TURRETS: [2]

VEHICLE TYPE: "vn_i_armor_m125_01"
TURRETS: [1]

VEHICLE TYPE: "vn_i_armor_m132_01"
TURRETS: [0]

VEHICLE TYPE: "vn_i_armor_m577_01"
TURRETS: [1], [2], [3], [4], [5], [6], [7], [8], [9], [10]

VEHICLE TYPE: "vn_i_armor_m577_02"
TURRETS: [3], [4]

VEHICLE TYPE: "vn_b_armor_m125_01_aus_army"
TURRETS: [1]

VEHICLE TYPE: "vn_b_armor_m577_01_aus_army"
TURRETS: [1], [2], [3], [4], [5], [6], [7], [8], [9], [10]

VEHICLE TYPE: "vn_b_armor_m577_02_aus_army"
TURRETS: [3], [4]

VEHICLE TYPE: "vn_i_armor_m113_01_fank_71"
TURRETS: [1]

VEHICLE TYPE: "vn_i_armor_m113_acav_01_fank_71"
TURRETS: [0]

VEHICLE TYPE: "vn_i_armor_m113_acav_02_fank_71"
TURRETS: [0]

VEHICLE TYPE: "vn_i_armor_m113_acav_03_fank_71"
TURRETS: [0]

VEHICLE TYPE: "vn_i_armor_m113_acav_06_fank_71"
TURRETS: [0]

VEHICLE TYPE: "vn_o_armor_m113_01_kr"
TURRETS: [1]

VEHICLE TYPE: "vn_o_armor_m113_acav_01_kr"
TURRETS: [0]

VEHICLE TYPE: "vn_o_armor_m113_acav_02_kr"
TURRETS: [0]

VEHICLE TYPE: "vn_o_armor_m113_acav_03_kr"
TURRETS: [0]

VEHICLE TYPE: "vn_o_armor_m113_acav_06_kr"
TURRETS: [0]

VEHICLE TYPE: "vn_o_armor_m125_01"
TURRETS: [1]

VEHICLE TYPE: "vn_o_armor_m577_01"
TURRETS: [1], [2], [3], [4], [5], [6], [7], [8], [9], [10]

VEHICLE TYPE: "vn_o_armor_m577_02"
TURRETS: [3], [4]

VEHICLE TYPE: "vn_b_armor_m125_01_rok_army"
TURRETS: [1]

VEHICLE TYPE: "vn_b_armor_m577_01_rok_army"
TURRETS: [1], [2], [3], [4], [5], [6], [7], [8], [9], [10]

VEHICLE TYPE: "vn_b_armor_m577_02_rok_army"
TURRETS: [3], [4]

VEHICLE TYPE: "vn_b_armor_m125_01"
TURRETS: [1]

VEHICLE TYPE: "vn_b_armor_m132_01"
TURRETS: [0]

VEHICLE TYPE: "vn_b_armor_m577_01"
TURRETS: [1], [2], [3], [4], [5], [6], [7], [8], [9], [10]

VEHICLE TYPE: "vn_b_armor_m577_02"
TURRETS: [3], [4]


Event Timeline