Page MenuHomeFeedback Tracker

MineDetector equipable in Launcher slot
New, WishlistPublic

Description

When using "addWeaponCargo" or placing the NATO Support Box ("Box_NATO_Support_F") as Zeus (important!) you're able to equip the "MineDetector" as secondary weapon. Or every other item that uses:

class Test: ItemCore {
  type = 4;
  detectRange = -1;
  simulation = "ItemMineDetector";
};

Details

Legacy ID
2215250113
Severity
None
Resolution
Open
Reproducibility
Always
Category
Inventory
Steps To Reproduce

ammo_box addWeaponCargo ["MineDetector", 1]
-> MineDetector has no weight and can be equipped as secondary weapon.

ammo_box addItemCargo ["MineDetector", 1]
-> MineDetector has weight and cannot be equipped as weapon.

or

Placing "Box_NATO_Support_F" as Zeus

Event Timeline

bux578 edited Steps To Reproduce. (Show Details)Oct 2 2014, 11:05 AM
bux578 edited Additional Information. (Show Details)
bux578 set Category to Inventory.
bux578 set Reproducibility to Always.
bux578 set Severity to None.
bux578 set Resolution to Open.
bux578 set Legacy ID to 2215250113.May 7 2016, 7:32 PM

problem is probably in ui_f_curator\UI\RscCommon\RscAttributeInventory.sqf, row 374

Another issue is that when you pick up Mine Detector (or any item inheriting from that, in mods for example) via Pick up action (in mouse wheel), the item will simply disappear and leave an empty GroundWeaponHolder"

Via Inventory Dialog it works fine though (both by pressing hotkey or action menu->Inventory), bug here is "Pick up action".

ammo_box addWeaponCargo ["MineDetector", 1]
-> MineDetector has no weight and can be equipped as secondary weapon.

The mine detector spawned in that way still has no weight, but it no longer can be equipped as secondary weapon.