Sazarac

[SOLVED] Moving existing map objects

4 posts in this topic

Hi all,

 I'm attempting to move the 3 cement mixers on the Tanao map. I found the locations of the objects within mpmissions, initServer.sqf.

Spoiler

["Exile_ConcreteMixer", [11909.6, 10323.5, 150.275], [-0.916993, -0.398681, 0.0133335], [0.0239085, -0.0215646, 0.999481], true],
["Exile_ConcreteMixer", [8427.46, 10249, 19.43], [0.292207, -0.956355, 0], [0, 0, 1], true],
["Exile_ConcreteMixer", [2246.1001, 1.1891285, 8585.499], [0.0053265258, 5.5440183, 0.0053265258], [0, 0, 1], true],

I got cords from Infinistar but they seem to be incomplete from what I see in the .sqf so I opened up Eden Editor and placed a cement mixer and used the cords I found in the mission.sqm

Spoiler

        items=1;
        class Item0
        {
            dataType="Object";
            class PositionInfo
            {
                position[]={2246.1001,1.1891285,8585.499};
                angles[]={0.0053265258,5.5440183,0.0053265258};
            };
            side="Empty";
            flags=4;
            class Attributes
            {
            };
            id=1;
            type="Exile_ConcreteMixer_Preview";

Like so;

["Exile_ConcreteMixer", [2246.1001,1.1891285,8585.499], [0.0053265258,5.5440183,0.0053265258], [0, 0, 1], true],

But while this DID move the mixer, it throws it off the map.  SO, how exactly can I move the cement mixers to another location? Any help would be very appreciated. Thanks.

Share this post


Link to post
Share on other sites

Try swapping the cords.

 

So instead of: 2246.1001,1.1891285,8585.499 try 2246.1001,8585.499,1.1891285

Share this post


Link to post
Share on other sites
Advertisement

^ Exactly that.

Mission markers use a different position format.

Share this post


Link to post
Share on other sites

We have closed this thread and marked it as solved.

Share this post


Link to post
Share on other sites
Advertisement
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.