scifer 10 Posted February 7, 2011 I've been seaching for a tutorial on "HOW TO REPLACE A CONFIG.CPP" but didn't find any one. What I'm trying to do is very simple: to change speed and acceleration of TT650 motorcycle. I unpacked wheeled3.pbo with extractpbo, changed maxspeed to 1000 and packed wheeled3.pbo again, made a mod folder as "@tt650\addons\wheeled3.pbo" and nothing happened. I know I could have deleted some files like p3d and textures but I don't know exactly which one of them. Can anyone help me. Share this post Link to post Share on other sites
Acid81 0 Posted February 7, 2011 Did you remember to add the name of your mod to the target line parameter in your shortcut ? Share this post Link to post Share on other sites
scifer 10 Posted February 7, 2011 Did you remember to add the name of your mod to the target line parameter in your shortcut ? Yes. I did. Share this post Link to post Share on other sites
[frl]myke 14 Posted February 7, 2011 Simple example of a replacement config: class CfgPatches { class AnyClassNameThatDescribesYourAddonComesHere { units[] = {"Su39"}; weapons[] = {}; requiredVersion = 1.51; requiredAddons[] = {"CAData", "CAWeapons", "CAAir2", "CAAir3", "CAWeapons_E"}; }; }; class CfgVehicles { class Su25_base; class Su39 : Su25_base { weapons[] = {"GSh301", "GLT_Ch29Launcher_IR", "R73Launcher_2", "S8Launcher"}; magazines[] = {"180Rnd_30mm_GSh301", "GLT_4Rnd_Ch29T", "2Rnd_R73", "80Rnd_S8T"}; }; }; This config would replace the armament of the default Su-39. - Load the class your objects inherits from: class Su25_base; - Load the class you like to alter: class Su39 : Su25_base { - Change what you want to change (no need to copy/paste the whole config here): weapons[] = {"GSh301", "GLT_Ch29Launcher_IR", "R73Launcher_2", "S8Launcher"}; magazines[] = {"180Rnd_30mm_GSh301", "GLT_4Rnd_Ch29T", "2Rnd_R73", "80Rnd_S8T"}; Hope this helps. This method works for everything that is defined in a config. Share this post Link to post Share on other sites