Jump to content
Sign in to follow this  
boby91

Custom tex

Recommended Posts

Hi, I have few questions...

I would like to create colt 1911 from Arma3 like addon for my team with different textures...

I have my new textures done and files from weapons_f_beta.pbo for "hgun_ACPC2".

But I don't know how to join textures with model... I don't see "path" for textures in config.cpp...

And.. what I have to change in config.cpp to have two colts in game.. my.. and standard.

I tried something, but it doesn't work.

Help please..

Here is my config.cpp

class CfgPatches

{

class A3_Weapons_F_Pistols_ACPC2

{

units[]={};

weapons[]=

{

"hgun_ACPC2"

};

requiredVersion=0.1;

requiredAddons[]=

{

"A3_Weapons_F"

};

};

};

class Mode_SemiAuto;

class SlotInfo;

class CfgWeapons

{

class Pistol;

class Pistol_Base_F: Pistol

{

class WeaponSlotsInfo;

};

class hgun_ACPC2_F: Pistol_Base_F

{

scope=2;

model="\ACRW\ACPC20_F.p3d";

picture="\ACRW\data\UI\gear_Acpc20_X_CA.paa";

magazines[]=

{

"9Rnd_45ACP_Mag"

};

displayname="ACR1911";

descriptionShort="$STR_A3_CFGWEAPONS_HGUN_ACPC2_F_2";

class Library

{

libTextDesc="$STR_A3_CfgWeapons_hgun_ACPC2_Library0";

};

reloadTime=0.13;

bullet1[]=

{

"A3\Sounds_F\weapons\shells\9mm\metal_9mm_01",

0.50118721,

1,

15

};

bullet2[]=

{

"A3\Sounds_F\weapons\shells\9mm\metal_9mm_02",

0.50118721,

1,

15

};

bullet3[]=

{

"A3\Sounds_F\weapons\shells\9mm\metal_9mm_03",

0.50118721,

1,

15

};

bullet4[]=

{

"A3\Sounds_F\weapons\shells\9mm\metal_9mm_04",

0.50118721,

1,

15

};

bullet5[]=

{

"A3\Sounds_F\weapons\shells\9mm\dirt_9mm_01",

0.39810717,

1,

15

};

bullet6[]=

{

"A3\Sounds_F\weapons\shells\9mm\dirt_9mm_02",

0.39810717,

1,

15

};

bullet7[]=

{

"A3\Sounds_F\weapons\shells\9mm\dirt_9mm_03",

0.39810717,

1,

15

};

bullet8[]=

{

"A3\Sounds_F\weapons\shells\9mm\dirt_9mm_04",

0.39810717,

1,

15

};

bullet9[]=

{

"A3\Sounds_F\weapons\shells\9mm\grass_9mm_01",

0.2238721,

1,

15

};

bullet10[]=

{

"A3\Sounds_F\weapons\shells\9mm\grass_9mm_02",

0.2238721,

1,

15

};

bullet11[]=

{

"A3\Sounds_F\weapons\shells\9mm\grass_9mm_03",

0.2238721,

1,

15

};

bullet12[]=

{

"A3\Sounds_F\weapons\shells\9mm\grass_9mm_04",

0.2238721,

1,

15

};

soundBullet[]=

{

"bullet1",

0.082999997,

"bullet2",

0.082999997,

"bullet3",

0.082999997,

"bullet4",

0.082999997,

"bullet5",

0.082999997,

"bullet6",

0.082999997,

"bullet7",

0.082999997,

"bullet8",

0.082999997,

"bullet9",

0.082999997,

"bullet10",

0.082999997,

"bullet11",

0.082999997,

"bullet12",

0.082999997

};

begin1[]=

{

"A3\Sounds_F\weapons\Pistols\Pistols_st_1",

1.1220185,

1,

700

};

begin2[]=

{

"A3\Sounds_F\weapons\Pistols\Pistols_st_2",

1.1220185,

1,

700

};

soundBegin[]=

{

"begin1",

0.5,

"begin2",

0.5

};

closure1[]=

{

"A3\Sounds_F\weapons\closure\closure_handgun_3",

1.0351422,

1,

30

};

closure2[]=

{

"A3\Sounds_F\weapons\closure\closure_handgun_3",

1.0351422,

1.1,

30

};

soundClosure[]=

{

"closure1",

0.5,

"closure2",

0.5

};

weaponSoundEffect="DefaultRifle";

drySound[]=

{

"A3\Sounds_F\weapons\other\dry1",

0.39810717,

1,

20

};

reloadMagazineSound[]=

{

"A3\Sounds_F\weapons\Pistols\p07_reload",

0.56234133,

1,

30

};

recoil="recoil_pistol_light";

recoilProne="recoil_prone_pistol_light";

class WeaponSlotsInfo: WeaponSlotsInfo

{

mass=7;

class CowsSlot

{

};

class MuzzleSlot: SlotInfo

{

linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";

compatibleItems[]=

{

"muzzle_snds_acp"

};

};

};

};

class hgun_ACPC2_snds_F: hgun_ACPC2_F

{

class LinkedItems

{

class LinkedItemsMuzzle

{

slot="MuzzleSlot";

item="muzzle_snds_acp";

};

};

};

};

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  

×