Jump to content
Sign in to follow this  
bigbigmek

Original source files

Recommended Posts

Hi, all

first my english is not very good.

i want to stard modding, just some small config changes.

example: i want to changes the weapons of the a10.

so i make


...
class A10:plane{};

class MyA10:A10
{

}

but where can i find the orignal code of the a10,

because i can't change antyhing without knowing the orignal values.

Share this post


Link to post
Share on other sites

It's in the ArmA2\AddOns\a10.pbo

You just need cPBO or some similar tool to unpack the .pbo archive, and Kegetys' unRap or whatever derapifying-tool to unbinarize the config.bin file.

Then I'd recommend Notepad++ or some other more proper coding tool to open the .cpp and .hpp files, because the standard notepad can't handle the endlines.

Share this post


Link to post
Share on other sites

thanks.

i found this 2 lines

weapons[] = {GAU8, "MaverickLauncher", "SidewinderLaucher_AH1Z", "BombLauncherA10", "FFARLauncher_14"};
magazines[] = {"1350Rnd_30mmAP_A10", "2Rnd_Maverick_A10", "2Rnd_Sidewinder_AH1Z", "4Rnd_GBU12", "14Rnd_FFAR"};

but how can raise the count of mavericks to 4 or more.

i have delete the entry for bombs and FFARLauncher

weapons[] = {GAU8, "MaverickLauncher", "SidewinderLaucher_AH1Z",};
magazines[] = {"1350Rnd_30mmAP_A10", "2Rnd_Maverick_A10", "2Rnd_Sidewinder_AH1Z"},

and what should i do now.

can anyone help me?

Share this post


Link to post
Share on other sites

you can either add another magazine of 2Rnd_Maverick_A10, or define anew magazine, say 4rnd_Maverick_A10, and change the count of that

Share this post


Link to post
Share on other sites

Next you have to find "class CfgMagazines" and then just edit "count" for any weapon you want.

Share this post


Link to post
Share on other sites

add another magazine works but look not good.

in game the maverik launcher has 2 shots and another magazine

when i have shot the 2 rockets, i get another 2, but the problem is every time i shot an magazin empty the rockets jump around the weapon slots and this looks not good.

pufu: have you a link or can you say me how i can add a new magazine?

hamsi: where can i finde the class CfgMagazines?

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  

×