View Full Version : Original source files
bigbigmek
Aug 28 2009, 10:11
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.
Inkompetent
Aug 28 2009, 10:31
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.
bigbigmek
Aug 28 2009, 16:13
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?
you can either add another magazine of 2Rnd_Maverick_A10, or define anew magazine, say 4rnd_Maverick_A10, and change the count of that
Next you have to find "class CfgMagazines" and then just edit "count" for any weapon you want.
bigbigmek
Aug 29 2009, 09:46
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?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.