vitamin 18 Posted October 28, 2013 I wanted to replace this file with a new one, so I took Famas rifle from Kabal's FAMAS pack and made pbo file using PboX tool. I also changed texture paths and config file. But I cannot load the game now - it gives me error message on start-up: g36a\config.cpp/CfgWeapons/G36aBase.model: Member already defined. I have no idea what might be wrong with this new pbo file? Here it is: http://www.multiupload.nl/P6L60EJVOH I would appreciate it very much, if someone could take a look at it, and tell me where I made a mistake? Share this post Link to post Share on other sites
zulu1 145 Posted October 28, 2013 Hey vitamin Why don't you stick with a g36. B3Liar's g36 can overwrite the bis one without any editing. Also Inq's will do the same. http://ofp.gamepark.cz/index.php?showthis=8473 Share this post Link to post Share on other sites
ProfTournesol 956 Posted October 28, 2013 True, G36 is a simple addon and should be treated as such. Share this post Link to post Share on other sites
-rageQuit- 10 Posted October 28, 2013 You define the model attribute twice in class G36aBase model="\G36a\Famas.p3d"; picture="\G36a\pictures\w_Famas_scope.paa"; reloadMagazineSound[]={"\G36a\sound\reload_famas.wav",1,1}; drySound[]={"\G36a\sound\dry_famas.wav",1,1}; model="\G36a\Famas_scope.p3d"; modelOptics="\G36a\optik\optika_famasscope.p3d"; Share this post Link to post Share on other sites
vitamin 18 Posted October 28, 2013 I have no idea how I could possibly overlook that:o Thank you rageQuit for pointing that out. BTW, do I need to define 'cfgModels' sections for this addon? @Zulu - one of the things I like about OFP is that you can customize it the way you want. I want to change G36A so that's what I'm doing:) Share this post Link to post Share on other sites
ProfTournesol 956 Posted October 28, 2013 Yes you need to define a cfgmodels (because of the "zasleh" section which is the muzzle flash). Share this post Link to post Share on other sites
vitamin 18 Posted October 28, 2013 Thank you very much ProfTournesol for your quick reply. Share this post Link to post Share on other sites