War Book 0 Posted April 6, 2020 hi moders i have a request could you please send me the model.cfg pattern for two models in one cfg file? On the internet I found only a formula for one model in one pbo, and I would like to have two models in pbo. Please help . I want to make a submarine and in one pbo I have to have two models, a ship and a torpedo, can anyone show me the example model. CFG with two models? Share this post Link to post Share on other sites
docdango 1 Posted April 8, 2020 Hi War Book, If I am understanding correctly, you have two objects you want to import at the same time in one game patch. Below is an example of code that I've used to import two CfgVehicle objects at the same time. class CfgPatches { class NewMod{ addonRootClass = ""; requiredAddons[] = {""}; requiredVersion = 0.1; units[] = { "Submarine", "Torpedo"}; weapons[] = {}; }; }; class CfgVehicles { class Submarine { model = "\Path\To\Submarine_model.p3d" // Other stuff for your submarine }; class Torpedo { model = "\Path\To\Torprdo_model.p3d" // Other stuff for your torpedo }; }; 1 Share this post Link to post Share on other sites