Jump to content
Sign in to follow this  
Militant1006

Weapon Replacement Help

Recommended Posts

Hey guys, I think this is my first thread in this subsection, anyway I was wondering, does anyone know how to create a weapon replacement?

I searched and couldn't find anything that would help.

What i'm trying to do is replace the Delta Force SCAR-H's with some ACE HK416's and ACE M4A1's.

I'm pretty sure there are enough experienced people here to help me.

Edited by Militantsausage

Share this post


Link to post
Share on other sites

I know I keep bumping my thread but everyone is acting like I don't exist, anyway I have finished the config I was doing, now I just need to know how to get it into a Pbo.

Share this post


Link to post
Share on other sites

....... ever considered that no one (passing by the thread) knows how to do it?!

I don't, but if you want another unit, the same, except with a different weapon, I could advise on that ...........

Use BinPBO to make a PBO. Make sure your target directory is NOT the same as your source directory.

You can actually make the target directory your Mod folder, so the new addon goes straight to the game.

If your trying to replace a existing BIS PBO, youre asking for trouble.

Share this post


Link to post
Share on other sites

open files.

look at configs.

put bunch of letters and numbers in until you get it right.

that's how i learned

Share this post


Link to post
Share on other sites

Thanks Gnat for the help with the binPbo thing, but I'm having some trouble, since I have been dePbo-ing and looking at other replacement scripts, I am wondering how to make a $PBOPREFIX$, I am not quite sure what I'm doing, when you make the pbo, do you have to leave the config in .txt or change it to .bin?

I tried .txt and i could Pbo it but it didn't work (Don't know why), and when I tried .bin I couldn't Pbo it.

////////////////////////////////////////////////////////////////////

//Produced from mikero's Dos Tools using dll 3.24

//http://dev-heaven.net/projects/list_files/mikero-pbodll

////////////////////////////////////////////////////////////////////

#define _ARMA_

//Class C:/Program Files/Bohemia Interactive/ArmA 2 OA/Bohemia Interactive/ArmA 2 Operation Arrowhead/@ACE_Deltaloadouts/AddOns/config.txt{

class CfgPatches

{

class MS_Deltaloadouts

{

units[] = {"US_Delta_Force_Air_Controller_EP1","US_Delta_Force_AR_EP1","US_Delta_Force_Assault_EP1","US_Delta_Force_EP1","US_Delta_Force_M14_EP1","US_Delta_Force_Marksman_EP1","US_Delta_Force_Medic_EP1","US_Delta_Force_MG_EP1","US_Delta_Force_Night_EP1","US_Delta_Force_SD_EP1","US_Delta_Force_TL_EP1"};

weapons[] = {};

requiredVersion = 1.0;

requiredAddons[] = {"CACharacters_E","CAWeapons_E","acex_c_wep_hk","acex_m_wep_hk","acex_s_wep_hk","acex_c_men_gear","acex_c_weapon","acex_c_wep_launcher","acex_c_wep_m16","acex_c_wep_mg","acex_c_wep_pistol","acex_c_wep_rifle","acex_c_wep_scar","acex_c_wep_sniper","acex_main","acex_m_wep_launcher","acex_m_wep_m16","acex_m_wep_mg","acex_m_wep_pistol","acex_m_wep_rifle","acex_m_wep_scar","acex_m_wep_sniper","acex_s_wep_launcher","acex_s_wep_m16","acex_s_wep_mg","acex_s_wep_pistol","acex_s_wep_rifle","acex_s_wep_scar","acex_s_wep_sniper"};

};

};

class CfgAddons

{

class PreloadAddons

{

class MS_Deltaloadouts

{

list[] = {"MS_Deltaloadouts","CACharacters_E","CAWeapons_E"};

};

};

};

class CfgVehicles

{

class US_Delta_Force_EP1;

class US_Delta_Force_Air_Controller_EP1: US_Delta_Force_EP1

{

weapons[] = {"ACE_HK416_D10_COMPM3_SD","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","ItemGPS","Laserdesignator","ACE_USPSD"};

magazines[] = {"ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_M84","Smokeshell","Smokeshell","Laserbatteries","ACE_Bandage","ACE_Bandage","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD"};

respawnweapons[] = {"ACE_HK416_D10_COMPM3_SD","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","ItemGPS","Laserdesignator","ACE_USPSD"};

respawnmagazines[] = {"ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_M84","Smokeshell","Smokeshell","Laserbatteries","ACE_Bandage","ACE_Bandage","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD"};

};

class US_Delta_Force_AR_EP1: US_Delta_Force_EP1

{

weapons[] = {"M249_m145_EP1","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_P226"};

magazines[] = {"100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","Handgrenade_west","Handgrenade_west","SmokeshellGreen","SmokeshellRed","ACE_Bandage","ACE_Bandage","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_Battery_Rangefinder"};

respawnweapons[] = {"M249_m145_EP1","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_P226"};

respawnmagazines[] = {"100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","Handgrenade_west","Handgrenade_west","SmokeshellGreen","SmokeshellRed","ACE_Bandage","ACE_Bandage","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_Battery_Rangefinder"};

};

class US_Delta_Force_Assault_EP1: US_Delta_Force_EP1

{

weapons[] = {"ACE_SOC_M4A1_GL_Eotech","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","ItemGPS","Binocular_Vector"};

magazines[] = {"ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_Battery_Rangefinder","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_SmokeRed_M203","ACE_12Rnd_45ACP_USP","ACE_12Rnd_45ACP_USP","ACE_12Rnd_45ACP_USP","ACE_12Rnd_45ACP_USP","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_Bandage","ACE_Bandage"};

respawnWeapons[] = {"ACE_SOC_M4A1_GL_Eotech","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","ItemGPS","Binocular_Vector"};

respawnMagazines[] = {"ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_Battery_Rangefinder","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_SmokeRed_M203","ACE_12Rnd_45ACP_USP","ACE_12Rnd_45ACP_USP","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_Bandage","ACE_Bandage"};

};

class US_Delta_Force_EP1: US_Delta_Force_EP1

{

weapons[] = {"ACE_HK416_D14_COMPM3","ACE_P226","NVGoggles","ItemGPS","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector"};

magazines[] = {"ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_Battery_Rangefinder","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_Bandage","ACE_Bandage"};

respawnWeapons[] = {"ACE_HK416_D14_COMPM3","ACE_P226","NVGoggles","ItemGPS","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector"};

respawnMagazines[] = {"ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_Battery_Rangefinder","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_Bandage","ACE_Bandage"};

};

class US_Delta_Force_M14_EP1: US_Delta_Force_EP1

{

weapons[] = {"M14_EP1","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_P226"};

magazines[] = {"20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","ACE_Battery_Rangefinder","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_Bandage","ACE_Bandage"};

respawnWeapons[] = {"M14_EP1","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_P226"};

respawnMagazines[] = {"20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","ACE_Battery_Rangefinder","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_Bandage","ACE_Bandage"};

};

class US_Delta_Force_Marksman_EP1: US_Delta_Force_EP1

{

weapons[] = {"ACE_HK417_Leupold","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_P226"};

magazines[] = {"ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_Battery_Rangefinder","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellPurple","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_Bandage","ACE_Bandage"};

respawnWeapons[] = {"ACE_HK417_Leupold","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_P226"};

respawnmagazines[] = {"ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_20Rnd_762x51_SB_HK417","ACE_Battery_Rangefinder","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellPurple","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_Bandage","ACE_Bandage"};

};

class US_Delta_Force_Medic_EP1: US_Delta_Force_EP1

{

weapons[] = {"ACE_SOC_M4A1","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_P226"};

magazines[] = {"ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_Battery_Rangefinder","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_Bandage","ACE_Bandage","ACE_Morphine","ACE_Morphine","ACE_Epinephrine","ACE_Epinephrine"};

respawnWeapons[] = {"ACE_SOC_M4A1","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_P226"};

respawnMagazines[] = {"ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_Battery_Rangefinder","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_Bandage","ACE_Bandage","ACE_Morphine","ACE_Morphine","ACE_Epinephrine","ACE_Epinephrine"};

};

class US_Delta_Force_MG_EP1: US_Delta_Force_EP1

{

weapons[] = {"Mk_48_DES_EP1","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_P226"};

magazines[] = {"100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","ACE_Battery_Rangefinder","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_Bandage","ACE_Bandage"};

respawnWeapons[] = {"Mk_48_DES_EP1","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_P226"};

respawnMagazines[] = {"100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","ACE_Battery_Rangefinder","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_15Rnd_9x19_P226","ACE_Bandage","ACE_Bandage"};

};

class US_Delta_Force_Night_EP1: US_Delta_Force_EP1

{

weapons[] = {"ACE_SOC_M4A1_TWS","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_USPSD"};

magazines[] = {"ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_Battery_Rangefinder","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_Bandage","ACE_Bandage"};

respawnWeapons[] = {"ACE_SOC_M4A1_TWS","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_USPSD"};

respawnMagazines[] = {"ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_Battery_Rangefinder","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_Bandage","ACE_Bandage"};

};

class US_Delta_Force_SD_EP1: US_Delta_Force_EP1

{

weapons[] = {"ACE_HK416_D10_COMPM3_SD","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_USPSD"};

magazines[] = {"ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_Battery_Rangefinder","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_Bandage","ACE_Bandage"};

respawnWeapons[] = {"ACE_HK416_D10_COMPM3_SD","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_USPSD"};

respawnMagazines[] = {"ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_Battery_Rangefinder","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellRed","ACE_Bandage","ACE_Bandage"};

};

class US_Delta_Force_TL_EP1: US_Delta_Force_EP1

{

weapons[] = {"ACE_SOC_M4A1_RCO_GL_UP","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_USPSD"};

magazines[] = {"ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_Battery_Rangefinder","HandGrenade_West","IR_Strobe_Target","SmokeShellGreen","SmokeShellRed","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_SmokeGreen_M203","1Rnd_SmokeRed_M203","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_Bandage","ACE_Bandage"};

respawnWeapons[] = {"ACE_SOC_M4A1_RCO_GL_UP","NVGoggles","Binocular_Vector","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS","ACE_USPSD"};

respawnMagazines[] = {"ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_30Rnd_556x45_SB_Stanag","ACE_Battery_Rangefinder","HandGrenade_West","IR_Strobe_Target","SmokeShellGreen","SmokeShellRed","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_SmokeGreen_M203","1Rnd_SmokeRed_M203","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD","ACE_Bandage","ACE_Bandage"};

};

};

//};

That is my config I wrote, it is my first one, and I haven't been able to get help for it, I just tried to make it like other config replacements.

Share this post


Link to post
Share on other sites
..... I am wondering how to make a $PBOPREFIX$ ....

Delete it, you dont need that file. BinPBO will make you a new one every time you use the tool.

I tried .txt and i could Pbo it but it didn't work (Don't know why), and when I tried .bin I couldn't Pbo it.

Huh?! The file has always meant to be named CONFIG.CPP

Lets walk before we run.

Below might work, but I dont know the ACE stuff, so best of luck! lol

MS_Deltaloadouts - OK, if assuming this is a unique name you made.

requiredAddons[] - Leave it blank until you at least get it working.

CfgAddons - No idea if this actually does anything, so I've disabled it.

US_Delta_Force_EP1 - Inherit an OA base class, good.

US_Delta_Force_Air_Controller_EP1 - Trying to over-write an OA base class. BAD!

Change it to something like US_Delta_Force_Air_Controller_EP1XX and use displayName = to give it a new name.

class CfgPatches
{
class MS_Deltaloadouts
{
	units[] = {"US_Delta_Force_Air_Controller_EP1","US_Delta_For ce_AR_EP1","US_Delta_Force_Assault_EP1","US_Delta_ Force_EP1","US_Delta_Force_M14_EP1","US_Delta_Forc e_Marksman_EP1","US_Delta_Force_Medic_EP1","US_Del ta_Force_MG_EP1","US_Delta_Force_Night_EP1","US_De lta_Force_SD_EP1","US_Delta_Force_TL_EP1"};
	weapons[] = {};
	requiredVersion = 1.0;
	requiredAddons[] = {};
};
};
/*
No idea if this has any real use!
So I commented it out
class CfgAddons
{
class PreloadAddons
	{
	class MS_Deltaloadouts
	{
	list[] = {"MS_Deltaloadouts","CACharacters_E","CAWeapons_E" };
	};
};
};
*/
class CfgVehicles
{
class US_Delta_Force_EP1;
class US_Delta_Force_Air_Controller_EP1XX: US_Delta_Force_EP1
{
	displayName = "My Rifleman who has a different name";
	weapons[] = {"ACE_HK416_D10_COMPM3_SD","NVGoggles","Throw","Pu t","ItemMap","ItemCompass","ItemWatch","ItemRadio" ,"ItemGPS","Laserdesignator","ACE_USPSD"};
	magazines[] = {"ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_S tanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x 45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rn d_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","AC E_M84","Smokeshell","Smokeshell","Laserbatteries", "ACE_Bandage","ACE_Bandage","ACE_12Rnd_45ACP_USPSD ","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD", "ACE_12Rnd_45ACP_USPSD"};
	respawnweapons[] = {"ACE_HK416_D10_COMPM3_SD","NVGoggles","Throw","Pu t","ItemMap","ItemCompass","ItemWatch","ItemRadio" ,"ItemGPS","Laserdesignator","ACE_USPSD"};
	respawnmagazines[] = {"ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x45_S_S tanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rnd_556x 45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","ACE_30Rn d_556x45_S_Stanag","ACE_30Rnd_556x45_S_Stanag","AC E_M84","Smokeshell","Smokeshell","Laserbatteries", "ACE_Bandage","ACE_Bandage","ACE_12Rnd_45ACP_USPSD ","ACE_12Rnd_45ACP_USPSD","ACE_12Rnd_45ACP_USPSD", "ACE_12Rnd_45ACP_USPSD"};
};
};

Edited by [APS]Gnat

Share this post


Link to post
Share on other sites

Thanks Gnat for the help, by the way, what I'm trying to do is overwrite the Mk17's already in delta force hands.

By the way I can't Pbo it after renaming it with ccp, I tried yours and it was the same, thanks for the help so far though, I'm hoping I'll learn how to config myself after this and then I can help other people.

Share this post


Link to post
Share on other sites
CfgAddons - No idea if this actually does anything, so I've disabled it.

I know about some of its functionality and can speculate about the rest. I assumed it forced the listed addons (cfgpatches class name) to load before the rest of the config.

I've used it in the past to counter the "Missing content" error you get in MP when:

Referencing an addon that isn't registered in the missions required addons section.

When creating an object with the createVehicleLocal command, during an MP session.

So it certainly forces an addon to be loaded into memory, or at the very least, resgistered on all clients and server.

Share this post


Link to post
Share on other sites

Ok I have a question, before you convert the config writing into a Pbo, should it be a .txt or a .ccp? I can only get .txt to Pbo, but they seem to have no effect.

Share this post


Link to post
Share on other sites
.... So it certainly forces an addon to be loaded into memory, or at the very least, resgistered on all clients and server.

That was my guess when I saw it, but thanks for confirming mate.

I doubt if its essential for this patch example.

Ok I have a question, before you convert the config writing into a Pbo, should it be a .txt or a .ccp? I can only get .txt to Pbo, but they seem to have no effect.

It definately stays a CPP. Its a "text" style file format that has the cpp file extension.

Your comments/questions suggest theres something fundamentally youre doing wrong or we're assuming your doing and youre not.

BinPBO

- In Options you have;

"*.pac;*.paa;*.rtm;*.sqf;*.sqs;*.bikb;*.fsm;*.wss;*.ogg;*.wav;*.fxy;*.csv;*.html;*.lip;*.txt;*.wrp;*.bisurf;*.rvmat;*.sqm"

- In ADDON SOURCE DIRECTORY you have something like "p:\myaddonfolder"

- In DESTINATION DIRECTORY you have something like "E:\ArmA2\@Testing\Addons"

- You have "BINARIZE" tick-box selected

- Press "PACK" and wait

..... and you now have a MYADDONFOLDER.PBO

Share this post


Link to post
Share on other sites

Ok, if it does work I get an empty folder with this message in the .log

Cannot load font core\data\fonts\lucidaconsoleb8

Fonts file \core\data\fonts\lucidaConsoleB8 not found

Cannot load font core\data\fonts\lucidaconsoleb11

Fonts file \core\data\fonts\lucidaConsoleB11 not found

And when it doesn't pack properly I get this error

Unable to copy ms_deltaloadouts.PBO to C:\Program Files\Bohemia Interactive\ArmA 2 Operation Arrowhead\@ACE_Deltaloadouts\AddOns

the @ACE_Deltaloadouts folder is a mod folder in my root directory I am trying to pack the file called config.ccp into (config.ccp is my config file), I am using a different directory for the source that is not in the root folder.

EDIT: I know i's probably frustrating help a noob like me with this stuff, but I am trying my hardest, this is my source directory

C:\Program Files\Bohemia Interactive\Tools\MS_Deltaloadouts
Edited by Militantsausage

Share this post


Link to post
Share on other sites

Your source can not be C drive

The tools were designed to use P drive, use it, reference your project there

And those errors, looks like you havent De-PBO'ed the CORE.PBO from "Dta" directory into P drive.

And BIN.PBO if you havent already, and Language... pbo too

Share this post


Link to post
Share on other sites

Holy Crap! there is so much I am missing, I haven't really found any documentation on it, at the moment, you are the biggest help I have!

EDIT: I am a bit confused, using eliteness I have de-Pbo'd the core.pbo, languagecore.pbo and bin.pbo files and placed all of the de-pbo'd files in my source folder, it is pbo-ing but when I start the game the delta guys still have their Mk. 17's, I don't know if this matters, but it could, I have made the config by creating a .txt file and putting all the config writing in it, once I had finished I changed it to a .ccp file, but the file is unreadable, aren't you meant to be able to read it?

Also I got this in my log when it finished pbo-ing

Updating base class Report->Confirmation, by p:\arma 2 projects\ms_deltaloadouts\bin\bin\config.bin/RadioProtocolBase/SentCoverMe/

Updating base class Report->Confirmation, by p:\arma 2 projects\ms_deltaloadouts\bin\bin\config.bin/RadioProtocolBase/SentCovering/

Updating base class Report->Confirmation, by p:\arma 2 projects\ms_deltaloadouts\bin\bin\config.bin/RadioProtocolBase/SentReloading/

Updating base class Report->Confirmation, by p:\arma 2 projects\ms_deltaloadouts\bin\bin\config.bin/RadioProtocolBase/SentThrowingGrenade/

Cannot load font core\data\fonts\lucidaconsoleb8

Fonts file \core\data\fonts\lucidaConsoleB8 not found

Cannot load font core\data\fonts\lucidaconsoleb11

Fonts file \core\data\fonts\lucidaConsoleB11 not found

<model = "p:\arma 2 projects\ms_deltaloadouts\core\core\Compass\Compass.p3d">

</model>

<model = "p:\arma 2 projects\ms_deltaloadouts\core\core\Cursor\Cursor.p3d">

</model>

<model = "p:\arma 2 projects\ms_deltaloadouts\core\core\Cursor\ForceArrowModel.p3d">

</model>

<model = "p:\arma 2 projects\ms_deltaloadouts\core\core\Default\Default.p3d">

</model>

<model = "p:\arma 2 projects\ms_deltaloadouts\core\core\Empty\empty.p3d">

</model>

<model = "p:\arma 2 projects\ms_deltaloadouts\core\core\GPS\GPS.p3d">

</model>

<model = "p:\arma 2 projects\ms_deltaloadouts\core\core\Notepad\Notepad.p3d">

</model>

<model = "p:\arma 2 projects\ms_deltaloadouts\core\core\Radio\Radio.p3d">

</model>

<model = "p:\arma 2 projects\ms_deltaloadouts\core\core\SkyObject\SkyObject.p3d">

I feel like I am pretty close to getting this done.

Edited by Militantsausage

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  

×