Jump to content
Sign in to follow this  
applejaxc

Change Unit's Starting Weapons? (in cfg, not in editor)

Recommended Posts

Hi.

I'm going to start off by saying I don't like the MX family of rifles. They're giant, ugly blocks of crud. I haven't liked them from day 1.

I'm also going to start off with saying that I DO NOT WANT A GUIDE ON CHANGING A UNIT'S GEAR IN THE EDITOR. I already know how to "removeallweapons this; this addweapon X, this addmagazine X,Y"

What I want to know is how I can globally change what a unit has equipped, so that in single player missions (such as the Survive Campaign, or downloaded missions) I can have, effectively, any weapon I want by modifying BluFor NATO Rifleman to always spawn with (insert class name of something from a mod pack), instead of his MX rifle. It wouldn't add new units I can spawn in the editor, it would replace the config of the default unit.

I understand I will need some manner of extracting/repacking the .pbos. Which .pbo would I need to extract, and what in which would I need to modify?

(and I hereby release everyone from any possible legal action therein related; I understand fully that in so modifying I will effectively void my ability to play multiplayer in so long as I have the modified files and that it is my own responsibility if my copy of ArmA 3 is damaged)

Share this post


Link to post
Share on other sites

You should probably have posted in this forum -> http://forums.bistudio.com/forumdisplay.php?170-ARMA-3-ADDONS-Configs-amp-Scripting

Anyways you should look inside the characters_f.pbo there you will find values like below which defines which weapons/magazines/items different types of units spawn/respawn with.

[b]weapons[/b] = {"arifle_MX_ACO_pointer_F", "hgun_P07_F", "Throw", "Put"};

[b]respawnWeapons[/b] = {"arifle_MX_ACO_pointer_F", "hgun_P07_F", "Throw", "Put"};

[b]Items[/b] = {"FirstAidKit"};

[b]RespawnItems[/b] = {"FirstAidKit"};

[b]magazines[/b] = {"30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "16Rnd_9x21_Mag", "16Rnd_9x21_Mag", "16Rnd_9x21_Mag", "SmokeShell", "SmokeShellGreen", "Chemlight_green", "Chemlight_green", "HandGrenade", "HandGrenade"};

[b]respawnMagazines[/b] = {"30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "16Rnd_9x21_Mag", "16Rnd_9x21_Mag", "16Rnd_9x21_Mag", "SmokeShell", "SmokeShellGreen", "Chemlight_green", "Chemlight_green", "HandGrenade", "HandGrenade"};

[b]linkedItems[/b] = {"V_PlateCarrier1_rgr", "H_HelmetB", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "NVGoggles"};

[b]respawnLinkedItems[/b] = {"V_PlateCarrier1_rgr", "H_HelmetB", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "NVGoggles"};

You will need tools like:

BinPBO -> http://community.bistudio.com/wiki/BI_Tools_2.5

PBO Manager -> http://www.armaholic.com/page.php?id=16369

ArmA UnBin -> http://www.armaholic.com/page.php?id=229

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  

×