Rg 0 Posted May 30, 2007 Hi, I need some help with making a config. I thought I understood enough to make my own, but I have hit a brick wall. All I want to do is modify current config data, not create something new. For instance, I want to adjust and fix many FOV values from vehicles (cars and people) to weapons. I successfully did all this the long way by extracting various PBO’s and repacking them after modifying the config’s, but obviously this is not an option for making a small sized addon to download. I made 2 small SIMPLE test addons that I hope someone can quickly look at and tell me whats wrong. For the purpose of this test, all I did was change the “class ViewPilot {initFov}†to “.42†under “class CAManBase†instead of the default “.95†(INGAME you would automatically be zoomed in and not be able to zoom anymore, *just for this test purpose) If I extract “characters.pboâ€, change that value, repack the pbo, and run that pbo from a mod folder, it works fine, but when trying to make a config addon, I fail. Here are the test files to download (test1 & test2 addon folders with pbos and also the separate configs). Test1 has a lot of class references included, whereas Test2 has more “External class referencesâ€. 21KB File ---------- RAPIDSHARE - http://rapidshare.com/files/34205606/ArmA_config_tests.rar.html FILEFRONT - http://files.filefront.com//;7645659;;/ Also below is a snipet from “test2â€. I cut a little bit out, but still, I would think even this much would work. (NOTE - the dashes are not in the config, I just added them to line everything up like you would see in the config.) <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">//test2 #define ReadAndWrite 0 #define ReadAndCreate 1 #define ReadOnly 2 #define ReadOnlyVerified 3 #define true 1 #define false 0 #define private 0 #define protected 1 #define public 2 #define VSoft 0 #define VArmor 1 #define VAir 2 #define LockNo 0 #define LockCadet 1 #define LockYes 2 #define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 class CfgVehicles { -----class All; // External class reference -----class AllVehicles; // External class reference -----class Land; // External class reference -----class Man : Land { ----------class ViewPilot; // External class reference -----}; -----class CAManBase : Man { ------------picture = "\Ca\characters\data\Ico\i_null_CA.paa"; ------------Icon = "\Ca\characters\data\map_ico\i_wojak_CA.paa"; ------------moves = "CfgMovesMaleSdr"; ------------boneHead = "head"; ------------bonePrimaryWeapon = "weapon"; ------------weaponBone = "weapon"; ------------triggerAnim = "ca\anims\characters\data\anim\sdr\trigger.rtm"; ------------woman = false; ------------faceType = "man"; ------------minGunElev = -80; ------------maxGunElev = 60; ------------minGunTurn = -1; ------------maxGunTurn = 1; ------------minGunTurnAI = -30; ------------maxGunTurnAI = 30; ------------class HeadLimits; // External class reference ------------minHeadTurnAI = -70; ------------maxHeadTurnAI = 70; ------------// internal camera viewing limitations ------------class ViewPilot : ViewPilot { -----------------initFov = 0.4; //edit was .95 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< CHANGE IS HERE -----------------minFov = 0.4; -----------------maxFov = 1.1; -----------------initAngleX = 8; -----------------minAngleX = -80; -----------------maxAngleX = 45; -----------------initAngleY = 0; -----------------minAngleY = -125; -----------------maxAngleY = 125; -----------}; //from CHARACTERS }; Share this post Link to post Share on other sites
chammy 7 Posted May 30, 2007 well, I wont be able to help you, yet, but, can u tell me how you opened the config file? I'm trying to do the same thing. I only have word pad and note pad Share this post Link to post Share on other sites
Iron+Cross 0 Posted June 2, 2007 go here m8 it will show you how to open it. Arma Info Share this post Link to post Share on other sites
chammy 7 Posted June 2, 2007 Ahh coo cool, thanks Iron, I am taking a looksee now Share this post Link to post Share on other sites