I am working on a large amphibious warfare ship which requires that I split it up into several different models. Gnat has been working with me a great deal and I value his help immensely but I have been unable to solve this issue and wished to ask for help in the appropriate forum.
I have three pieces for this ship and each model has a single point in the memory LOD. I have named these points "pos aft", "pos mid" and "pos fwd"... ingenious I know.
When I use an attachto the function appears to ignore the memory points completely. Through my searches on the forums I understand I must define these points in the config so that it knows what to do with them. However, I have been unable to figure out how.
A snippet of my code:
...
class CfgVehicles {
class NonStrategic; //loading old class for inheritance
class LPD_SEC_BOW : NonStrategic { // inheriter to : inherit from
scope = 1; //2: Visible in the editor | 1: Not visible in the editor | 0: Not visible, can't be used for inheritance
accuracy = 1; // never recognize
vehicleClass ="MEU_LPD"; // same as CfgVehicleClasses
displayName ="LPD-17 Bow Section"; // name of the object
destrType = DestructNo;
model = "\MEU_LPD\LPD_SEC_BOW.p3d"; //path to the binarized model
armor = 500;// strength of wall also effected by weight amount in geo lod
position = "pos bow";
};
class LPD_SEC_MID : LPD_SEC_BOW { //In this case it inherits from the first object I installed
scope = 1; //2: Visible in the editor | 1: Not visible in the editor | 0: Not visible, can't be used for inheritance
displayName ="LPD-17 Mid Section"; //name of the object
model = "\MEU_LPD\LPD_SEC_MID.p3d"; //path to the binarized model
position = "pos mid";
};
class LPD_SEC_AFT : LPD_SEC_BOW { //In this case it inherits from the first object I installed
scope = 2; //2: Visible in the editor | 1: Not visible in the editor | 0: Not visible, can't be used for inheritance
displayName ="LPD-17"; //name of the object
model = "\MEU_LPD\LPD_SEC_AFT.p3d"; //path to the binarized model
icon = "\MEU_LPD\tempicon.paa"; //icon used in editor
mapsize = 10;// size of icon when placed in editor
position = "pos aft";
...
I thought it was defined along with the other properties as a "position =..." but obviously that is incorrect or perhaps I am using it wrong. Any tips?