Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

Recommended Posts

I am sorry for my English, the question is

created a model of oxygen, has written the configuration model, the model in the game is, it's not on the map, how to fix? thanks for the answer.hOa0sn1Uqc76Q

ZlcCqOvuqc76e

config.cpp

 


class CfgPatches {

 

class most_r {

units[] = {};

weapons[] = {};

requiredVersion = 1.0;

                requiredAddons[] = {"myaddon"};

};

};

 

class CfgVehicleClasses {

 

class most_r {

displayName = "most";

};

};

 

class CfgVehicles {

/*extern*/ class Ruins;

 

class land_most_ruin: Ruins {

scope = 2;

vehicleClass = "Ruin";

model = "\myaddon\mostr\Ruins\most_ruin.p3d";

displayName = "most ruin";

};

/*extern*/ class HouseBase;

 

class House: HouseBase {

/*extern*/ class DestructionEffects;

};

 

class land_most: House  {

scope = 2;

animated = 1;

       vehicleclass = "most";

Icon = "\myaddon\mostr\data\most_map.paa";

side = 3;

cost = 1;

mapSize = 3;

       displayName = "most";

model = "\myaddon\mostr\most.p3d";

                armor = 100;

 

 

class DestructionEffects: DestructionEffects {

 

class Ruin1 {

simulation = "ruins";

type = "\myaddon\mostr\Ruins\most_ruin.p3d";

position = "";

intensity = 1;

interval = 1;

lifeTime = 1;

};

};

      

 };

    };


 

 

 

Share this post


Link to post
Share on other sites

I believe you need to add the class name of the ruins and building into units { }; at the top of the config. So something like units[]={ "land_most", " land_most_ruins"}; I'm not sure if that's the correct variable to put it in, so anyone correct me if I'm wrong.

Share this post


Link to post
Share on other sites

I believe you need to add the class name of the ruins and building into units { }; at the top of the config. So something like units[]={ "land_most", " land_most_ruins"}; I'm not sure if that's the correct variable to put it in, so anyone correct me if I'm wrong.

thank you, but does not work, I will continue to deal :)

Share this post


Link to post
Share on other sites

understand this question, thank you all

Share this post


Link to post
Share on other sites

×