• 0
Sign in to follow this  
graylyn

DMS Mission objects not loading correctly.

Question

/**
 * Created with Exile Mod 3DEN Plugin
 * www.exilemod.com
 */

ExileRouletteChairs = [];
ExileRouletteChairPositions = [];

// 33 Vehicles
private _vehicles = [
["Land_Carrier_01_base_F", [7373,1316.12,90.605], [0.961016, 0.276494, 0], [0, 0, 1], false],
["Land_Cargo_Tower_V1_No1_F", [7516.79, 1378.02, 36.7513], [0.359671, -0.933079, 0], [0, 0, 1], false],
["Land_Cargo_Tower_V1_No2_F", [7526.02, 1339.63, 36.7525], [-0.413855, 0.910343, 0], [0, 0, 1], false],
["Land_Cargo_Tower_V1_No3_F", [7284.66, 1306.16, 36.7382], [-0.947976, -0.318341, 0], [0, 0, 1], false],
["Land_Cargo_Tower_V1_No4_F", [7320.47, 1267.49, 36.7831], [0.278843, -0.960337, 0], [0, 0, 1], false],
["Land_Cargo_House_V1_F", [7407.1, 1345.39, 24.2161], [0.1256, 0.992081, 0], [0, 0, 1], false],
["Land_Cargo_House_V1_F", [7417.77, 1346.8, 24.1239], [0.1256, 0.992081, 0], [0, 0, 1], false],
["Land_Cargo_House_V1_F", [7428.42, 1347.87, 24.0324], [0.1256, 0.992081, 0], [0, 0, 1], false],
["Land_Cargo_House_V1_F", [7438.96, 1349.84, 23.9559], [0.1256, 0.992081, 0], [0, 0, 1], false],
["Land_Cargo_House_V1_F", [7407.71, 1358.59, 24.3326], [0.1256, 0.992081, 0], [0, 0, 1], false],
["Land_Cargo_House_V1_F", [7417.96, 1359.63, 24.2278], [0.1256, 0.992081, 0], [0, 0, 1], false],
["Land_Cargo_House_V1_F", [7428.92, 1360.85, 24.1229], [0.1256, 0.992081, 0], [0, 0, 1], false],
["Land_Cargo_House_V1_F", [7438.82, 1362.95, 24.0288], [0.1256, 0.992081, 0], [0, 0, 1], false],
["Land_HBarrier_01_wall_4_green_F", [7459.85, 1311.4, 24.6318], [-0.947186, -0.320686, 0.000156585], [0, 0.000488281, 1], false],
["Land_HBarrier_01_wall_4_green_F", [7457.91, 1316.35, 24.6289], [-0.947186, -0.320686, 0.000156585], [0, 0.000488281, 1], false],
["Land_HBarrier_01_wall_4_green_F", [7456.06, 1321.46, 24.6263], [-0.947186, -0.320686, 0.000156585], [0, 0.000488281, 1], false],
["Land_HBarrier_01_wall_4_green_F", [7461.84, 1306.48, 24.6339], [-0.947186, -0.320686, 0.000156585], [0, 0.000488281, 1], false],
["Land_HBarrier_01_line_5_green_F", [7455.62, 1325.33, 24.5955], [-0.369646, 0.929173, -0.000453698], [0, 0.000488281, 1], false],
["Land_HBarrier_01_line_5_green_F", [7461.14, 1327.53, 24.5946], [-0.369646, 0.929173, -0.000453698], [0, 0.000488281, 1], false],
["Land_HBarrier_01_line_5_green_F", [7466.52, 1329.54, 24.5947], [-0.369646, 0.929173, -0.000453698], [0, 0.000488281, 1], false],
["Land_HBarrier_01_line_5_green_F", [7471.88, 1331.78, 24.592], [-0.369646, 0.929173, 0], [0, 0, 1], false],
["Land_HBarrier_01_line_5_green_F", [7477.3, 1333.97, 24.592], [-0.369646, 0.929173, 0], [0, 0, 1], false],
["Land_HBarrier_01_line_5_green_F", [7484.54, 1332.57, 24.592], [0.910213, 0.41414, 0], [0, 0, 1], false],
["Land_HBarrier_01_line_5_green_F", [7487, 1327.28, 24.592], [0.910213, 0.41414, 0], [0, 0, 1], false],
["Land_HBarrier_01_line_5_green_F", [7489.18, 1322.16, 24.592], [0.910213, 0.41414, 0], [0, 0, 1], false],
["Land_HBarrier_01_line_5_green_F", [7491.47, 1316.9, 24.592], [0.910213, 0.41414, 0], [0, 0, 1], false],
["Land_HBarrier_01_line_5_green_F", [7487.74, 1310.75, 24.592], [0.368112, -0.929782, 0], [0, 0, 1], false],
["Land_HBarrier_01_line_5_green_F", [7482.05, 1308.53, 24.592], [0.338513, -0.940962, 0], [0, 0, 1], false],
["Land_HBarrier_01_line_5_green_F", [7476.42, 1306.46, 24.6061], [-0.328933, 0.944353, -0.00046111], [0, 0.000488281, 1], false],
["Land_HBarrier_01_line_5_green_F", [7470.8, 1304.55, 24.6064], [-0.312656, 0.949866, -0.000463802], [0, 0.000488281, 1], false],
["Land_HBarrier_01_line_5_green_F", [7465.06, 1302.53, 24.6067], [0.35124, -0.936285, 0.000457171], [0, 0.000488281, 1], false],
["Land_Cargo_Patrol_V1_F", [7466.92, 1308.59, 28.7686], [0.94186, 0.336006, 0], [0, 0, 1], false],
["Land_Cargo_HQ_V1_F", [7475.93, 1319.71, 27.7275], [0.379881, -0.925036, 0], [0, 0, 1], false]
];


{
    private _vehicle = (_x select 0) createVehicle (_x select 1);
    _vehicle allowDamage false;
    _vehicle setPosWorld (_x select 1);
    _vehicle setVectorDirAndUp [_x select 2, _x select 3];
    _vehicle enableSimulationGlobal (_x select 4);
    _vehicle setVariable ["ExileIsLocked", -1, true];
    
    if (_vehicle isKindOf "Exile_RussianRouletteChair") then
    {
        ExileRouletteChairs pushBack _vehicle;
        ExileRouletteChairPositions pushBack [_x select 1, getDir _vehicle];
    };
}
forEach _vehicles;

// 0 Simple Objects
private _invisibleSelections = ["zasleh", "zasleh2", "box_nato_grenades_sign_f", "box_nato_ammoord_sign_f", "box_nato_support_sign_f"];
private _simpleObjects = [

];

{
    private _simpleObject = createSimpleObject [_x select 0, _x select 1];
    _simpleObject setVectorDirAndUp [_x select 2, _x select 3];
    
    {
        if ((toLower _x) in _invisibleSelections) then 
        {
            _simpleObject hideSelection [_x, true];
        };
    }
    forEach (selectionNames _simpleObject);
}
forEach _simpleObjects;

That is my current objects list. I followed the guide instructed by jerome, but my carrier spawns below the water. Even with the 90 on the Z axis.

This is also the error DMS throws

4:23:13 Error in expression <0.961016, 0.276494, 0], 0, 0, 1, true],
]>
 4:23:13   Error position: <]>
 4:23:13   Error Missing [
 4:23:13 File x\addons\DMS\objects\static\CarrierBase.sqf, line 3
 4:23:13 Error in expression <0.961016, 0.276494, 0], 0, 0, 1, true],
]>
 4:23:13   Error position: <]>
 4:23:13   Error Missing [
 4:23:13 File x\addons\DMS\objects\static\CarrierBase.sqf, line 3
 4:23:13 "DMS ERROR :: Calling DMS_fnc_ImportFromM3E_Static with invalid file/filepath: CarrierBase | _export: <null>"
 4:23:13 Error in expression < file/filepath: %1 | _export: %2",_file,_export];
[]
};

private _objs = _export>
 4:23:13   Error position: <_export];
[]
};

private _objs = _export>
 4:23:13   Error Undefined variable in expression: _export
 4:23:13 File \x\addons\dms\scripts\fn_ImportFromM3E_Static.sqf [DMS_fnc_ImportFromM3E_Static], line 42

Anyone got any ideas?

 

Edit: the guide i followed was in here.

 

Edited by graylyn

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet

Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.