hello there... I need some of your knowledge whit the official Config.bin... My objetive is to change the Standar BIS units whit the STTDesert units.. and later change also some weapons... (the STTDesert Units comes whit the Desert Malden Island)
I cheked the Config.cpp of the West units for exaple, It has this on it
class CfgVehicles
{
class All{};
class AllVehicles:All{};
class Land:AllVehicles{};
class Man:Land{};
class Soldier:Man{};
class SoldierWB:Soldier{};
class SoldierWMedic: SoldierWB{};
class SoldierWG: SoldierWB{};
class SoldierWMG: SoldierWB{};
class SoldierWLAW: SoldierWB{};
class SoldierWAT: SoldierWLAW{};
class SoldierWAA: SoldierWLAW{};
class SoldierWMortar: SoldierWG{};
class OfficerW: SoldierWB{};
class SoldierWSniper: SoldierWB{};
//West Desert Soldiers
class STTDesSoldierW:SoldierWB
{
scope=2;
displayName="Desert Soldier STT";
model="\sttdesertsoldiersw\sttsoldierwdes";
wounds[]={"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",
"\sttdesertsoldiersw\sttdes004mc_vojakw2.paa","\sttdesertsoldiersw\sttdes009mc_vojakw2.paa","\sttdesertsoldiersw\sttdes005mc_vojakw2.paa","\sttdesertsoldiersw\sttdes008mc_vojakw2.paa",
"\sttdesertsoldiersw\sttdes003mc_vojakw2.paa","\sttdesertsoldiersw\sttdes007mc_vojakw2.paa","\sttdesertsoldiersw\sttdesw_hrud_p","\sttdesertsoldiersw\sttdesw_hrud_p_d","\sttdesertsoldiersw\sttdesw_zadaruce_z",
"\sttdesertsoldiersw\sttdesw_zadaruce_z_d","\sttdesertsoldiersw\sttdesw_nohy_p","\sttdesertsoldiersw\sttdesw_nohy_p_d","\sttdesertsoldiersw\sttdesw_nohy_z","\sttdesertsoldiersw\sttdesw_nohy_z_d"};
};
class STTDesSoldierWmedic: SoldierWMedic
{
displayName="Desert Medic STT";
model="\sttdesertsoldiersw\sttsoldierwdes";
weaponSlots="1 + 16 + 2 * 4096 + 10 * 256";
weapons[]={"M16","Throw","Put"};
magazines[]={"M16","M16","M16","M16","HandGrenade","HandGrenade","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};
scope=2;
wounds[]={"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","\sttdesertsoldiersw\sttdes004mc_vojakw2.paa",
"\sttdesertsoldiersw\sttdes009mc_vojakw2.paa","\sttdesertsoldiersw\sttdes005mc_vojakw2.paa","\sttdesertsoldiersw\sttdes008mc_vojakw2.paa","\sttdesertsoldiersw\sttdes003mc_vojakw2.paa",
"\sttdesertsoldiersw\sttdes007mc_vojakw2.paa","\sttdesertsoldiersw\sttdesw_hrud_p","\sttdesertsoldiersw\sttdesw_hrud_p_d","\sttdesertsoldiersw\sttdesw_zadaruce_z",
"\sttdesertsoldiersw\sttdesw_zadaruce_z_d","\sttdesertsoldiersw\sttdesw_nohy_p","\sttdesertsoldiersw\sttdesw_nohy_p_d","\sttdesertsoldiersw\sttdesw_nohy_z","\sttdesertsoldiersw\sttdesw_nohy_z_d"};
};
I think this is the "set Up" for the Western soldiers... now in the BIS official Config.bin (Uncompresed as Config.cpp) got this:
class SoldierWB: Soldier
{
model="MC vojakW2";
hiddenSelections[]={"medic"};
moves="CfgMovesMC";
picture="ivojak";
vehicleClass="Men";
scope=2
side=1
accuracy=0.700000;
displayName="$STR_DN_SOLDIER";
weapons[]={"M16","Throw","Put"};
magazines[]={"M16","M16","M16","M16","HandGrenade","HandGrenade","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};
cost=40000
};
class SoldierWG: SoldierWB
{
picture="igrenadier";
vehicleClass="Men";
scope=2
cost=60000
displayName="$STR_DN_GRENADIER";
accuracy=1000
weapons[]={"M16GrenadeLauncher","Throw","Put"};
magazines[]={"M16","M16","M16","M16","GrenadeLauncher","GrenadeLauncher","GrenadeLauncher"};
};
class SoldierWMedic: SoldierWB
{
accuracy=1000
picture="imedic";
vehicleClass="Men";
scope=2
cost=60000
displayName="$STR_DN_MEDIC";
weaponSlots="1 + 4 * 256";
attendant=1
weapons[]={"M16","Throw","Put"};
magazines[]={"M16","M16","M16","M16"};
nameSound="medic";
hiddenSelections[]={};
};
I thouth that meregin both classes maybe it should work... like these
class SoldierWB: Soldier
{
model="\sttdesertsoldiersw\sttsoldierwdes";
wounds[]={"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","\sttdesertsoldiersw\sttdes004mc_vojakw2.paa","\sttdesertsoldiersw\sttdes009mc_vojakw2.paa",
"\sttdesertsoldiersw\sttdes005mc_vojakw2.paa","\sttdesertsoldiersw\sttdes008mc_vojakw2.paa","\sttdesertsoldiersw\sttdes003mc_vojakw2.paa","\sttdesertsoldiersw\sttdes007mc_vojakw2.paa",
"\sttdesertsoldiersw\sttdesw_hrud_p","\sttdesertsoldiersw\sttdesw_hrud_p_d","\sttdesertsoldiersw\sttdesw_zadaruce_z","\sttdesertsoldiersw\sttdesw_zadaruce_z_d","\sttdesertsoldiersw\sttdesw_nohy_p",
"\sttdesertsoldiersw\sttdesw_nohy_p_d","\sttdesertsoldiersw\sttdesw_nohy_z","\sttdesertsoldiersw\sttdesw_nohy_z_d"};
hiddenSelections[]={"medic"};
moves="CfgMovesMC";
picture="ivojak";
vehicleClass="Men";
scope=2
side=1
accuracy=0.700000;
displayName="$STR_DN_SOLDIER";
weapons[]={"M16","Throw","Put"};
magazines[]={"M16","M16","M16","M16","HandGrenade","HandGrenade","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};
cost=40000
};
class SoldierWG: SoldierWB
{
picture="igrenadier";
vehicleClass="Men";
scope=2
cost=60000
displayName="$STR_DN_GRENADIER";
accuracy=1000
weapons[]={"M16GrenadeLauncher","Throw","Put"};
magazines[]={"M16","M16","M16","M16","GrenadeLauncher","GrenadeLauncher","GrenadeLauncher"};
};
class SoldierWMedic: SoldierWB
{
accuracy=1000
model="\sttdesertsoldiersw\sttsoldierwdes";
picture="imedic";
vehicleClass="Men";
scope=2
cost=60000
displayName="$STR_DN_MEDIC";
weaponSlots="1 + 4 * 256";
attendant=1
weapons[]={"M16","Throw","Put"};
magazines[]={"M16","M16","M16","M16"};
nameSound="medic";
hiddenSelections[]={};
wounds[]={"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","\sttdesertsoldiersw\sttdes004mc_vojakw2.paa",
"\sttdesertsoldiersw\sttdes009mc_vojakw2.paa","\sttdesertsoldiersw\sttdes005mc_vojakw2.paa","\sttdesertsoldiersw\sttdes008mc_vojakw2.paa","\sttdesertsoldiersw\sttdes003mc_vojakw2.paa",
"\sttdesertsoldiersw\sttdes007mc_vojakw2.paa","\sttdesertsoldiersw\sttdesw_hrud_p","\sttdesertsoldiersw\sttdesw_hrud_p_d","\sttdesertsoldiersw\sttdesw_zadaruce_z","\sttdesertsoldiersw\sttdesw_zadaruce_z_d",
"\sttdesertsoldiersw\sttdesw_nohy_p","\sttdesertsoldiersw\sttdesw_nohy_p_d","\sttdesertsoldiersw\sttdesw_nohy_z","\sttdesertsoldiersw\sttdesw_nohy_z_d"};
};
But it dinn't Work... :-\ What Should I do?!?!?!?!
*Note that every coded script, is Justa PART of the entire Config.cpp
*reformatted for easier reading--Planck*