Jump to content
Sign in to follow this  
OberSchutze

Adding TFAR LR radio to Platecarrier

Recommended Posts

Greetings everyone. I am a little stumped at the moment and am hoping you all can help me. I have a Mod I am working on and the last part of it I have left is to add a LR radio to the platecarrier. It works fine when I add the code to the backpacks but not the carrier any help would be greatly appreciated.

class 20thSFG_OCP_PlateCarrier1_rgr : Vest_Camo_Base {
	scope = 2;
	displayName = "20th SFG OCP Light Carrier";
	picture = "\A3\characters_f\Data\UI\icon_V_plate_carrier_1_CA.paa";
	model = "\A3\Characters_F_EPA\BLUFOR\equip_b_vest_kerry";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\20thSFG_Mod\data\textures\20thSFG_mcam_vest_co.paa"};

	class ItemInfo : VestItem {
		uniformModel = "\A3\Characters_F_EPA\BLUFOR\equip_b_vest_kerry";
		containerClass = "Supply100";
		mass = 50;
		armor = 100;
		passThrough = 0.7;
		hiddenSelections[] = {"camo"};
		tf_range = 20000;
		tf_dialogUpdate = "call TFAR_fnc_updateLRDialogToChannel;";
		tf_hasLRradio = 1;
		tf_encryptionCode = "tf_west_radio_code";
		tf_dialog = "rt1523g_radio_dialog";
		tf_subtype = "digital_lr";

	};
};

Share this post


Link to post
Share on other sites

If i had to guess, it's because TFAR is only allowing the backpack class's the ability to enact the code you've put in. Likely if you ask about where you can allow this class to be able to do that, they can tell you and you can make a tack-on addon to TFAR to make it work.

Share this post


Link to post
Share on other sites
Greetings everyone. I am a little stumped at the moment and am hoping you all can help me. I have a Mod I am working on and the last part of it I have left is to add a LR radio to the platecarrier. It works fine when I add the code to the backpacks but not the carrier any help would be greatly appreciated.

class 20thSFG_OCP_PlateCarrier1_rgr : Vest_Camo_Base {
	scope = 2;
	displayName = "20th SFG OCP Light Carrier";
	picture = "\A3\characters_f\Data\UI\icon_V_plate_carrier_1_CA.paa";
	model = "\A3\Characters_F_EPA\BLUFOR\equip_b_vest_kerry";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\20thSFG_Mod\data\textures\20thSFG_mcam_vest_co.paa"};

	class ItemInfo : VestItem {
		uniformModel = "\A3\Characters_F_EPA\BLUFOR\equip_b_vest_kerry";
		containerClass = "Supply100";
		mass = 50;
		armor = 100;
		passThrough = 0.7;
		hiddenSelections[] = {"camo"};
		tf_range = 20000;
		tf_dialogUpdate = "call TFAR_fnc_updateLRDialogToChannel;";
		tf_hasLRradio = 1;
		tf_encryptionCode = "tf_west_radio_code";
		tf_dialog = "rt1523g_radio_dialog";
		tf_subtype = "digital_lr";

	};
};

that is not a bad idea at all

Share this post


Link to post
Share on other sites

I have had a few discussions with NKey about this issue. Apparently the way he wrote TFAR it utilizes a vehicle slot for the radio. Since the Platecarrier is a weapon and not a vehicle slot like the backpack is why it won't work.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×