Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

Country: us
Location: Connecticut
Occupation: Student
Age:
In-game name: Ninja

 
#1 Posted at 2014-11-28 12:16        
     
I've been following this guide, along with a youtube video, and I made my retexture and successfully got it in game on a custom faction.

The trouble is I just want it to be an item, not linked with a faction, that I can then add into shops on my server. When I tried to do this I got tons of errors. I am having lots of trouble, and am very tired.

Help!

EDIT: here is my config:

class CfgPatches {
	class texture_tut_files
	{
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.00;
		requiredAddons[] = {"A3_Characters_F_Common", "A3_Characters_F"};
		version = "1.01";
	};
};


#define magentry(mag, num)      \
		class _xx_##mag       	\
		{          				\
			magazine = #mag;    \
			count = num;      	\
		}
		
#define wepentry(wep, num)  	\
		class _xx_##wep 		\
		{ 						\
			weapon = #wep; 		\
			count = num; 		\
		}

#define itementry(item, num) class _xx_##item { name=#item; count = num; }

class CfgVehicleClasses {
	class My_vehicleclass {
		displayName = "retexture";
	};
};


class CfgVehicles {

	class NATO_Box_Base;
	class I_soldier_F;
	class B_Competitor_F;
	class B_Carryall_oli;
	class B_TacticalPack_rgr;

	class My_Unit: I_soldier_F 
	{
		side = 1;
		scope = 2;
		author = "Slatts";
		vehicleClass = "My_vehicleclass";	
		uniformClass = "My_retexture";
		displayName = "Rifleman";
		hiddenSelections[] = {"Camo"};
		hiddenSelectionsTextures[] = {"\flecktarn\data\flecktarn_camo.paa"};
	};
//ammo boxs
	class IAF_equipbox: NATO_Box_Base
	{
		scope = 2;
		accuracy = 1000;
		author = "Slatts";
		displayName = "My Box";
		model = "\A3\weapons_F\AmmoBoxes\WpnsBox_F";

		class TransportItems
		{
			itementry(My_retexure, 1);
		};
	};		

};
class CfgWeapons {

	// Uniforms
	class U_I_CombatUniform;
	class UniformItem;
	class VestItem;
	class V_PlateCarrierIA1_dgtl;
	class H_HelmetB;
	class ItemInfo;
	class V_TacVestCamo_khk;
	class H_Booniehat_mcamo;
	class H_MilCap_blue;
	class U_Competitor;

	class My_retexture: U_I_CombatUniform {
		scope = 2;
		displayName = "My cool uniform";
		hiddenSelectionsTextures[] = {"\texture_tut_files\data\my_camo.paa"};

		class ItemInfo: UniformItem {
			uniformModel = "-";
			uniformClass = "My_Unit";
			containerClass = "Supply50";
			mass = 50;
			hiddenSelections[] = {"Camo"};
		};
	};
};

*insert clever phrase here





Tags: Help, Retexture