kecske 46 Posted December 30, 2010 So I was trying to create an alternate texture to the ambulance made by Vilas. I made a little config based on the config of the Bundeswehr bus addon, corresponding with the Config info. It created a separate unit but the texture remained the original one. The config (as a config.cpp file): #define private 0 #define protected 1 #define public 2 #define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 #define true 1 #define false 0 class CfgPatches { class KEC_amb_retex { units[]= { "KEC_chr_AMB" }; weapons[]={}; requiredVersion=1.000000; requiredAddons[]= { "VILAS_PL_Forces" }; }; }; class CfgVehicleClasses { class KEC_support { displayName="Support"; }; }; class CfgVehicles { class VIL_lublin_AMBU; class KEC_chr_AMB : VIL_lublin_AMBU { scope=2; displayName="Ambulance (Chernarus)"; vehicleClass="KEC_support"; side=3; faction="CIV"; crew="VIL_ratownik"; rarityUrban = 0.300000; typicalCargo[]= {}; hiddenSelections[] = {"Camo01"}; hiddenSelectionsTextures[]= { "\KEC_amb_retex\textures\lublin_chr.paa" }; }; }; I really don't know what the problem can be (there are no error messages). I hope someone can help me. Share this post Link to post Share on other sites
[aps]gnat 29 Posted December 31, 2010 No, you have the intent of that post all wrong I think. His post was about making YOUR OWN addon able to use different textures. If Vilas ambulance has "hiddenSelections" setup, then it should only need a simple script command like _tank setobjecttexture[0, "\KEC_amb_retex\textures\lublin_chr.paa"]; If he has not setup "hiddenSelections" in that model, then your out of luck, you can not add it with a config. The original addon maker has to set it up at the very start. If still stuck, you should probably ask in his thread. Share this post Link to post Share on other sites
vilas 478 Posted December 31, 2010 it should work on all Polish pack vehicles , hmm , after break i will check it, but should work for clans i will give this ambulance as other things from this pack (but after break, not today ) Share this post Link to post Share on other sites
kecske 46 Posted December 31, 2010 Thanks, no need to hurry. Share this post Link to post Share on other sites