Jump to content
Sign in to follow this  
fluttershy

Clothing Item Crate via config.cpp - need help

Recommended Posts

So i created my retexture for our group and now i am looking to add in a Crate that will hold all different uniforms and is placeable within the Editor for simple use.

My issue is: apperently i can not find the respective commands to make them appear.

I looked into several Weaponbox configs but could not find anything related to items.

My current Config code looks like this:

class CfgVehicles {

class NATO_Box_Base;

class STA_Clothes_box: NATO_Box_Base { 
	scope = 2;
	vehicleClass = "Items";   //unsure if correct
	displayName = "ST-Alpha Clothing Crate";
	model = "\A3\weapons_F\AmmoBoxes\WpnsBox_F";
	icon = "iconCrateWpns";

	class TransportItems { //TransportWeapons,TransportMagazines works TransportItems does not

		class _xx_stafg_tundra {
			item = "stafg_tundra"; //base class for uniform
			count = 20;
		};
	};
      };

So my issue is the Parameter TransportItems, i tried TransportWeapons as well as TransportMagazines which i was able to find on the BIWIKI but that did not work as planned. Is there a possible work-around or way to fix this? - I really do not want to fill the crate via Script as ease of use is the most important right now.

Does anyone know how to?

Share this post


Link to post
Share on other sites

Just a wild guess, did you try to add an empty transportWeapons and transportMagazines?

Share this post


Link to post
Share on other sites

problem solved. In order to make it work i have to place weapon definitions on the items.

So pretty much rework my whole config, but it will be worth it i think.

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  

×