BobTheHunted 12 Posted March 7, 2017 I have been having issues trying to export my xcam project to terrain builder. I place all my objects in the 3DEN editor, then play the preview mission, launch xcam, import all mission objects into a blank project, save the project, and then export the text file. The problem I am having is the classnames of the mission objects being empty in the exported object file. The coords are there, it is in the proper format and layout for TerrainBuilder to understand, but the quotes are empty. I don't have this issue when I place an object within xcam and then export it that way. It is just the mission placed objects that won't save classnames for. I have tried reinstalling xcam, loading all the object libraries (for vanilla A3, which is what my terrain is using), exported a script file (which does work btw) and then loaded that script into a new mission before adding the mission objects to the xcam project, I have made sure all of my placed objects aren't simple objects, have simulation enabled, etc, but none of these things have any different results Here is what my .txt file looks like: Reveal hidden contents "";204226.078125;7701.786133;317.059;0;0;1;-22.5665 "";204205.1875;7732.914063;348.256;0;0;1;-13.4561 "";204215.625;7786.763672;190.966;0;0;1;-16.8346 "";204232.609375;7833.650879;208.084;0;0;1;-20.4796 "";204268.71875;7656.578613;317.059;0;0;1;-21.7964 "";204304.078125;7639.593262;297.041;0;0;1;-24.9778 "";204329.28125;7600.442871;359.245;0;0;1;-18.9056 "";205220.890625;1478.618774;13.4247;0;0;1;-18.1146 "";205244.6875;1420.135132;136.381;0;0;1;-18.975 "";205278.5625;1438.0455322;79.1504;0;0;1;-1.71899 "";205260.25;1463.802734;210.082;0;0;1;-0.00500488 "";205244.875;1504.186157;250.848;0;0;1;-17.6382 "";205305.75;1358.49353;6.75128;0;0;1;-17.9951 "";205284.375;1392.190308;296.742;0;0;1;-20.0234 "";205303.34375;1420.0296631;15.9383;0;0;1;-0.505859 "";205301.78125;1424.0445557;108.479;0;0;1;-0.471313 "";205309.09375;1421.907227;108.479;0;0;1;-1.64673 "";205316.8125;1420.939087;108.479;0;0;1;-0.698364 "";205297.0625;1429.920288;162.17;0;0;1;-0.720337 "";205295.484375;1436.901245;171.914;0;0;1;-0.509766 "";205309.109375;1424.186401;15.938;0;0;1;4.396 "";205318.71875;1421.45105;15.938;0;0;1;5.0011 "";205298.9375;1431.539795;79.15;0;0;1;4.90808 "";205301.953125;1426.260864;15.938;0;0;1;4.90234 "";205306.59375;1429.72937;350.878;0;0;1;1.58057 "";205283.53125;1442.109253;92.7814;0;0;1;2.01843 "";205296.40625;1468.0871582;118.177;0;0;1;-2.11743 "";205291.53125;1440.603027;79.15;0;0;1;1.42981 "";205308.96875;1476.981079;150.081;0;0;1;-1.86719 "";205310.609375;1464.53833;149.686;0;0;1;2.22522 "";205314.4375;1457.991089;149.686;0;0;1;1.38831 "";205318.4375;1451.137207;149.686;0;0;1;0.340454 "";205293.53125;1453.601685;194.225;0;0;1;-0.972168 "";205317.46875;1458.00732422;337.052;0;0;1;-1.27954 "";205318.734375;1456.683105;314.955;0;0;1;-2.3219 "";205316.046875;1451.172974;335.66;0;0;1;-1.54163 "";205312.6875;1457.772339;326.208;0;0;1;-0.624756 "";205315.09375;1463.389526;336.73;0;0;1;-0.532959 "";205309.65625;1462.299927;326.349;0;0;1;-0.14502 "";205311.21875;1468.119873;143.989;0;0;1;0.286865 "";205294.28125;1443.884766;169.857;0;0;1;-0.561523 "";205307.15625;1465.914795;143.989;0;0;1;0.529785 "";205296.640625;1459.313232;217.938;0;0;1;-0.720581 "";205301.546875;1465.584595;230.554;0;0;1;0.170532 "";205311.578125;1473.871216;239.081;0;0;1;-0.650024 "";205297.078125;1441.262451;79.15;0;0;1;4.52026 "";205292.09375;1467.279785;79.15;0;0;1;-2.19275 "";205295.21875;1451.0108643;79.15;0;0;1;3.76453 "";205292.703125;1462.223389;79.15;0;0;1;0.649658 "";205303.0625;1441.959595;349.26;0;0;1;0.00817871 "";205301.21875;1449.327148;158.953;0;0;1;0.164307 "";205299.40625;1449.870483;347.924;0;0;1;0.0804443 "";205300.828125;1451.017334;80.8333;0;0;1;-0.000854492 "";205299.3125;1450.754395;1.86016;0;0;1;0.0695801 "";205299.140625;1451.478882;1.77209;0;0;1;0.0351563 "";205300.671875;1482.313721;330.317;0;0;1;-5.5415 "";205319.28125;1587.782104;24.3546;0;0;1;-5.27588 "";205333.0625;1335.44104;311.689;0;0;1;1.6217 "";205342.953125;1332.983765;13.1247;0;0;1;0.205078 "";205322.5625;1322.878906;110.474;0;0;1;-14.2474 "";205359.515625;1396.596191;360;0;0;1;-0.00866699 "";205357.796875;1394.875977;267.511;0;0;1;0.981079 "";205339.234375;1376.241821;274.519;0;0;1;-0.558228 "";205340.1875;1388.619019;274.519;0;0;1;-0.0119629 "";205357.8125;1398.723999;360;0;0;1;0.773804 "";205354.1875;1408.348999;177.511;0;0;1;0.26416 "";205324.578125;1417.434692;102.582;0;0;1;-1.12195 "";205326.140625;1416.477173;104.644;0;0;1;-0.525146 "";205323.5;1419.721802;15.938;0;0;1;4.3208 "";205324.015625;1413.316528;76.9184;0;0;1;0.0189209 "";205350.53125;1402.109619;309;0;0;1;-0.000610352 "";205358.4375;1406.687866;62.2087;0;0;1;0.110596 "";205320.296875;1454.341553;136.633;0;0;1;-2.07288 "";205322.046875;1478.578979;232.315;0;0;1;0.145752 "";205340.953125;1443.40332;178.274;0;0;1;0.012085 "";205353.0625;1564.819092;274.037;0;0;1;-31.0209 "";205371.390625;1327.791382;60.4034;0;0;1;-16.9543 "";205364.015625;1374.58728;191.573;0;0;1;0.012207 "";205372.390625;1378.222412;360;0;0;1;-0.0112305 "";205397.078125;1366.20813;24.7959;0;0;1;-20.2678 "";205362.6875;1371.772461;76.9184;0;0;1;0.0257568 "";205397.34375;1424.588257;347.752;0;0;1;-43.5016 "";205381.4375;1513.605835;178.152;0;0;1;-0.310181 "";205386;1501.0751953;166.804;0;0;1;-0.00976563 "";205385.046875;1517.654175;66.6615;0;0;1;-0.341431 "";205391.59375;1502.862427;336.571;0;0;1;-1.22571 "";205382.765625;1498.723633;278.411;0;0;1;0.112793 "";205398.046875;1514.907471;347.983;0;0;1;-12.6113 "";205389.453125;1492.439331;237.796;0;0;1;0.0244141 "";205373.28125;1482.659058;31.5529;0;0;1;1.59973 "";205362.953125;1484.661743;301.553;0;0;1;2.15759 "";205368.640625;1485.406372;301.553;0;0;1;0.00439453 "";205390.90625;1508.943848;154.463;0;0;1;-0.550171 "";205384.96875;1511.124634;154.43;0;0;1;-1.66443 "";205389.75;1512.204346;254.313;0;0;1;1.07935 "";205397.265625;1506.431152;339.453;0;0;1;4.4906 "";205370.140625;1487.124878;301.553;0;0;1;1.66711 "";205399.3125;1537.12146;358.419;0;0;1;-8.61389 "";205380.796875;1554.0415039;92.9822;0;0;1;-23.7798 "";205385.453125;1551.609497;251.022;0;0;1;-0.0531006 "";205401.671875;1281.771606;31.8704;0;0;1;-13.465 "";205409.75;1416.36084;2.86004;0;0;1;-21.6146 "";205408.8125;1412.183472;23.362;0;0;1;-61.2839 "";205404.203125;1452.640381;30.5886;0;0;1;-17.7384 "";205400.578125;1452.640381;211.51;0;0;1;-23.8893 "";205408.625;1452.640381;211.51;0;0;1;-9.52795 "";205433.234375;1471.445557;24.7959;0;0;1;-20.755 "";205416.875;1478.4198;92.5084;0;0;1;22.9005 "";205400.5625;1487.27771;93.9748;0;0;1;0.00500488 "";205419.96875;1505.602051;178.052;0;0;1;3.53003 "";205421.03125;1513.0582275;360;0;0;1;3.62085 "";205412.328125;1511.288574;360;0;0;1;6.76599 "";205416.6875;1506.364258;259.121;0;0;1;-10.6144 "";205405.125;1516.549316;347.983;0;0;1;-12.8853 "";205434.5625;1510.419678;115.856;0;0;1;-6.12939 "";205415.75;1518.588501;269.85;0;0;1;-12.4172 "";205435.59375;1519.536743;330.203;0;0;1;1.61182 "";205431.140625;1500.748901;46.737;0;0;1;-27.7242 "";205429.15625;1510.201538;132.409;0;0;1;13.978 "";205429.15625;1510.201538;132.409;0;0;1;13.978 "";205407.171875;1515.610718;323.746;0;0;1;18.5782 "";205431.3125;1494.844604;230.226;0;0;1;-23.5885 "";205402.453125;1508.554932;343.672;0;0;1;20.161 "";205417.859375;1491.706543;69.9198;0;0;1;-20.4917 "";205416.1875;1517.752319;267.511;0;0;1;4.66663 "";205424.375;1507.655273;107.109;0;0;1;1.66858 "";205406.328125;1513.121582;245.655;0;0;1;2.48535 "";205402.203125;1515.681763;254.313;0;0;1;4.26245 "";205412.046875;1507.438599;185.197;0;0;1;7.10486 "";205406.65625;1529.68042;274.24;0;0;1;-15.573 "";205425.671875;1529.611938;299.063;0;0;1;-15.1017 "";205413.78125;1536.439087;273.977;0;0;1;-17.2788 "";205420.015625;1542.203125;105.684;0;0;1;-14.7042 "";205436.59375;1542.039917;321.243;0;0;1;-11.0762 "";205421.078125;1538.455566;285.273;0;0;1;-22.004 "";205429.15625;1527.859985;132.409;0;0;1;16.6658 "";205424.75;1548.477661;292.899;0;0;1;-20.6139 "";205401.0625;1520.383667;64.5714;0;0;1;2.13013 "";205423.609375;1527.489868;7.55847;0;0;1;0.936279 "";205452.359375;1493.810669;33.9861;0;0;1;-23.751 "";205440.859375;1515.610718;357.383;0;0;1;15.9052 "";205450.40625;1541.737915;135.956;0;0;1;-22.1147 "";205449;1521.677979;24.3546;0;0;1;4.46716 "";205510.75;7418.230957;164.138;0;0;1;-41.2836 "";205524.578125;7361.940918;50.1519;0;0;1;-49.1717 "";205959.359375;6995.138672;360;0;0;1;-0.120911 "";205946.984375;7029.472168;122.197;0;0;1;0.00946045 "";205936.96875;7037.105469;49.6545;0;0;1;-0.0540161 "";205938.71875;7054.51416;129.393;0;0;1;-0.0238037 "";205930.296875;7042.759277;47.566;0;0;1;-0.0407715 "";205956.609375;7043.243652;342.533;0;0;1;0.0147095 "";205987.09375;6378.730957;107.84;0;0;1;-21.8318 "";205968.765625;7038.547363;162.995;0;0;1;0.0115356 "";205989.703125;7037.213867;360;0;0;1;0.0022583 "";205991.3125;7034.802246;246.583;0;0;1;-0.00305176 "";205998.28125;7009.0488281;276.728;0;0;1;-21.0276 "";205972.078125;7048.676758;40.2288;0;0;1;-0.00421143 "";206001.265625;6975.311523;105.944;0;0;1;-0.372925 "";206037.390625;7031.238281;360;0;0;1;-0.00634766 "";206016.15625;7075.839844;219.092;0;0;1;-0.205933 "";206020.1875;7072.513184;270.092;0;0;1;-19.1414 "";206029.03125;7124.831055;360;0;0;1;-0.0106812 "";206042.03125;6357.82666;291.655;0;0;1;-20.4082 "";206091.046875;6344.757324;111.539;0;0;1;-20.3452 "";206094.78125;6452.544434;284.773;0;0;1;-23.4148 "";206116.46875;6978.537598;293.472;0;0;1;-0.00653076 "";206113.296875;7086.46582;360;0;0;1;-1.62689 "";206148.40625;6325.816406;111.539;0;0;1;-20.1801 "";206125.84375;6952.0761719;283.578;0;0;1;-17.8894 "";206134.3125;6976.702637;263.739;0;0;1;-0.0115356 "";206143.5;6973.805664;71.6043;0;0;1;-0.00915527 "";206132.65625;6968.278809;26.1967;0;0;1;-0.0669556 "";206123.046875;6990.669434;119.196;0;0;1;0.114319 "";206148.375;7018.5625;360;0;0;1;-0.0135498 "";206126.4375;7069.872559;165.219;0;0;1;0.0119629 "";206154.34375;7074.662598;360;0;0;1;-0.000976563 "";206156.640625;7073.191406;87.9397;0;0;1;0.0214844 "";206158.234375;7066.501465;360;0;0;1;-0.00622559 "";206125.03125;7083.407227;360;0;0;1;-16.9747 "";206191.046875;6708.546387;0.205025;0;0;1;0.00238037 "";206161.734375;7051.896484;360;0;0;1;-0.00274658 "";206168.484375;7057.738281;360;0;0;1;0.0791626 "";206207.953125;6300.90918;299.258;0;0;1;-20.603 "";206235.296875;6754.342773;61.8692;0;0;1;0.00592041 "";206231.34375;6758.00830078;128.856;0;0;1;0.0817261 "";206223.75;6759.00488281;40.4795;0;0;1;-0.069397 "";206230.640625;6757.532227;73.8923;0;0;1;-0.00616455 "";206225.640625;6749.716309;213.491;0;0;1;0.0720215 "";206228.984375;6757.277832;129.76;0;0;1;0.0835571 "";206229.9375;6756.962891;297.837;0;0;1;-0.0595093 "";206223.265625;6757.320313;222.405;0;0;1;-16.9785 "";206236.21875;6761.509277;259.644;0;0;1;0.0377808 "";206235.375;6771.952148;261.097;0;0;1;0.0171509 "";206222.9375;6772.834961;72.74;0;0;1;0.287842 "";206216.4375;6764.515137;27.6972;0;0;1;-2.40063 "";206212.15625;6772.444336;175.776;0;0;1;0.0802612 "";206213.03125;6769.727539;40.2654;0;0;1;-0.106934 "";206228.671875;6768.646484;340.22;0;0;1;0.150635 "";206214.0625;6776.522949;8.12783;0;0;1;0.086792 "";206226.015625;6761.731445;360;0;0;1;-0.015625 "";206213.0625;6772.585938;48.3084;0;0;1;-0.0558472 "";206229.453125;6760.181152;114.953;0;0;1;0.482605 "";206224.859375;6765.747559;41.2941;0;0;1;-16.46 "";206234.28125;6768.269043;360;0;0;1;-0.732178 "";206224.484375;6766.331055;303.252;0;0;1;-1.51093 "";206219.734375;6770.596191;360;0;0;1;-1.96985 "";206222.296875;6767.291504;117.91;0;0;1;-0.557678 "";206232.921875;6762.0830078;359.939;0;0;1;-0.000732422 "";206202.390625;6999.858398;360;0;0;1;-3.3327 "";206229.59375;7094.490234;60.1736;0;0;1;0.0977173 "";206258.484375;6265.21582;151.431;0;0;1;-23.0823 "";206242.765625;6756.328613;90.9817;0;0;1;0.0116577 "";206243.90625;6758.583496;213.845;0;0;1;-0.0214844 "";206246.671875;6756.98584;12.7878;0;0;1;-0.0445557 "";206240.015625;6758.461426;24.3869;0;0;1;-15.144 "";206249.15625;6749.810059;358.673;0;0;1;0.000976563 "";206246.296875;6760.794434;285.236;0;0;1;0.0133057 "";206279.765625;6839.942871;360;0;0;1;-0.323303 "";206280.125;6210.103516;159.005;0;0;1;-24.0612 "";206355.703125;6876.816895;10.4722;0;0;1;-0.0686646 "";206369.5;6845.380859;360;0;0;1;0.00726318 "";206652.171875;2797.10376;178.139;0;0;1;-19.2439 "";206719.046875;2031.625122;7.88129;0;0;1;-18.496 "";206683.359375;2761.416992;111.207;0;0;1;-20.9348 "";206702.234375;5982.124023;227.806;0;0;1;-20.4298 "";206695.84375;6483.84668;229.146;0;0;1;-48.9257 "";206730.953125;2083.375977;189.494;0;0;1;-19.9286 "";206736.71875;2127.54541;42.3514;0;0;1;-19.9658 "";206745.984375;2173.0290527;162.183;0;0;1;-20.6152 "";206745.515625;2218.101074;1.29833;0;0;1;-15.3619 "";206744.265625;2739.614258;117.678;0;0;1;-20.8943 "";206745.015625;5952.400391;72.6375;0;0;1;-21.7762 "";206788.375;2713.593506;124.388;0;0;1;-17.0081 "";206785.734375;5991.0639648;233.069;0;0;1;-46.957 "";206785.734375;5991.0639648;233.069;0;0;1;-46.957 "";206838.953125;2682.573242;125.633;0;0;1;-21.6123 "";206810.8125;5956.910156;111.049;0;0;1;-18.0726 "";206813.8125;5995.947266;111.941;0;0;1;-0.732666 "";206809.84375;5984.0732422;183.267;0;0;1;-6.3302 "";206823.203125;5975.866699;128.316;0;0;1;-53.0083 "";206859.765625;5938.624512;111.049;0;0;1;-12.5518 "";206883.90625;2653.269775;127.209;0;0;1;-18.094 "";206926.578125;2617.53833;315.368;0;0;1;-18.9862 "";208678.609375;5151.947754;278.509;0;0;1;-21.5135 "";208739.453125;5150.898926;267.323;0;0;1;-16.3425 "";208794.09375;5154.675293;262.821;0;0;1;-18.1515 "";209319.53125;1557.487915;168.369;0;0;1;-19.4972 "";209351.3125;1509.697144;135.956;0;0;1;-19.7898 "";209525.609375;6793.399902;279.333;0;0;1;-17.5065 "";209575.734375;6783.948242;296.878;0;0;1;-22.2676 Any help would be much appreciated Share this post Link to post Share on other sites
RoF 240 Posted March 8, 2017 Why are you building in Eden, then trying to import to x-cam to export? You might as well go file> export to terrain builder in Eden. Also be aware that Eden doesn't export rotation, so if you have turned objects upside down or on their side it won't carry over to TB. If you want to use x-cam then USE x-cam, not eden and try and import into it. You are doing it all arse about face lol 1 Share this post Link to post Share on other sites
BobTheHunted 12 Posted March 8, 2017 On 3/8/2017 at 7:58 AM, RoF said: Why are you building in Eden, then trying to import to x-cam to export? You might as well go file> export to terrain builder in Eden. Also be aware that Eden doesn't export rotation, so if you have turned objects upside down or on their side it won't carry over to TB. If you want to use x-cam then USE x-cam, not eden and try and import into it. You are doing it all arse about face lol I am using xCam to export BECAUSE eden's export function is broken (or just lacking in the first place) and I don't want to learn to use xCam's many complicated functions when I have a better alternative (for me, anyway). I would rather not watch 20 tutorials just to learn things I can already do within the editor. Also, I already have objects set up in the editor to export, and I don't really want to learn all of the intricacies of xCam and THEN spend a bunch of time placing objects in the exact position they were in before. Point is, I am just trying to export my editor mission, but the vanilla function doesn't work so I can't use that, xCam's function doesn't seem to be working properly, and any other workaround I can think of doesn't seem to be working Share this post Link to post Share on other sites
BobTheHunted 12 Posted March 8, 2017 I found a potential workaround for the problem. I dissected the two different project files, one with an object place by xCam, and another with an object placed and inserted into xCam. The difference I noticed is the dat_# part of the project file. I noticed that the last string points to a .p3d model file for the object, but in the mission import project it just displays the classname again. When I edited the classname to the model so the structure matched the first project, when I exported to terrain builder it properly displayed the classname. So I guess I will just have to edit the project file manually. It works I guess Share this post Link to post Share on other sites
BobTheHunted 12 Posted March 8, 2017 Well after doing all that the rotation is still wrong on literally every object that isn't just in it's default position. I thought one of xCam's benefits was it's ability to properly export objects? Unless I am missing something. Will report back any discoveries Share this post Link to post Share on other sites
RoF 240 Posted March 8, 2017 My x-cam exports fine. Both x-cam and Eden can't export rotation correct, you can only rotate left and right, 1 Share this post Link to post Share on other sites
luki 53 Posted March 8, 2017 On 3/8/2017 at 7:58 AM, RoF said: If you want to use x-cam then USE x-cam, not eden and try and import into it. You are doing it all arse about face lol Exactly this. Xcam is for terrains not missions. And you dont have to watch all tut videos, memphisbelle made a great index on the xcam page for all the different functions ect. Share this post Link to post Share on other sites
BobTheHunted 12 Posted March 8, 2017 On 3/8/2017 at 4:00 PM, luki said: Exactly this. Xcam is for terrains not missions. And you dont have to watch all tut videos, memphisbelle made a great index on the xcam page for all the different functions ect. I am using it for my terrain. I am just trying to import my eden object layout into TB. Apparently xCam is able to do that correctly, but I guess that is not the case until BI fixes their tools. My goal was to import my mission objects into xCam and then export the TB file from xCam so the rotation/pitch/bank export properly to terrain builder. But it seems that still isn't possible at this point for some reason 1 Share this post Link to post Share on other sites
RoF 240 Posted March 8, 2017 If you want to do pitch etc you have to use buldozer Share this post Link to post Share on other sites
luki 53 Posted March 8, 2017 On 3/8/2017 at 6:13 PM, BobTheHunted said: rotation/pitch/bank export Thats why there isnt such a function within xcam, that is missing since ever with this workflow, i dont know if 64bit precision could help solve this problem, in the end it is something bi has to fix. Share this post Link to post Share on other sites
frostb1te198 10 Posted July 6, 2018 Didn't xCam release fixes? For me, it's currently working. http://www.arma-sim.de/xcam/contents/pages/download.html Share this post Link to post Share on other sites
RoF 240 Posted July 6, 2018 On 7/6/2018 at 5:33 PM, frostb1te198 said: Didn't xCam release fixes? For me, it's currently working. http://www.arma-sim.de/xcam/contents/pages/download.html Everyone is (should be) using E2TB for exporting from x-cam/ Eden now. https://steamcommunity.com/sharedfiles/filedetails/?id=1174073713 And ObjectPlacementTBH is far more up to date than x-cam is, an does pitch bank etc. You can even import your template library from Terrain Builder to use in it https://steamcommunity.com/workshop/filedetails/?id=1242712395 1 Share this post Link to post Share on other sites