Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
caseychapman

Hidden selections

Recommended Posts

Hello, I have a quick question regarding hidden selections, I have made a model configed and working in-game now and I am using a hidden texture selection to place the texture, how now would I call forward that texture onto the model ingame without using this setObjectTexture ect?

class CfgPatches {
class NRPG_Money {
	units[] = {"NRPG_Money"};
	weapons[] = {};
	requiredVersion = 1.0;
};
};

class CfgVehicleClasses {
class NRPG_Bank {
	displayName = "Nerds RPG Bank";
};
};

class CfgVehicles {
class All {};

class Static : All {};

class Building : Static {};

class NRPG_Bank : Building {
	model = "\NRPG_Money\NRPG_Bank_Money_Pile";
	scope = public;
	displayName = "NRPG Bank Money Pile";
	vehicleclass = "NRPG_Bank";
	hiddenSelections[] = {"bank_money_pile"};
	hiddenSelectionsTextures[] = {"\NRPG_Money\default"};
};
};

Share this post


Link to post
Share on other sites

The way ive been doing it is having a new classname that enherits everything from the base class. With the path in the hiddenSelectionsTextures[] being changed to what you want the new texture to be

Share this post


Link to post
Share on other sites
Sign in to follow this  

×