Jump to content
Sign in to follow this  
RavenorG

Need help with stats editing

Recommended Posts

Hello everyone. I'm completely new to modding here, so I decided to try something simpler, and immediately screwed up. Is it possible to change stats for existing equipment? For example, I want to change Kerry's backpack in the East Wind campaign and add more free space to it.

 

As I understand, I need to edit the maximumLoad parameter. I found the name of the backpack (B_AssaultPack_Kerry) in the console inside the game, but in config.bin it is not there. Both the one in the launcher folder and the one inside the missions_f_epa.pbo file.

 

Maybe I'm not looking there? Or is it impossible at all?

 

Thanks in advance. 

Share this post


Link to post
Share on other sites
1 hour ago, RavenorG said:

As I understand, I need to edit the maximumLoad parameter. I found the name of the backpack (B_AssaultPack_Kerry) in the console inside the game, but in config.bin it is not there. Both the one in the launcher folder and the one inside the missions_f_epa.pbo file.

 

Maybe I'm not looking there? Or is it impossible at all?

Its possible to do, but you wont find the config entry in the missions PBO, or the launcher(?)

 

You'll want to look in 'weapons_f.pbo' and then the 'Ammoboxes' sub-folder.

There you'll find a config.cpp containing the entry (along with every other ammo box entry from the base game - minus addons/expansions).

	class B_AssaultPack_Kerry: B_AssaultPack_mcamo
	{
		author = "$STR_A3_Bohemia_Interactive";
		_generalMacro = "B_AssaultPack_Kerry";
		displayName = "$STR_A3_B_AssaultPack_Kerry0";
		picture = "\A3\Weapons_F\Ammoboxes\Bags\data\UI\icon_B_AssaultPack_Kerry_ca.paa";
		model = "\A3\Characters_F_EPA\BLUFOR\backpack_kerry";
		hiddenSelections[] = {"camo1","camo2"};
		hiddenSelectionsTextures[] = {"a3\weapons_f\ammoboxes\bags\data\backpack_compact_rgr_co.paa","a3\characters_f\blufor\data\vests_rgr_co.paa"};
		maximumLoad = 160; // <<<<<< This is it!
		mass = 20;
	};

Though you'll want to create a replacement config as editing the base game files will (most likely) break your game if you don't know what you're doing - plus you'll flag up when joining any MP servers as having modified files and the game will think you're cheating...

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  

×