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

Retexturing problem

Recommended Posts

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

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

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
Sign in to follow this  

×