Page MenuHomeFeedback Tracker

[Feature Request] A way to add hiddenSelections to weapon accessories.
New, NormalPublic

Description

For now, it is impossible to add hiddenSelections to weapon accessories (optics, rail attachments, muzzle attachments, bipods) so impossible to make a retextured variant of an object without making alternative p3ds. (so far it seems)
Since magazines are possible to retexture, I don't think it is impossible in RV4. (I know, everything is possible when someone struggles enough) It could add much for modders and gain possibility.

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General
Additional Information

Repro Mod: https://cdn.discordapp.com/attachments/108187245529268224/1131896763196903435/retexBipods.pbo
Currently it never works, but the config should retex a bipod solid red.

class CfgPatches
{
	class PLP_retexBipod
	{
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {"A3_Data_F_AoW_Loadorder"};
	};
};

class CfgWeapons
{
	class bipod_01_F_snd;
	class PLP_testBipod: bipod_01_F_snd
	{
		hiddenSelections[] = {"camo_1"};
		hiddenSelectionsTextures[] = {"#(argb,1,1,1)color(1,0,0,1,co)"};
		displayName = "retexBipodTest";
	};
};

class UnderBarrelSlot;
class UnderBarrelSlot_rail: UnderBarrelSlot
{
	class compatibleItems
	{
		PLP_testBipod = 1;
	};
};

Event Timeline

POLPOX created this task.Oct 22 2022, 9:25 AM
Pingo added a subscriber: Pingo.Nov 5 2022, 4:51 PM

Agreed, this would be extremely useful for a number of projects I'm working on too

lost added a subscriber: lost.Nov 10 2022, 9:23 PM
POLPOX edited Additional Information. (Show Details)Jul 21 2023, 12:35 PM
POLPOX edited Additional Information. (Show Details)Jul 21 2023, 12:40 PM