Page MenuHomeFeedback Tracker

Feature Request: unique object categories
Closed, ResolvedPublic

Description

Hello BI Team,

for weapon stores, clothes stores, supermarkets it would be great to have a standardized category attribute for each item.

This would help to generate dynamic stores, which are easily ready for updates.

Details

Legacy ID
2145528474
Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Feature Request
Steps To Reproduce

Weapons: Currently i am sorting trough scopes this is OK, but the naming for categories is weird. I sort it currently though description string actions.
aj_wpTypes = [

		"Assault rifle ",
		"Marksman rifle",
		"Light Machine Gun",
		"Submachine Gun",
		"Sniper Rifle",
		"Handgun",
		"Rocket Launcher",
		"Medium Machine Gun",
		"Underwater Gun",
		"PCML Rocket Launcher"
		];

This works, but could screw up on updates.

For Vehicles i and static objects i use kindof - this works. but i would like to have general functions for categorizing of each store object.

Scopes and Attachments are being sorted through linkedItems, which is OK.

Additional Information

The main problem: Weapon categories.
I am fearing problems with the categories there:
_weaponType = ([_description, "<"] call BIS_fnc_splitString) select 0;
if(_weaponType in _weaponTypeDescriptionSearchString && (configName _x find "base") == -1 && !((configName _x) in _tempDuplicateFilterArray)) then {

							if(_weaponType == "PCML Rocket Launcher") then {_weaponType = "Rocket Launcher"};

Event Timeline

Hatchet_Harry edited Additional Information. (Show Details)
Hatchet_Harry set Category to Feature Request.
Hatchet_Harry set Reproducibility to Always.
Hatchet_Harry set Severity to None.
Hatchet_Harry set Resolution to Open.
Hatchet_Harry set Legacy ID to 2145528474.May 8 2016, 12:15 PM
Hatchet_Harry added a subscriber: Hatchet_Harry.

Oh i didnt sort through scopes. Maybe i was tired :(

BIS_fnc_itemType is doing the job (delivered with Virtual Arsenal -> marskmen)
For me its fine, if Karel maintains it :D

I think this topic can be closed.
Adam, Thanks for taking care. There are still some Items, which are not being categorized completely (like structures, buildings), but this matches not this ticket.
I try to show up with a modified version of bis_fnc_itemsType, if i get a widely usable idea.

LouMontana closed this task as Resolved.Nov 6 2020, 3:25 PM
LouMontana updated the task description. (Show Details)
LouMontana edited Steps To Reproduce. (Show Details)
LouMontana edited Additional Information. (Show Details)
LouMontana set Operating System to Windows 7.