Manerd

Objects angle not loading

3 posts in this topic

Posted (edited)

Hey guys I need some help with my initserver.sqf file. When I add in objects it does not load the objects Pitch/Angle, instead of being slanted it is not affected by it at all

Here is my code:

_objects = 
[
    ["MapBoard_seismic_F",[23630.4,17601.8,12.6602],359.917,0,0,false],
    ["Land_Pier_F",[23640.5,17586.7,1.04656],240.321,0,0,false],
    ["Land_Pier_F",[23640.5,17586.7,10.2858],240.321,0,0,false],
    ["Land_Pier_small_F",[23672.4,17564.4,9.78714],114.769,0,0,false],
    ["Bunker_PMC",[23655.4,17581.6,-0.00438786],240.408,0,0,false],
    ["Land_CamoNetVar_EAST_EP1",[23641,17568.9,12.1173],334.718,0,0,false],
    ["MASH",[23651.6,17577.6,12.2794],241.138,0,0,false],
    ["MASH",[23648.4,17583.1,12.437],240.744,0,0,false],
    ["Land_GuardShed",[23644.1,17594.5,12.6783],240.477,0,0,false],
    ["AmmoCrates_NoInteractive_Large",[23644,17568.9,12.0792],52.4314,0,0,false],
    ["AmmoCrates_NoInteractive_Large",[23644.7,17569.5,12.084],234.331,0,0,false],
    ["Land_CrabCages_F",[23652.6,17578.4,12.0431],87.2126,0,0,false],
    ["AmmoCrates_NoInteractive_Medium",[23643.4,17568.6,12.0795],321.843,0,0,false],
    ["Land_CratesWooden_F",[23643.4,17597.7,12.7493],59.0205,0,0,false],
    ["Exile_Sign_VehicleCustoms",[23662.8,17591.3,0.000418663],251.434,0,0,false],
    ["Exile_Sign_Food",[23640.2,17598.7,12.781],16.5873,0,0,false],
    ["Exile_Sign_Vehicles",[23668.1,17582.9,0.000365257],234.014,0,0,false],
    ["Satelit",[23641.9,17571.2,12.1658],185.173,0,0,false],
    ["Misc_Backpackheap_EP1",[23647.2,17584.3,12.2114],89.5186,0,0,false],
    ["Misc_Backpackheap",[23648.4,17585,12.2155],0,0,0,false],
    ["Land_BagFenceLong",[23644.4,17598.1,12.7944],60.5524,0,0,false],
    ["Land_BagFenceLong",[23651.9,17585.2,12.4766],60.5525,0,0,false],
    ["Land_BagFenceLong",[23656.4,17577.4,12.1073],60.5525,0,0,false],
    ["Land_BagFenceLong",[23641.2,17563.2,11.9088],330.792,0,0,false],
    ["Land_BagFenceLong",[23646.3,17566.1,11.9698],330.792,0,0,false],
    ["Land_BagFenceLong",[23656.8,17572,12.0423],330.792,0,0,false],
    ["Land_BagFenceLong",[23643.8,17564.6,11.9651],330.792,0,0,false],
    ["Land_BagFenceLong",[23650.4,17587.8,12.5539],60.5525,0,0,false],
    ["Land_BagFenceLong",[23653.4,17582.6,12.384],60.5525,0,0,false],
    ["Land_BagFenceLong",[23651.6,17569.1,11.9661],330.792,0,0,false],
    ["Land_BagFenceLong",[23649,17567.6,11.9618],330.792,0,0,false],
    ["Land_BagFenceLong",[23654.9,17580,12.2725],60.5525,0,0,false],
    ["Land_BagFenceLong",[23654.2,17570.5,12.03],330.792,0,0,false],
    ["Land_BagFenceLong",[23645.9,17595.5,12.6905],60.5524,0,0,false],
    ["Land_PaperBox_open_full_F",[23640.9,17569.1,12.1221],229.124,0,0,false],
    ["Land_PaperBox_open_empty_F",[23640.2,17570.6,12.1729],142.534,0,0,false],
    ["Exile_Sign_SpecialOperations_Small",[23640.5,17572.1,11.8277],149.78,0,0,false],
    ["Exile_Sign_Equipment_Small",[23645.3,17583.4,11.7546],61.3117,0,0,false],
    ["Land_PaperBox_closed_F",[23642,17567.6,12.0672],234.201,0,0,false],
    ["Land_Blankets_EP1",[23649.8,17578.2,12.3107],0,0,0,false],
    ["Land_CratesShabby_F",[23642.3,17599.1,12.7872],0,0,0,false],
    ["AmmoCrate_NoInteractive_",[23640.9,17565.6,12.0305],159.753,0,0,false],
    ["AmmoCrate_NoInteractive_",[23640.5,17566.1,12.4848],250.801,0,0,false],
    ["AmmoCrate_NoInteractive_",[23645.5,17570.1,12.5282],250.801,0,0,false],
    ["AmmoCrate_NoInteractive_",[23640.5,17566.3,12.0527],148.393,0,0,false],
    ["AmmoCrate_NoInteractive_",[23645.5,17570.3,12.0959],148.393,0,0,false],
    ["AmmoCrate_NoInteractive_",[23645.8,17569.7,12.0737],159.753,0,0,false],
    ["Land_Metal_rack_F",[23650.5,17577.1,12.4055],159.667,0,0,false],
    ["Land_Chair_EP1",[23650.9,17578.3,12.3315],85.9809,0,0,false],
    ["Land_Sack_F",[23650,17583.3,12.429],0,0,0,false],
    ["Land_Sack_F",[23650.4,17584,12.4399],0,0,0,false],
    ["Land_Sack_F",[23647.7,17581.9,12.4185],0,0,0,false],
    ["Land_WheelieBin_01_F",[23652.7,17580.2,12.3282],359.47,0,0,false],
    ["Land_WheelieBin_01_F",[23651.9,17579.7,12.3196],334.227,0,0,false],
    ["Fridge_01_closed_F",[23650.8,17579.1,12.3092],332.223,0,0,false],
    ["Land_CratesPlastic_F",[23643.7,17596.9,13.4607],0,0,0,false],
    ["Land_Basket_F",[23649.9,17584.6,12.4294],359.93,0,0,false],
    ["Land_Basket_F",[23649.3,17585.5,12.45],359.93,0,0,false],
    ["Land_Basket_F",[23649.1,17582.5,12.3955],359.93,0,0,false],
    ["Land_Boots_EP1",[23649.2,17584,12.4478],325.008,0,0,false],
    ["Land_Boots_EP1",[23648.9,17583.5,12.44],338.499,0,0,false],
    ["Land_Tyre_F",[23652.9,17578.2,13.1206],359.805,0,0,false],
    ["Land_Tyre_F",[23652.4,17578.3,13.2192],0.160643,0,0,false],
    ["Land_Tyre_F",[23652.1,17578.3,13.1303],0.269634,0,0,false],
    ["Land_nav_pier_m_F",[23665.9,17601.6,6.77227],151.126,0,0,false],
    ["Land_Pier_small_F",[23645.3,17624.4,10.8766],14.0055,0,0,false],
    ["Land_StallWater_F",[23640.3,17600.4,12.8065],0,0,0,false],
    ["Land_BagFenceLong",[23642.9,17600.7,12.8514],60.5524,0,0,false],
    ["Land_BagFenceLong",[23641.4,17603.4,12.8823],60.5524,0,0,false],
    ["Land_CratesShabby_F",[23641.5,17600,12.8098],0,0,0,false],
    ["Land_Pier_Box_F",[23653.8,17646,11.4887],280.49,0,0,false],
    ["Land_Pier_Box_F",[23692.1,17552.1,10.5293],21.3153,0,0,false],
    ["Land_nav_pier_m_F",[23700.8,17620.9,6.68999],151.126,0,0,false],
    ["Rabbit_F",[23760.1,18060,-0.00310516],338.616,0,0,false],
    ["Land_nav_pier_m_F",[23727.8,17635.7,-0.674352],151.126,0,340.264,false] // This one doesn't slant

];

{
    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (_x select 2);
    _object setPosATL (_x select 1);
    _object allowDamage false;
    _object enableSimulationGlobal false; // :)
}
forEach _objects;

Any solutions?

Edited by Manerd

Share this post


Link to post
Share on other sites
15 minutes ago, Manerd said:

Any solutions?

_object = (_x select 0) createVehicle [0,0,0];
_object setDir (_x select 2);
_object setPosATL (_x select 1);
_object allowDamage false;
_object enableSimulationGlobal false; // :)

Because no part of this is going to read your vectors. 
Updating to M3_Editor and replacing your files will help fix this, but you cannot place the items in that array, because the part that actually spawns the objects are not looking for vectors. 

 

Share this post


Link to post
Share on other sites

I use the old m3editor, which allows me to put objects at an angle and then I can export it to sqf and put it serverside. You can't angle things in the initserver.sqf.

Share this post


Link to post
Share on other sites
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

  • Recently Browsing   0 members

    No registered users viewing this page.