astruyk / Ares

An arma3 mod that adds some extra functionality to Zeus
51 stars 11 forks source link

Save/Load - Some objects in save/load seem to be offset when re-pasted. #113

Closed astruyk closed 10 years ago

astruyk commented 10 years ago

Having problems copying things while trying to create prefabs. It seems like some objects specifically are being offset by amounts that are different than the rest. I'm not sure if it has something to do with origin points or what.

In the following prefab, it seems like the H-barriers and the sandbags are being offset by different amounts than the roadblocks and stuff.

[["Land_BarGate_F",[15288.5,17353.5,-0.000169754],43.374,1,0],["Land_CncBarrier_F",[15293.9,17352.2,0],133.956,1,0],["Land_HBarrier_3_F",[15286.2,17360.3,-0.00209427],132.857,1,0],["Land_HBarrier_3_F",[15283.5,17359.3,0.000116348],43.0277,1,0],["Land_CncBarrier_F",[15282,17355.4,-1.90735e-006],133.956,1,0],["Land_CncBarrier_F",[15288.7,17362.4,0],314.135,1,0],["Land_PaperBox_open_empty_F",[15284.5,17360.7,1.90735e-006],219.183,1,0],["Land_CncBarrier_F",[15296.7,17355.2,0],133.956,1,0],["Land_BagFence_Long_F",[15296.5,17349.9,-0.000762939],43.9535,1,0],["Land_BagBunker_Small_F",[15293.9,17347.4,-3.43323e-005],43.179,1,0],["Land_BagFence_Round_F",[15280.7,17359.7,0.000457764],357.82,1,0],["Land_CncBarrier_F",[15279.1,17352.3,1.14441e-005],133.956,1,0],["Land_CncBarrier_F",[15286.9,17344.6,1.90735e-005],315.43,1,0],["Land_CncBarrier_F",[15291.7,17365.5,3.8147e-006],314.135,1,0],["Land_CncBarrier_F",[15299.6,17358.2,0],133.956,1,0],["Land_BagFence_Long_F",[15284.5,17365,-5.72205e-006],43.9534,1,0],["Land_BagFence_Round_F",[15279.3,17361.2,0.000371933],92.07,1,0],["Land_HBarrier_5_F",[15281.1,17364.7,0.00205612],313.371,1,0],["Land_CncBarrier_F",[15276.4,17349.4,0],133.956,1,0],["Land_CncBarrier_F",[15284.1,17341.8,1.71661e-005],315.43,1,0],[15289.3,17355.1,0]]

Might be an issue with the grabber, or might be issue with the pasting code. Hard to tell.

TheOtherTaylor commented 10 years ago

If you repeatedly copy and paste will it continue to shift over by a set amount or is it just shifting once?

astruyk commented 10 years ago

Might be related to this: http://feedback.arma3.com/view.php?id=20274

astruyk commented 10 years ago

Might be fixed in e8c4fffad24c230ded66c825b8ddf11347ecddeb

astruyk commented 10 years ago

Going to go with 'fixed' after some more testing. We'll see if this gets re-opened when I try to make compositions... :/