Jump to content
Sign in to follow this  
Armafan2

how to make a co config file for bis weapons and vehicles

Recommended Posts

Hello everyone,

I´m in need of a little help by people who know how to make config-file. I think what I´m trying is no big deal for likes of you. I´m currently trying to change some facts of BIS components like Inventory-slots of some heavy weapons (Pechneg, Ksvk, m107... and so on). Here´s an example of my try to give the PK-pecheneg only one primary weaponslot. Because I want my units to carry a backpack and a pecheneg at the same time.

===========================================================

// config.bin - 15:48:33 09/03/10, generated in 0.01 seconds

// Generated by unRap v1.06 by Kegetys

// Separate rootclasses: Disabled, Automatic comments: Enabled

// Armchair Arms modification [Twirly 2010]

// PKP_gru v1.0 (Fucked Up Beyond All Recognition)

//#include "\userconfig\\PKPgru\PKP_gru.hpp"

class CfgPatches {

class PKP_gru {

units[] = {};

weapons[] = {};

requiredVersion = 1.04;

requiredAddons[] = {"CAweapons", "CAweapons_E"};

};

};

class CfgWeapons {

class Rifle; // External class reference

class Pecheneg; // External class reference

class PKP_gru : Pecheneg {

scope = 1;

model = "\ca\weapons\Pecheneg_MG_proxy";

displayName = $STR_DN_PKP_gru;

dexterity = 0.4;

picture = "\CA\weapons\data\equip\w_pecheneg_mg_ca.paa";

modelOptics = "\ca\weapons\2Dscope_Pecheneg";

opticsPPEffects[] = {"OpticsCHAbera2","OpticsBlur3"};

opticsFlare = 1;

opticsDisablePeripherialVision = 1;

opticsZoomInit = 0.0623;

opticsZoomMin = 0.0623;

opticsZoomMax = 0.0623;

distanceZoomMin = 300;

distanceZoomMax = 300;

modes[] = {"manual","close","short","medium","far"};

class Library

{

libTextDesc = "$STR_LIB_PECHENEG";

};

descriptionShort = "$STR_DSS_PECHENEG";

};

};

==============================================================

Also I was able to change the cargo capacity of some Bis Vehicles via a simple config.ccp in pbo file. So for instance I finally could use the BTR90 as rolling ammobox for all my favorite weapons via initcommand line. But when it comes to firearms I´stucking. If I could change the original BIS config-files I knew what I had to do. But once I depbo them and pbo them back they don´t seem to be fully functional anymore (at least not for the game).

Thank you for any help!

PS: To all addonmakers - Thank you all for your hard work. Without you the Bohemia Games OFP & Arma would not have been that good as they have become with your mods & addons!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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  

×