Jump to content
Sign in to follow this  
Evishion

Change soldier on gun

Recommended Posts

Hey.. maybe this is a wrong place to write.. if so, Im sorry

Ok, the prob is that I made a gun, and I wanna it to be default for Hyks soldiers..

here is my config:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">// XM8 Made by DiabloTerror

// some basic defines

#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

// type scope

#define private 0

#define protected 1

#define public 2

#define WeaponNoSlot 0// dummy weapons

#define WeaponSlotPrimary 1// primary weapons

#define WeaponSlotSecondary 16// secondary weapons

#define WeaponSlotItem 256// items

#define WeaponSlotBinocular 4096// binocular

#define WeaponHardMounted 65536

class CfgPatches

{

class XM8

{

units[] = {};

weapons[] = {XM8};

requiredVersion = 1.75;

};

};

class CfgModels

{

class Default

{

sections[]={};

sectionsInherit="";

};

class Weapon: Default

{

sections[]={"zasleh"};

};

class XM8: Weapon{};

};

class CfgAmmo

{

class default {};

class BulletSingle : default{};

class XM8Bul: BulletSingle

{

hit=9;

indirectHit=1;

indirectHitRange=0.100000;

tracerColor[]={4.6,2.4,2.2,12.100000};

tracerColorR[]={2.5,2.5,2.5,10.100000};

};

};

class CfgRecoils

{

XM8RecoilS[]={0.030000,0.015000,0.035000,0.042000,0,0};

XM8RecoilA[]={0.030000,0.015000,0.035000,0.042000,0,0};

};

class CfgWeapons

{

class Default {};

class MGun: Default {};

class Riffle: MGun {};

class XM8Base: Riffle

{

cursorAim="\DT_XM8\T\w_lock.paa";

cursor="\DT_XM8\T\w_weapon.paa";

scopeWeapon=2;

scopeMagazine=2;

model="\DT_XM8\XM8";

modelOptics="optika_ak47";

optics=1;

opticsZoomMin=0.280000;

opticsZoomMax=0.280000;

displayName="XM8";

displayNameMagazine="XM8 Mag.";

shortNameMagazine="XM8";

drySound[]={"\DT_XM8\Sounds\Dry.wav",1.000000,1.00};

modes[]={"Single","Auto"};

magazines[]={"XM8Mag"};

class Auto

{

ammo="XM8Bul";

multiplier=1;

burst=1;

displayName="5.56 Full";

dispersion=0.000800;

sound[]={"\DT_XM8\Sounds\Fire.wav",1.000000,1.00};

soundContinuous=0;

reloadTime=0.100000;

ffCount=30;

recoil="XM8RecoilA";

autoFire=1;

aiRateOfFire=5.000000;

aiRateOfFireDistance=500;

useAction=0;

useActionTitle="";

};

class Single

{

ammo="XM8bul";

multiplier=1;

burst=1;

displayName="5.56 Semi";

dispersion=0.000800;

sound[]={"\DT_XM8\Sounds\Fire.wav",1.000000,1.00};

soundContinuous=0;

reloadTime=0.100000;

ffCount=1;

recoil="XM8RecoilS";

autoFire=0;

aiRateOfFire=5.000000;

aiRateOfFireDistance=500;

useAction=0;

useActionTitle="";

};

};

class XM8: XM8Base

{

picture="\AEK971\AEK971.jpg";

scopeWeapon=2;

scopeMagazine=0;

};

class XM8Mag: XM8Base

{

picture="\AEK971\AEK971mag.jpg";

scopeWeapon=0;

scopeMagazine=2;

};

};

class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Land:AllVehicles{};

class Man:Land{};

class Soldier:Man{};

class SoldierWB:Soldier{};

class SoldierXM8:SoldierWB

{

accuracy=200;

displayName="XM8 Soldier";

weapons[]={"XM8","Throw","Put"};

magazines[]={"XM8Mag","XM8Mag","XM8Mag","XM8Mag","XM8Mag","HandGrenade","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};

};

So, if anyone could copy the whole config and change it so it fits hyks 03 wood units and post it it would be awesome..

thx

Share this post


Link to post
Share on other sites

Anyone know ?

surely simple.. but I just dont know how

Share this post


Link to post
Share on other sites

I guess this should be taken to addon&mods. They have more plan on this I guess.

Tell a moderator to place the thread there.

Share this post


Link to post
Share on other sites

I am not familiar with Hyks soldiers....if you post a config from them , I could help

Share this post


Link to post
Share on other sites

Hysk Config:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">// Modified by Miss Cleo

// requires Earl and Suchey's Marine Assault Pack,BAS Deltas+Ranger pack and Inquisitor's // weapons

// HYK Modern U.S. Infantry Pack - Version 1.00

//

//

// Presented by Hyakushiki

//

// Email: hyakushiki_m4a1@hotmail,com

// Web: http://page.freett.com/type100/

//

// Base human body model by RyoGuGu (@@)

//

// Special thanks to RyoGuGu (@@) and Battle Over Hokkaido Modification Team

// Web: http://ofpboh.himitsukichi.com/

//

//

//

// Version History

//

// 1.00 - First public version.

//

//

// Basic defines

#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

#define private 0

#define protected 1

#define public 2

#define WeaponNoSlot 0

#define WeaponSlotPrimary 1

#define WeaponSlotSecondary 16

#define WeaponSlotItem 256

#define WeaponSlotBinocular 4096

#define WeaponHardMounted 65536

// Material Settings

class CfgTextureToMaterial

{

class GoggleGlass

{

textures[]=

{

"\HYK_USsol\wl\g_glass.paa"

};

material="#SpecularGlass";

};

};

// 3D model configs

class CfgModels

{

class Default{};

class Man: Default {};

class HYK_USsol_wl: Man

{

sections[] =

{

"head injury",

"body injury",

"osobnost",

"l arm injury",

"r arm injury",

"p arm injury",

"l leg injury",

"r leg injury",

"p leg injury",

"medic",

"hlava",

"krk",

"zadni svetlo",

"zasleh",

"facenull",

"gooAX",

"google",

"goo",

"mic"

};

sectionsInherit=Head;

};

class HYK_USsol_de: HYK_USsol_wl {};

class HYK_USsol_wl85: HYK_USsol_wl {};

class HYK_USsol_de91: HYK_USsol_wl {};

class HYK_USoff_wl: Man

{

sections[] =

{

"head injury",

"body injury",

"osobnost",

"l arm injury",

"r arm injury",

"p arm injury",

"l leg injury",

"r leg injury",

"p leg injury",

"hlava",

"krk",

"zadni svetlo",

"zasleh",

"facenull",

"ohat",

"bhat",

"bodyarmor",

"gasbag",

"mic"

};

sectionsInherit=Head;

};

class HYK_USoff_de: HYK_USoff_wl {};

class HYK_USoff_wl85: HYK_USoff_wl {};

class HYK_USoff_de91: HYK_USoff_wl {};

};

// Configs about required addons

class CfgPatches

{

class HYK_USsoldiers

{

units[]=

{

"HYK_USsolBase",

// Wood Land BDU soldiers

"HYK_USsolWL",

"HYK_USsolMedicWL",

"HYK_USsolGLWL",

"HYK_USsolMGWL",

"HYK_USsolSAWWL",

"HYK_USsolAT1WL",

"HYK_USsolAT2WL",

"HYK_USsolAAWL",

"HYK_USsolMinerWL",

"HYK_USTleaderWL",

"HYK_USsniper1WL",

"HYK_USsniper2WL",

"HYK_USofficerWL",

"HYK_UScaptiveWL",

"HYK_USsolWL85",

"HYK_USsolMedicWL85",

"HYK_USsolGLWL85",

"HYK_USsolMGWL85",

"HYK_USsolSAWWL85",

"HYK_USsolAT1WL85",

"HYK_USsolAT2WL85",

"HYK_USsolAAWL85",

"HYK_USsolMinerWL85",

"HYK_USTleaderWL85",

"HYK_USsniper1WL85",

"HYK_USsniper2WL85",

"HYK_USofficerWL85",

// Desert BDU soldiers

"HYK_USsolDe",

"HYK_USsolMedicDe",

"HYK_USsolGLDe",

"HYK_USsolMGDe",

"HYK_USsolSAWDe",

"HYK_USsolAT1De",

"HYK_USsolAT2De",

"HYK_USsolAADe",

"HYK_USsolMinerDe",

"HYK_USTleaderDe",

"HYK_USsniper1De",

"HYK_USsniper2De",

"HYK_USofficerDe",

"HYK_UScaptiveDe",

"HYK_USsolDe91",

"HYK_USsolMedicDe91",

"HYK_USsolGLDe91",

"HYK_USsolMGDe91",

"HYK_USsolSAWDe91",

"HYK_USsolAT1De91",

"HYK_USsolAT2De91",

"HYK_USsolAADe91",

"HYK_USsolMinerDe91",

"HYK_USTleaderDe91",

"HYK_USsniper1De91",

"HYK_USsniper2De91",

"HYK_USofficerDe91",

"HYK_UScaptiveDe91",

};

requiredAddons[]=

{

"BIS_Resistance",

"BIS_WeaponPack",

"JAM_Magazines"

};

requiredVersion = 1.91;

};

};

// Unit configs

class CfgVehicles

{

class All{};

class AllVehicles: All{};

class Land: AllVehicles{};

class Man: Land{};

class Soldier: Man{};

// Base Settings

class HYK_USSolBase: Soldier

{

vehicleClass="HYK/Men (WoodLand/'03)";

scope=1;

model="\HYK_USsol\wl\HYK_USsol_wl.p3d";

moves="CfgMovesMC";

side=1;

armor=4.0;

armorHead=1.2;

armorBody=4.5;

cost=10000;

accuracy=0.7;

animated=1;

weapons[]=

{

"Throw",

"Put",

"C8XM16"

};

magazines[]=

{

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"HandGrenade",

"HandGrenade",

"HandGrenade"

};

hiddenSelections[]=

{

"medic",

"mic"

};

wounds[]=

{

// Target Textures , Damaged Textures

// Face Textures

"xicht_a.paa","xicht_a_zranen",

"xicht_b.paa","xicht_a_zranen",

"xicht_c.paa","xicht_a_zranen",

"xicht_d.paa","xicht_a_zranen",

"xicht_e.paa","xicht_e_zranen",

"xicht_f.paa","xicht_a_zranen",

"xicht_g.paa","xicht_a_zranen",

"xicht_h.paa","xicht_a_zranen",

"xicht_i.paa","xicht_a_zranen",

"xicht_j.paa","xicht_a_zranen",

"xicht_k.paa","xicht_a_zranen",

"xicht_l.paa","xicht_a_zranen",

"xicht_m.paa","xicht_a_zranen",

"xicht_n.paa","xicht_a_zranen",

"xicht_o.paa","xicht_o_zranen",

"xicht_p.paa","xicht_a_zranen",

"xicht_q.paa","xicht_a_zranen",

"xicht_r.paa","xicht_a_zranen",

"xicht_s.paa","xicht_a_zranen",

"xicht_t.paa","xicht_a_zranen",

"xicht_u.paa","xicht_a_zranen",

"xicht_v.paa","xicht_v_zranen",

"xicht_w.paa","xicht_w_zranen",

"xicht_x.paa","xicht_a_zranen",

"xicht_y.paa","xicht_a_zranen",

"xicht_z.paa","xicht_a_zranen",

"xicht_2a.paa","xicht_a_zranen",

"xicht_2b.paa","xicht_w_zranen",

"xicht_2c.paa","xicht_a_zranen",

"xicht_2d.paa","xicht_v_zranen",

"xicht_2e.paa","xicht_a_zranen",

"xicht_2f.paa","xicht_a_zranen",

"xicht_2g.paa","xicht_w_zranen",

"xicht_2h.paa","xicht_a_zranen",

"xicht_2i.paa","xicht_a_zranen",

"xicht_2j.paa","xicht_a_zranen",

"xicht_2k.paa","xicht_a_zranen",

"xicht_2l.paa","xicht_a_zranen",

"xicht_2m.paa","xicht_a_zranen",

"xicht_2n.paa","xicht_a_zranen",

"xicht_2o.paa","xicht_a_zranen",

"xicht_2p.paa","xicht_2p_zranen",

"xicht_2q.paa","xicht_a_zranen",

"xicht_2r.paa","xicht_e_zranen",

"xicht_2s.paa","xicht_a_zranen",

"xicht_2t.paa","xicht_a_zranen",

"xicht_2u.paa","xicht_a_zranen",

"xicht_2v.paa","xicht_a_zranen",

"xicht_2w.paa","xicht_w_zranen",

"xicht_2x.paa","xicht_a_zranen",

"xicht_2y.paa","xicht_a_zranen",

"xicht_2z.paa","xicht_a_zranen",

// Wood Land BDU Textures ('03)

"\HYK_USsol\wl\arm_L.paa","\HYK_USsol\wl\arm_Ld.paa",

"\HYK_USsol\wl\arm_R.paa","\HYK_USsol\wl\arm_Rd.paa",

"\HYK_USsol\wl\ba_bk.paa","\HYK_USsol\wl\ba_bkd.paa",

"\HYK_USsol\wl\ba_frt.paa","\HYK_USsol\wl\ba_frtd.paa",

"\HYK_USsol\wl\baO_bk.paa","\HYK_USsol\wl\baO_bkd.paa",

"\HYK_USsol\wl\baO_frt.paa","\HYK_USsol\wl\baO_frtd.paa",

"\HYK_USsol\wl\body_bk.paa","\HYK_USsol\wl\body_bkd.paa",

"\HYK_USsol\wl\body_frt.paa","\HYK_USsol\wl\body_frtd.paa",

"\HYK_USsol\wl\foot_bk.paa","\HYK_USsol\wl\foot_bkd.paa",

"\HYK_USsol\wl\foot_frt.paa","\HYK_USsol\wl\foot_frtd.paa",

"\HYK_USsol\wl\footO_bk.paa","\HYK_USsol\wl\footO_bkd.paa",

"\HYK_USsol\wl\footO_frt.paa","\HYK_USsol\wl\footO_frtd.paa",

"\HYK_USsol\wl\footpok.paa","\HYK_USsol\wl\footpokd.paa",

"\HYK_USsol\wl\helm_sid.paa","\HYK_USsol\wl\helm_sidd.paa",

"\HYK_USsol\wl\helm_tp.paa","\HYK_USsol\wl\helm_tpd.paa",

"\HYK_USsol\wl\hat_tp.paa","\HYK_USsol\wl\hat_tpd.paa",

"\HYK_USsol\wl\hat_sid.paa","\HYK_USsol\wl\hat_sidd.paa",

"\HYK_USsol\wl\bhat_tp.paa","\HYK_USsol\wl\bhat_tpd.paa",

"\HYK_USsol\wl\bhat_sid.paa","\HYK_USsol\wl\bhat_sidd.paa",

// Wood Land BDU Textures ('85)

"\HYK_USsol\wl\ba_bk85.paa","\HYK_USsol\wl\ba_bk85d.paa",

"\HYK_USsol\wl\ba_frt85.paa","\HYK_USsol\wl\ba_frt85d.paa",

"\HYK_USsol\wl\helm_sid85.paa","\HYK_USsol\wl\helm_sid85d.paa",

"\HYK_USsol\wl\helm_tp85.paa","\HYK_USsol\wl\helm_tp85d.paa",

// Desert BDU Textures ('03)

"\HYK_USsol\de\arm_L.paa","\HYK_USsol\de\arm_Ld.paa",

"\HYK_USsol\de\arm_R.paa","\HYK_USsol\de\arm_Rd.paa",

"\HYK_USsol\de\ba_bk.paa","\HYK_USsol\de\ba_bkd.paa",

"\HYK_USsol\de\ba_frt.paa","\HYK_USsol\de\ba_frtd.paa",

"\HYK_USsol\de\body_bk.paa","\HYK_USsol\de\body_bkd.paa",

"\HYK_USsol\de\body_frt.paa","\HYK_USsol\de\body_frtd.paa",

"\HYK_USsol\de\foot_bk.paa","\HYK_USsol\de\foot_bkd.paa",

"\HYK_USsol\de\foot_frt.paa","\HYK_USsol\de\foot_frtd.paa",

"\HYK_USsol\de\footO_bk.paa","\HYK_USsol\de\footO_bkd.paa",

"\HYK_USsol\de\footO_frt.paa","\HYK_USsol\de\footO_frtd.paa",

"\HYK_USsol\de\footpok.paa","\HYK_USsol\de\footpokd.paa",

"\HYK_USsol\de\helm_sid.paa","\HYK_USsol\de\helm_sidd.paa",

"\HYK_USsol\de\helm_tp.paa","\HYK_USsol\de\helm_tpd.paa",

"\HYK_USsol\de\hat_tp.paa","\HYK_USsol\de\hat_tpd.paa",

"\HYK_USsol\de\hat_sid.paa","\HYK_USsol\de\hat_sidd.paa",

"\HYK_USsol\de\bhat_tp.paa","\HYK_USsol\de\bhat_tpd.paa",

"\HYK_USsol\de\bhat_sid.paa","\HYK_USsol\de\bhat_sidd.paa",

// Desert BDU Textures ('91)

"\HYK_USsol\de\arm_L91.paa","\HYK_USsol\de\arm_L91d.paa",

"\HYK_USsol\de\arm_R91.paa","\HYK_USsol\de\arm_R91d.paa",

"\HYK_USsol\de\ba_bk85.paa","\HYK_USsol\de\ba_bk85d.paa",

"\HYK_USsol\de\ba_frt85.paa","\HYK_USsol\de\ba_frt85d.paa",

"\HYK_USsol\de\body_bk91.paa","\HYK_USsol\de\body_bk91d.paa",

"\HYK_USsol\de\body_frt91.paa","\HYK_USsol\de\body_frt91d.paa",

"\HYK_USsol\de\foot_bk91.paa","\HYK_USsol\de\foot_bk91d.paa",

"\HYK_USsol\de\foot_frt91.paa","\HYK_USsol\de\foot_frt91d.paa",

"\HYK_USsol\de\footpok91.paa","\HYK_USsol\de\footpok91d.paa",

"\HYK_USsol\de\helm_sid91.paa","\HYK_USsol\de\helm_sid91d.paa",

"\HYK_USsol\de\helm_tp91.paa","\HYK_USsol\de\helm_tp91d.paa",

"\HYK_USsol\de\hat_tp91.paa","\HYK_USsol\de\hat_tp91d.paa",

"\HYK_USsol\de\hat_sid91.paa","\HYK_USsol\de\hat_sid91d.paa",

"\HYK_USsol\de\bhat_tp91.paa","\HYK_USsol\de\bhat_tp91d.paa",

"\HYK_USsol\de\bhat_sid91.paa","\HYK_USsol\de\bhat_sid91d.paa"

};

class EventHandlers

{

fired = " if ( (_this select 1 in [{Throw},{JAM_AT4Launcher},{JAM_RPG7Launcher},{JAM_M72LAWLauncher}]) or (_this select 4 in [{JAM_MarkerGrenadeammo}]) ) then {_this exec {\JAM_Magazines\FX\firedEH.sqs}}";

};

};

// Wood Land BDU soldiers ('03)

class HYK_USsolWL: HYK_USsolBase

{

scope=2;

displayName="Rifleman";

class animations

{

class goggles

{

type="rotation";

animPeriod=0.5;

selection="google";

axis="gooAX";

angle0=0;

angle1=-0.659;

};

};

class UserActions

{

class LowerGoggles

{

displayName="Lower Goggles";

position="gooAX";

radius=1.0;

condition="this animationPhase ""goggles"" < 0.5";

statement="this animate [""goggles"",1]";

};

class RaiseGoggles

{

displayName="Raise Goggles";

position="gooAX";

radius=1.0;

condition="this animationPhase ""goggles"" >= 0.5";

statement="this animate [""goggles"",0]";

};

};

};

class HYK_USsolMedicWL: HYK_USsolWL

{

accuracy=1000;

picture="\misc\medik.paa";

nameSound="medic";

cost=60000;

displayName="Medic";

weaponSlots="1 + 4 * 256 + 4096 + 2 + 4 * 32";

attendant=1;

weapons[]=

{

"Throw",

"Put",

"C8XM16"

};

magazines[]=

{

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"C8XM16mag"

};

hiddenSelections[]=

{

"mic"

};

};

class HYK_USsolGLWL: HYK_USsolWL

{

displayName="Rifleman Grenadier";

cost=60000;

accuracy=1000;

threat[]={1,0.1,0.8};

weapons[]=

{

"Throw",

"Put",

"C8XM16M203"

};

magazines[]=

{

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"C8Xm203grenade",

"C8Xm203grenade",

"C8Xm203grenade",

"C8Xm203grenade",

"C8Xm203grenade"

};

};

class HYK_USsolMGWL: HYK_USsolWL

{

nameSound="machineGunner";

displayName="Machine Gunner";

cost=15000;

accuracy=1.5;

threat[]={1,0.1,0.8};

weapons[]=

{

"Throw",

"Put",

"BAS_JM240b"

};

magazines[]=

{

"JAM_W762M_100mag",

"JAM_W762M_100mag",

"JAM_W762M_100mag",

"JAM_W762M_100mag",

"JAM_W762M_100mag"

};

};

class HYK_USsolSAWWL: HYK_USsolWL

{

nameSound="machineGunner";

displayName="Automatic Rifleman";

cost=15000;

accuracy=1.5;

threat[]={1,0.1,0.8};

weapons[]=

{

"Throw",

"Put",

"C8xM249"

};

magazines[]=

{

"C8xm249mag",

"C8xm249mag",

"C8xm249mag",

"C8xm249mag"

};

};

class HYK_USsolAT1WL: HYK_USsolWL

{

nameSound="missileSoldier";

nightVision=1;

displayName="AT Soldier (AT4)";

cost=150000;

accuracy=1.5;

type=0

threat[]={1,0.9,0.1};

weapons[]=

{

"C8XM16",

"JAM_AT4Launcher",

"Throw",

"Put"

};

magazines[]=

{

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"JAM_AT4Rocket",

"JAM_AT4Rocket",

"JAM_AT4Rocket"

};

};

class HYK_USsolAT2WL: HYK_USsolAT1WL

{

displayName="AT Soldier (Javelin)";

weapons[]=

{

"C8XM16",

"SUCHJavelinLauncher",

"Throw"

,"Put"

};

magazines[]=

{

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"SUCHJavelinmag",

};

};

class HYK_USsolAAWL: HYK_USsolAT1WL

{

displayName="AA Soldier";

threat[]={1,0.5,0.9};

weapons[]=

{

"C8XM16",

"AALauncher",

"Throw",

"Put"

};

magazines[]=

{

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"C8XM16mag",

"AALauncher"

};

};

class HYK_USsolMinerWL: HYK_USsolWL

{

displayName="Engineer";

canDeactivateMines=1

picture="\misc\sapper.paa";

accuracy=1000;

threat[]={1,0.5,0.1};

weapons[]=

{

"C8XM4",

"Throw",

"Put"

};

magazines[]=

{

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"Mine",

"Mine",

"Mine"

};

};

class HYK_USTleaderWL: HYK_USsolWL

{

picture="\misc\frcky.paa";

nameSound="officer";

displayName="Team Leader";

accuracy=2.0;

cost=500000;

nightVision=1;

weapons[]=

{

"C8XM4reflex",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"HandGrenade",

"HandGrenade",

"HandGrenade"

};

hiddenSelections[]=

{

"medic"

};

};

class HYK_USsniper1WL: HYK_USsolBase

{

scope=2;

model="\HYK_USsol\wl\HYK_USoff_wl.p3d";

picture="\misc\sniper.paa";

displayName="Marksman (M14)";

nameSound="sniper";

accuracy=3.5;

nightVision=1;

camouflage=0.6;

sensitivity=2;

cost=250000;

armorHead=0.7;

threat[]={1,0.1,0.1};

weapons[]=

{

"BAS_JM14DMR",

"JAM_M9",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"HandGrenade",

"HandGrenade",

"HandGrenade",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag"

};

hiddenSelections[]=

{

"ohat"

};

};

class HYK_USsniper2WL: HYK_USsniper1WL

{

displayName="Sniper (M24)";

weapons[]=

{

"BAS_JM24SWS",

"JAM_M9",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"HandGrenade",

"HandGrenade",

"HandGrenade",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag"

};

};

class HYK_USofficerWL: HYK_USsolBase

{

scope=2;

model="\HYK_USsol\wl\HYK_USoff_wl.p3d";

picture="\misc\frcky.paa";

nameSound="officer";

displayName="Squad Leader";

accuracy=2.0;

cost=500000;

nightVision=1;

armorHead=0.7;

weapons[]=

{

"C8XM4acog",

"JAM_M9",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"C8xm4mag",

"HandGrenade",

"HandGrenade",

"HandGrenade",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag"

};

hiddenSelections[]=

{

"bhat"

};

};

class HYK_UScaptiveWL: HYK_USsolBase

{

scope=2;

model="\HYK_USsol\wl\HYK_USoff_wl.p3d";

displayName="Captive";

armor=3

armorHead=0.7;

armorBody=0.8;

weapons[]={};

magazines[]={};

hiddenSelections[]=

{

"ohat",

"bhat",

"bodyarmor",

"gasbag",

"mic"

};

};

// Wood Land BDU soldiers ('85)

class HYK_USsolWL85: HYK_USsolWL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USsol_wl85.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"Throw",

"Put",

"INQ_M16"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"HandGrenade",

"HandGrenade",

"HandGrenade"

};

class animations {};

class UserActions {};

};

class HYK_USsolMedicWL85: HYK_USsolMedicWL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USsol_wl85.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"Throw",

"Put",

"INQ_M16"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

};

class animations {};

class UserActions {};

};

class HYK_USsolGLWL85: HYK_USsolGLWL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USsol_wl85.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"Throw",

"Put",

"JAM_M16GL"

};

magazines[]=

{

"JAM_W556_30Bmag",

"JAM_W556_30Bmag",

"JAM_W556_30Bmag",

"JAM_W556_30Bmag",

"JAM_W556_30Bmag",

"JAM_M433Grenade",

"JAM_M433Grenade",

"JAM_M433Grenade",

"JAM_M433Grenade",

"JAM_M433Grenade"

};

class animations {};

class UserActions {};

};

class HYK_USsolMGWL85: HYK_USsolMGWL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USsol_wl85.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"Throw",

"Put",

"INQ_M60"

};

magazines[]=

{

"INQ_M60mag",

"INQ_M60mag",

"INQ_M60mag",

"INQ_M60mag",

"INQ_M60mag"

};

class animations {};

class UserActions {};

};

class HYK_USsolSAWWL85: HYK_USsolSAWWL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USsol_wl85.p3d";

armor=3.6;

armorBody=3.0;

displayName="Automatic Rifleman";

weapons[]=

{

"Throw",

"Put",

"INQ_M249"

};

magazines[]=

{

"INQ_M249mag",

"INQ_M249mag",

"INQ_M249mag",

"INQ_M249mag"

};

class animations {};

class UserActions {};

};

class HYK_USsolAT1WL85: HYK_USsolAT1WL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USsol_wl85.p3d";

armor=3.6;

armorBody=3.0;

displayName="AT Soldier (M72 LAW)";

weapons[]=

{

"INQ_M16",

"JAM_M72LAWLauncher",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"JAM_M72Rocket",

"JAM_M72Rocket",

"JAM_M72Rocket"

};

class animations {};

class UserActions {};

};

class HYK_USsolAT2WL85: HYK_USsolAT2WL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USsol_wl85.p3d";

armor=3.6;

armorBody=3.0;

displayName="AT Soldier (CarlGustav)";

weapons[]=

{

"INQ_M16",

"CarlGustavLauncher",

"Throw"

,"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"CarlGustavLauncher"

};

class animations {};

class UserActions {};

};

class HYK_USsolAAWL85: HYK_USsolAAWL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USsol_wl85.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"INQ_M16",

"AALauncher",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"AALauncher"

};

class animations {};

class UserActions {};

};

class HYK_USsolMinerWL85: HYK_USsolMinerWL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USsol_wl85.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"INQ_M16",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"Mine",

"Mine",

"Mine"

};

class animations {};

class UserActions {};

};

class HYK_USTleaderWL85: HYK_USTleaderWL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USsol_wl85.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"INQ_M16",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"HandGrenade",

"HandGrenade",

"HandGrenade"

};

class animations {};

class UserActions {};

};

class HYK_USsniper1WL85: HYK_USsniper1WL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USoff_wl85.p3d";

armor=3.6;

armorBody=3.0;

displayName="Sniper (M21)";

weapons[]=

{

"JAM_M21",

"JAM_M9",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"HandGrenade",

"HandGrenade",

"HandGrenade",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag"

};

class animations {};

class UserActions {};

};

class HYK_USsniper2WL85: HYK_USsniper2WL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USoff_wl85.p3d";

armor=3.6;

armorBody=3.0;

displayName="Sniper (Remington 700)";

weapons[]=

{

"JAM_Remington700",

"JAM_M9",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"HandGrenade",

"HandGrenade",

"HandGrenade",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag"

};

class animations {};

class UserActions {};

};

class HYK_USofficerWL85: HYK_USofficerWL

{

vehicleClass="HYK/Men (WoodLand/'85)";

model="\HYK_USsol\wl\HYK_USoff_wl85.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"INQ_M16",

"JAM_M9",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"HandGrenade",

"HandGrenade",

"HandGrenade",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag"

};

class animations {};

class UserActions {};

};

// Desert BDU soldiers ('03)

class HYK_USsolDe: HYK_USsolWL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USsol_de.p3d";

};

class HYK_USsolMedicDe: HYK_USsolMedicWL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USsol_de.p3d";

};

class HYK_USsolGLDe: HYK_USsolGLWL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USsol_de.p3d";

};

class HYK_USsolMGDe: HYK_USsolMGWL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USsol_de.p3d";

};

class HYK_USsolSAWDe: HYK_USsolSAWWL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USsol_de.p3d";

};

class HYK_USsolAT1De: HYK_USsolAT1WL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USsol_de.p3d";

};

class HYK_USsolAT2De: HYK_USsolAT2WL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USsol_de.p3d";

};

class HYK_USsolAADe: HYK_USsolAAWL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USsol_de.p3d";

};

class HYK_USsolMinerDe: HYK_USsolMinerWL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USsol_de.p3d";

};

class HYK_USTleaderDe: HYK_USTleaderWL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USsol_de.p3d";

};

class HYK_USsniper1De: HYK_USsniper1WL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USoff_de.p3d";

};

class HYK_USsniper2De: HYK_USsniper2WL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USoff_de.p3d";

};

class HYK_USofficerDe: HYK_USofficerWL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USoff_de.p3d";

};

class HYK_UScaptiveDe: HYK_UScaptiveWL

{

vehicleClass="HYK/Men (Desert/'03)";

model="\HYK_USsol\de\HYK_USoff_de.p3d";

};

// Desert BDU soldiers ('91)

class HYK_USsolDe91: HYK_USsolWL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USsol_de91.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"Throw",

"Put",

"INQ_M16"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"HandGrenade",

"HandGrenade",

"HandGrenade"

};

};

class HYK_USsolMedicDe91: HYK_USsolMedicWL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USsol_de91.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"Throw",

"Put",

"INQ_M16"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

};

};

class HYK_USsolGLDe91: HYK_USsolGLWL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USsol_de91.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"Throw",

"Put",

"JAM_M16GL"

};

magazines[]=

{

"JAM_W556_30Bmag",

"JAM_W556_30Bmag",

"JAM_W556_30Bmag",

"JAM_W556_30Bmag",

"JAM_W556_30Bmag",

"JAM_M433Grenade",

"JAM_M433Grenade",

"JAM_M433Grenade",

"JAM_M433Grenade",

"JAM_M433Grenade"

};

};

class HYK_USsolSAWDe91: HYK_USsolSAWWL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USsol_de91.p3d";

armor=3.6;

armorBody=3.0;

displayName="Automatic Rifleman";

weapons[]=

{

"Throw",

"Put",

"INQ_M249"

};

magazines[]=

{

"INQ_M249mag",

"INQ_M249mag",

"INQ_M249mag",

"INQ_M249mag"

};

};

class HYK_USsolAT1De91: HYK_USsolAT1WL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USsol_de91.p3d";

armor=3.6;

armorBody=3.0;

displayName="AT Soldier (M72 LAW)";

weapons[]=

{

"INQ_M16",

"JAM_M72LAWLauncher",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"JAM_M72Rocket",

"JAM_M72Rocket",

"JAM_M72Rocket"

};

};

class HYK_USsolAT2De91: HYK_USsolAT2WL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USsol_de91.p3d";

armor=3.6;

armorBody=3.0;

displayName="AT Soldier (AT4)";

weapons[]=

{

"INQ_M16",

"JAM_AT4Launcher",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"JAM_AT4Rocket",

"JAM_AT4Rocket",

"JAM_AT4Rocket"

};

};

class HYK_USsolAADe91: HYK_USsolAAWL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USsol_de91.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"INQ_M16",

"AALauncher",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"AALauncher"

};

};

class HYK_USsolMinerDe91: HYK_USsolMinerWL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USsol_de91.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"INQ_M16",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"Mine",

"Mine",

"Mine"

};

};

class HYK_USTleaderDe91: HYK_USTleaderWL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USsol_de91.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"INQ_M16",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"HandGrenade",

"HandGrenade",

"HandGrenade"

};

};

class HYK_USsniper1De91: HYK_USsniper1WL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USoff_de91.p3d";

armor=3.6;

armorBody=3.0;

displayName="Sniper (M21)";

weapons[]=

{

"JAM_M21",

"JAM_M9",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"JAM_W762sniper_20mag",

"HandGrenade",

"HandGrenade",

"HandGrenade",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag"

};

};

class HYK_USsniper2De91: HYK_USsniper2WL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USoff_de91.p3d";

armor=3.6;

armorBody=3.0;

displayName="Sniper (Remington 700)";

weapons[]=

{

"JAM_Remington700",

"JAM_M9",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"JAM_W762_5mag",

"HandGrenade",

"HandGrenade",

"HandGrenade",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag"

};

};

class HYK_USofficerDe91: HYK_USofficerWL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USoff_de91.p3d";

armor=3.6;

armorBody=3.0;

weapons[]=

{

"INQ_M16",

"JAM_M9",

"Binocular",

"Throw",

"Put"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"HandGrenade",

"HandGrenade",

"HandGrenade",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag",

"JAM_M9mag"

};

};

class HYK_UScaptiveDe91: HYK_UScaptiveWL

{

vehicleClass="HYK/Men (Desert/'91)";

model="\HYK_USsol\de\HYK_USoff_de91.p3d";

};

// Group configs

class CfgGroups

{

class West

{

name="West";

class HYK_Infantry

{

name="HYK U.S. Soldiers";

class HYK_InfantryWL

{

name="Infantry Squad (WoodLand/'03)";

class Unit0

{

side=1

vehicle="HYK_USTleaderWL";

rank="Sergeant";

position[]={0,5,0};

};

class Unit1

{

side=1

vehicle="HYK_USsolMGWL";

rank="Corporal";

position[]={3,0,0};

};

class Unit2

{

side=1

vehicle="HYK_USsolGLWL";

rank="Corporal";

position[]={5,0,0};

};

class Unit3

{

side=1

vehicle="HYK_USsolGLWL";

rank="Corporal";

position[]={7,0,0};

};

class Unit4

{

side=1

vehicle="HYK_USsolAT2WL";

rank="Corporal";

position[]={9,0,0};

};

class Unit5

{

side=1

vehicle="HYK_USsolSAWWL";

rank="Private";

position[]={11,0,0};

};

class Unit6

{

side=1

vehicle="HYK_USsolWL";

rank="Private";

position[]={13,0,0};

};

class Unit7

{

side=1

vehicle="HYK_USsolWL";

rank="Private";

position[]={15,0,0};

};

class Unit8

{

side=1

vehicle="HYK_USsolWL";

rank="Private";

position[]={17,0,0};

};

};

class HYK_InfantryWL85

{

name="Infantry Squad (WoodLand/'85)";

class Unit0

{

side=1

vehicle="HYK_USTleaderWL85";

rank="Sergeant";

position[]={0,5,0};

};

class Unit1

{

side=1

vehicle="HYK_USsolMGWL85";

rank="Corporal";

position[]={3,0,0};

};

class Unit2

{

side=1

vehicle="HYK_USsolGLWL85";

rank="Corporal";

position[]={5,0,0};

};

class Unit3

{

side=1

vehicle="HYK_USsolGLWL85";

rank="Corporal";

position[]={7,0,0};

};

class Unit4

{

side=1

vehicle="HYK_USsolAT1WL85";

rank="Corporal";

position[]={9,0,0};

};

class Unit5

{

side=1

vehicle="HYK_USsolSAWWL85";

rank="Private";

position[]={11,0,0};

};

class Unit6

{

side=1

vehicle="HYK_USsolWL85";

rank="Private";

position[]={13,0,0};

};

class Unit7

{

side=1

vehicle="HYK_USsolWL85";

rank="Private";

position[]={15,0,0};

};

class Unit8

{

side=1

vehicle="HYK_USsolWL85";

rank="Private";

position[]={17,0,0};

};

};

class HYK_InfantryDe

{

name="Infantry Squad (Desert/'03)";

class Unit0

{

side=1

vehicle="HYK_USTleaderDe";

rank="Sergeant";

position[]={0,5,0};

};

class Unit1

{

side=1

vehicle="HYK_USsolMGDe";

rank="Corporal";

position[]={3,0,0};

};

class Unit2

{

side=1

vehicle="HYK_USsolGLDe";

rank="Corporal";

position[]={5,0,0};

};

class Unit3

{

side=1

vehicle="HYK_USsolGLDe";

rank="Corporal";

position[]={7,0,0};

};

class Unit4

{

side=1

vehicle="HYK_USsolAT2De";

rank="Corporal";

position[]={9,0,0};

};

class Unit5

{

side=1

vehicle="HYK_USsolSAWDe";

rank="Private";

position[]={11,0,0};

};

class Unit6

{

side=1

vehicle="HYK_USsolDe";

rank="Private";

position[]={13,0,0};

};

class Unit7

{

side=1

vehicle="HYK_USsolDe";

rank="Private";

position[]={15,0,0};

};

class Unit8

{

side=1

vehicle="HYK_USsolDe";

rank="Private";

position[]={17,0,0};

};

};

class HYK_InfantryDe91

{

name="Infantry Squad (Desert/'91)";

class Unit0

{

side=1

vehicle="HYK_USTleaderDe91";

rank="Sergeant";

position[]={0,5,0};

};

class Unit1

{

side=1

vehicle="HYK_USsolMGDe91";

rank="Corporal";

position[]={3,0,0};

};

class Unit2

{

side=1

vehicle="HYK_USsolGLDe91";

rank="Corporal";

position[]={5,0,0};

};

class Unit3

{

side=1

vehicle="HYK_USsolGLDe91";

rank="Corporal";

position[]={7,0,0};

};

class Unit4

{

side=1

vehicle="HYK_USsolAT2De91";

rank="Corporal";

position[]={9,0,0};

};

class Unit5

{

side=1

vehicle="HYK_USsolSAWDe91";

rank="Private";

position[]={11,0,0};

};

class Unit6

{

side=1

vehicle="HYK_USsolDe91";

rank="Private";

position[]={13,0,0};

};

class Unit7

{

side=1

vehicle="HYK_USsolDe91";

rank="Private";

position[]={15,0,0};

};

class Unit8

{

side=1

vehicle="HYK_USsolDe91";

rank="Private";

position[]={17,0,0};

};

};

};

};

};

Share this post


Link to post
Share on other sites

That is not the default HYK config! As you see, it's been modified to use some INQ and Earl's weapons...

Generally speaking, what you have to change is weapons[] and magazines[] arrays.

Example for HYK_USsolMedicDe91 class:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">weapons[]=

{

"Throw",

"Put",

"INQ_M16"

};

magazines[]=

{

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

"INQ_M16mag",

};

Now, you want this Medic to carry your XM8 (NO OFPEC TAG!!!) instead of Inquisitors INQ_M16, so you just replace these 2 lines with this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">weapons[]={"XM8","Throw","Put"};

magazines[]={"XM8Mag","XM8Mag","XM8Mag","XM8Mag","XM8Mag","HandGrenade","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};

};

That's all...

Share this post


Link to post
Share on other sites

Ehh. no.. not the gun.. gun is done I shall uyse my xm8 on hyks soldier as default.. so I need to add a soldier part...not gun tounge_o.gif

so it start with hyks soldiers wink_o.gif

Share this post


Link to post
Share on other sites

dude thats too complicated, if you made a gun just config it with BIS dudes then release it and people can add it to thier units without addon searching.

Share this post


Link to post
Share on other sites
Ehh. no.. not the gun.. gun is done I shall uyse my xm8 on hyks soldier as default.. so I need to add a soldier part...not gun  tounge_o.gif

so it start with hyks soldiers  wink_o.gif

Ok, sorry. I've misunderstood your question...  wink_o.gif

What you want to do is kinda complicated... like Sgt.Stryker said, it's better that you release your XM8 as is, without making people download the additional (not so small for 56kers) addon.

Basically it goes like this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

(....)

class CfgPatches

{

class YOURTAG_XM8

{

units[] = {};

weapons[] = {YOURTAG_XM8};

requiredAddons[]=

{

"BIS_Resistance",

"BIS_WeaponPack",

"JAM_Magazines",

"HYK_USsoldiers"

};

requiredVersion = 1.91;

};

};

(....)

class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Land:AllVehicles{};

class Man:Land{};

class Soldier:Man{};

class HYK_USSolBase: Soldier{};

class HYK_USsolWL: HYK_USsolBase{};

class YOURTAG_SoldierXM8:HYK_USsolWL

{

accuracy=200;

displayName="XM8 Soldier";

weapons[]={"YOURTAG_XM8","Throw","Put"};

magazines[]={"YOURTAG_XM8Mag","YOURTAG_XM8Mag","YOURTAG_XM8Mag","YOURTAG_XM8Mag",

"YOURTAG_XM8Mag","HandGrenade","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};

};

};

I can't guarantee that this will work 100% correctly. rock.gif

Just make sure you replace YOURTAG_ with your registered OFPEC tag if you want to release this to public.

Share this post


Link to post
Share on other sites

I was gonna do exactly as Ag Smith did and would have been my solution.

Notice he used the "HYK_USsolWL" ...is that the soldier you wanted with the rifle?

You can go on and make the whole batch's using the new weapon

Share this post


Link to post
Share on other sites
Ehh. no.. not the gun.. gun is done I shall uyse my xm8 on hyks soldier as default.. so I need to add a soldier part...not gun  tounge_o.gif

so it start with hyks soldiers  wink_o.gif

Ok, sorry. I've misunderstood your question...  wink_o.gif

What you want to do is kinda complicated... like Sgt.Stryker said, it's better that you release your XM8 as is, without making people download the additional (not so small for 56kers) addon.

Basically it goes like this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

(....)

class CfgPatches

{

class YOURTAG_XM8

{

units[] = {};

weapons[] = {YOURTAG_XM8};

requiredAddons[]=

{

"BIS_Resistance",

"BIS_WeaponPack",

"JAM_Magazines",

"HYK_USsoldiers"

};

requiredVersion = 1.91;

};

};

(....)

class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Land:AllVehicles{};

class Man:Land{};

class Soldier:Man{};

class HYK_USSolBase: Soldier{};

class HYK_USsolWL: HYK_USsolBase{};

class YOURTAG_SoldierXM8:HYK_USsolWL

{

accuracy=200;

displayName="XM8 Soldier";

weapons[]={"YOURTAG_XM8","Throw","Put"};

magazines[]={"YOURTAG_XM8Mag","YOURTAG_XM8Mag","YOURTAG_XM8Mag","YOURTAG_XM8Mag",

"YOURTAG_XM8Mag","HandGrenade","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};

};

};

I can't guarantee that this will work 100% correctly. rock.gif

Just make sure you replace YOURTAG_ with your registered OFPEC tag if you want to release this to public.

Ah thx alot man

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  

×