• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Need Help Bad locator file

Myth

Freebooter
Good evening. Please tell me: there is a locator file that I can't edit through Tool. The program cannot read the file. The question is: can anyone help pull the coordinates of the locators out of it? Or at least suggest a way to pull the coordinates. Thank you.
 
I have met one of those. I made a new locatorfile with the locators I needed to add.
So now I have two locatorfiles running in that location as I still need some the old locators.

Those of the old locators that I wanted to delete (and couldn't) instead I changed their radius to very very small and they're out of business.

I don't know if you have anything like POTC's console.c where you can get the coordinates for a certain spot?
 
Did I understand correctly that there is a code that will upload locator information to debugging files?
 
Do you have access to the PotC mod files?
There's a Trace that writes coordinates to compile.log .
Then you can load those in TOOL and put them in a locator file.

So now I have two locatorfiles running in that location as I still need some the old locators.

Those of the old locators that I wanted to delete (and couldn't) instead I changed their radius to very very small and they're out of business.
Wow! That's clever! :woot
 
I have never done the trace trick Pieter mentioned. Which COAS location and locatorfile is it?
If it's a small room we could always make a new locatorfile.
 
I have never done the trace trick Pieter mentioned. Which COAS location and locatorfile is it?
If it's a small room we could always make a new locatorfile.
It is the ruins of a church and a large residence. I once put it on the forum a long time ago, and I do not want to re-add a bunch of locators again. I can publish both locations. Maybe you'll find a way to pull the locators out.
 
The problem is that I can't edit these 2 files through programs. They're not readable. That's why I created this theme.
 
But you can visually display them in-game, then stand in their center, and take the co-ordinates.

You can then either attempt to find those co-ordinates in the locators GM file (to find the missing locators), or to set a new locator in those positions/locations (as Jack has said).

(Some locators are corrupted, so you will not be able to actually use/read them.)

Edit:

Or do you mean that you can't read/edit the locators GM file(s) at all? :confused:
 
Last edited:
Still the method is not convenient, many lines are not clear. I'll try to find another way.

If the locators load in the game, but not in TOOL, I can help you.

Someone recently requested a way to export the character's trading information into a file format that Microsoft Excel can read, so that they may more easily manage where the best price/cost colonies for trading, using Excel's sorting/lookup features. Similar to the DumpAttributes method that writes to the compile.log, I created a way to export attributes to a separate file, delimited by a specified character, which makes it easy to create a .csv file that Excel can read; this same method will dump all the location attributes, with a bit of preparation. I tried it for a loadedLocation and it works perfectly. I have not yet uploaded this feature, but it is ready and I can give you what you need. The example I tested:

Code:
void exportLocs()
{
    object export;
    if(!IsEntity(loadedLocation)) return;
    aref mylocs;
    makearef(mylocs, loadedLocation.locators);
    int grpCount = GetAttributesNum(mylocs);

    for(int j = 0; j < grpCount; j++) {
        aref grp = GetAttributeN(mylocs, j);
        string locatorGroupName = GetAttributeName(grp);
        if(CheckAttribute(mylocs, locatorGroupName) == 0) continue;
        aref locatorGroup;
        makearef(locatorGroup, mylocs.(locatorGroupName));
        int locatorCount = GetAttributesNum(locatorGroup);
        if(locatorCount <= 0) continue;
        string sRow = "r" + j;

        for(int i = 0; i < locatorCount; i++)
        {
            aref locator = GetAttributeN(locatorGroup, i);
            string locatorName = GetAttributeName(locator);
            sRow += "_" + i;
            export.(sRow).group = locatorGroupName;
            export.(sRow).locName = locatorName;
            export.(sRow).x = locator.x;
            export.(sRow).y = locator.y;
            export.(sRow).z = locator.z;
            export.(sRow).xx = locator.vx.x;
            export.(sRow).xy = locator.vx.y;
            export.(sRow).xz = locator.vx.z;
            export.(sRow).yx = locator.vy.x;
            export.(sRow).yy = locator.vy.y;
            export.(sRow).yz = locator.vy.z;
            export.(sRow).zx = locator.vz.x;
            export.(sRow).zy = locator.vz.y;
            export.(sRow).zz = locator.vz.z;
        }
    }
    string savePath = "Locators.csv";
    ExportAttributes(export, savePath, ",");
}

void ExecuteConsole()
{
    exportLocs();
}

If you don't want to wait for the update, you can replace the "export" object assignments with trace() statements, but they will of course be on many separate lines in the .log file, whereas this method will make a handy comma-separated record for each locator.

Resulting Locators.csv file:
Code:
group,locname,x,y,z,xx,xy,xz,yx,yy,yz,zx,zy,zz,
flag1,f1,0.00352139,21.8341,8.32116,1,0,0,0,1,0,0,0,1,
flag1,f2,0.00352139,21.8344,12.3018,1,0,0,0,1,0,0,0,1,
flag1,f3,0.00352139,19.5744,12.3022,1,0,0,0,1,0,0,0,1,
flag1,f4,0.00352139,19.5744,8.32116,1,0,0,0,1,0,0,0,1,
reload,boat,36.86,0,94.2877,1,0,0,0,1,0,0,0,1,
reload,reload1,33.3471,-1.92315,92.2315,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
reload,reload1_back,33.358,3.00378,97.1672,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
reload,reload2,14.5195,-1.92315,92.2315,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
reload,reload2_back,14.5304,3.00378,96.7845,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
reload,reload3,-0.0974154,-3,12.0097,1,0,0,0,1,0,0,0,1,
reload,reload4,29.3421,-3,61.2886,0.704655,0,0.70955,0,1,0,-0.70955,0,0.704655,
reload,reload5,-2.52426,-3,75.6446,-0.0187089,-0,-0.999825,0,1,0,0.999825,0,-0.0187089,
reload,reload6,-11.2981,-3,41.3065,2.22045e-16,0,-1,0,1,0,1,0,2.22045e-16,
reload,reload7,26.3311,-3,14.1632,0.485464,0,0.874257,0,1,0,-0.874257,0,0.485464,
reload,reload8,16.396,-3,29.9069,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
reload,reload9,20.787,-3,56.9355,1,0,0,0,1,0,0,0,1,
reload,houseH1,-33.5589,4.97936,15.3413,0.858812,0,0.512291,0,1,0,-0.512291,0,0.858812,
reload,houseH2,51.8045,5.07084,30.19,1,0,0,0,1,0,0,0,1,
reload,houseS1,31.7832,5.52726,34.7581,1,0,0,0,1,0,0,0,1,
reload,houseS2,49.1204,5.35198,37.8907,-0.665761,0,0.746165,0,1,0,-0.746165,0,-0.665761,
reload,houseF1,41.0402,5.67365,34.4791,1,0,0,0,1,0,0,0,1,
reload,houseF2,45.513,4.95444,38.3962,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
reload,houseF3,4.88764,3.89507,67.0705,2.22045e-16,0,-1,0,1,0,1,0,2.22045e-16,
reload,houseF4,-6.94716,4.57756,56.7961,2.22045e-16,0,-1,0,1,0,1,0,2.22045e-16,
reload,houseSp1,-21.918,4.97262,22.5848,1,0,0,0,1,0,0,0,1,
reload,gate,55.0117,-1.923,41.1737,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
reload,reload3_back,-0.0974154,5.97358,10.821,1,0,0,0,1,0,0,0,1,
reload,reload4_back,31.3186,4.41048,59.2767,0.712839,0,-0.701327,0,1,0,0.701327,0,0.712839,
reload,reload5_back,-3.74051,2.12847,75.6674,-0.0187089,0,-0.999825,0,1,0,0.999825,0,-0.0187089,
reload,reload6_back,-12.3531,4.96956,41.3065,2.22045e-16,0,-1,0,1,0,1,0,2.22045e-16,
reload,reload7_back,28.4099,7.80018,12.6828,0.485464,0,0.874257,0,1,0,-0.874257,0,0.485464,
reload,reload8_back,17.4566,5.97894,29.9069,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
reload,reload9_back,20.787,4.95608,55.8465,1,0,0,0,1,0,0,0,1,
reload,gate_back,57.254,5.063,32.611,-0.0111612,0,0.999938,0,1,0,-0.999938,0,-0.0111612,
reload,reload10,33.4038,-1.923,40.0419,-1,0,0.000707544,0,1,0,-0.000707544,-0,-1,
reload,reload10_back,33.3563,5.0022,41.2966,1,0,0,0,1,0,0,0,1,
reload,basement1,-12.136,4.3346,47.768,-0.26382,0,-0.964572,0,1,0,0.964572,0,-0.26382,
reload,reload91,15.186,4.882,41.705,0.000217865,0,1,0,1,0,-1,0,0.000217865,
reload,reloadPr1,-19.3198,4.9819,24.8254,-1,0,0.000573386,0,1,0,-0.000573386,0,-1,
reload,houseH3,23.9835,5.75331,-8.16016,0.93843,0,0.34547,0,1,0,-0.34547,0,0.93843,
reload,houseSp2,7.27125,4.44717,57.2944,0.643255,0,-0.765652,0,1,0,0.765652,0,0.643255,
camdetector,reload3,-0.0974154,5.97358,10.077,1,0,0,0,1,0,0,0,1,
camdetector,reload4,31.7653,4.31437,58.8226,0.712839,0,-0.701327,0,1,0,0.701327,0,0.712839,
camdetector,reload5,-4.31651,2.12847,75.6781,-0.0187089,0,-0.999825,0,1,0,0.999825,0,-0.0187089,
camdetector,reload6,-12.8202,4.96956,41.3065,2.22045e-16,0,-1,0,1,0,1,0,2.22045e-16,
camdetector,reload7,28.7789,7.80018,12.4779,0.485464,0,0.874257,0,1,0,-0.874257,0,0.485464,
camdetector,reload8,17.7317,5.97894,29.9069,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
camdetector,reload9,20.787,4.95608,55.4821,1,0,0,0,1,0,0,0,1,
camdetector,gate,57.9099,5.063,32.6113,1,0,0,0,1,0,0,0,1,
camdetector,reload10,33.356,5.002,41.895,1,0,0,0,1,0,0,0,1,
camdetector,basement1,-12.6494,4.335,47.9084,-0.263823,0,-0.964571,0,1,0,0.964571,0,-0.263823,
camdetector,reload91,15.572,4.882,41.7049,0.00020944,0,1,0,1,0,-1,0,0.00020944,
camera,reload3,-0.0974154,9.07923,16.0027,-1,3.74192e-17,1.16604e-16,-3.08149e-33,0.952173,-0.305561,-1.22461e-16,-0.305561,-0.952173,
camera,reload4,26.4903,6.68083,64.4716,-0.765223,-0.0904799,-0.637375,0,0.990074,-0.140548,0.643765,-0.107551,-0.757628,
camera,reload5,0.32896,4.34499,77.3307,-0.261039,0.29606,0.918808,0,0.951808,-0.306693,-0.965328,-0.0800588,-0.248459,
camera,reload6,-9.50852,7.00607,41.2489,0,0.321961,0.946753,2.77556e-17,0.946753,-0.321961,-1,5.55112e-17,0,
camera,reload7,23.1281,10.0149,16.519,-0.57596,-0.206456,-0.790978,-1.38778e-17,0.967583,-0.252553,0.817478,-0.14546,-0.557289,
camera,reload8,13.6053,8.13723,29.9069,2.22045e-16,-0.336194,-0.941793,-2.77556e-17,0.941793,-0.336194,1,8.32667e-17,2.22045e-16,
camera,reload9,20.787,6.6752,59.1461,-1,3.11107e-17,1.18443e-16,-3.08149e-33,0.967192,-0.254046,-1.22461e-16,-0.254046,-0.967192,
camera,gate,49.8764,6.8449,34.2312,-2.22045e-16,-0.207912,-0.978148,1.38778e-17,0.978148,-0.207912,1,-4.16334e-17,-2.22045e-16,
camera,reload10,33.7294,8.42025,37.0447,0.984537,0.0754117,0.158112,6.93889e-18,0.902594,-0.430493,-0.175175,0.423836,0.888637,
camera,basement1,-7.09047,7.61187,47.0838,0.110761,0.376538,0.919756,-2.77556e-17,0.92545,-0.378869,-0.993847,0.0419641,0.102504,
camera,reload91,9.87764,5.71003,41.778,-0.0111521,0,-0.999938,0,1,0,0.999938,0,-0.0111521,
goto,goto1,18.948,5.97358,18.5381,1,0,0,0,1,0,0,0,1,
goto,goto2,6.39064,4.97157,25.5052,1,0,0,0,1,0,0,0,1,
goto,goto3,-6.26439,4.97157,28.5632,1,0,0,0,1,0,0,0,1,
goto,goto4,-12.901,5.01157,20.6587,1,0,0,0,1,0,0,0,1,
goto,goto5,17.8982,4.97157,37.7858,1,0,0,0,1,0,0,0,1,
goto,goto6,31.1777,4.97562,37.9285,1,0,0,0,1,0,0,0,1,
goto,goto7,50.8741,4.97157,34.1852,1,0,0,0,1,0,0,0,1,
goto,goto8,10.7096,4.01283,48.5978,1,0,0,0,1,0,0,0,1,
goto,goto9,-4.91647,4.01283,50.6638,1,0,0,0,1,0,0,0,1,
goto,goto10,23.9118,4.01788,62.5166,1,0,0,0,1,0,0,0,1,
goto,goto11,10.1395,3.04478,67.5025,1,0,0,0,1,0,0,0,1,
goto,goto12,-3.53181,2.42358,64.6192,1,0,0,0,1,0,0,0,1,
goto,goto13,6.32562,3.06099,76.9856,1,0,0,0,1,0,0,0,1,
goto,goto14,25.7528,3.02877,76.9137,1,0,0,0,1,0,0,0,1,
goto,goto15,14.3601,3.00261,89.6268,1,0,0,0,1,0,0,0,1,
goto,goto16,37.8581,3.04466,78.5502,1,0,0,0,1,0,0,0,1,
goto,goto17,33.1641,2.99968,88.9794,1,0,0,0,1,0,0,0,1,
goto,goto18,19.727,3.05389,70.6401,1,0,0,0,1,0,0,0,1,
goto,goto19,44.8206,4.97157,36.4831,1,0,0,0,1,0,0,0,1,
goto,goto20,23.799,4.97157,37.8852,1,0,0,0,1,0,0,0,1,
goto,goto21,12.026,4.97157,31.4734,1,0,0,0,1,0,0,0,1,
goto,goto22,-7.73469,4.97157,35.6488,1,0,0,0,1,0,0,0,1,
goto,goto23,9.58166,4.01283,42.3331,1,0,0,0,1,0,0,0,1,
goto,goto24,13.1034,3.05389,71.3291,1,0,0,0,1,0,0,0,1,
goto,goto25,1.79474,1.4205,84.8351,1,0,0,0,1,0,0,0,1,
goto,goto26,45.7113,7.33624,0.446091,1,0,0,0,1,0,0,0,1,
goto,goto27,20.7679,5.89077,-5.5489,1,0,0,0,1,0,0,0,1,
goto,goto28,-41.3533,5.03733,29.9942,0.288154,0,0.957584,0,1,0,-0.957584,0,0.288154,
goto,goto29,-30.9147,5.03733,20.6043,1,0,0,0,1,0,0,0,1,
soldiers,soldier1,2.72926,4.97157,21.3036,1,0,0,0,1,0,0,0,1,
soldiers,soldier2,-2.88144,4.97157,21.202,1,0,0,0,1,0,0,0,1,
soldiers,protector1,57.5297,5.063,34.1729,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
soldiers,protector2,57.298,5.063,30.9201,0.26428,0,0.964446,0,1,0,-0.964446,0,0.26428,
soldiers,protector4,34.9645,3.05686,80.2453,1,0,0,0,1,0,0,0,1,
soldiers,protector3,31.4383,3.008,80.2161,1,0,0,0,1,0,0,0,1,
patrol,patrol1,19.792,2.9881,76.5719,1,0,0,0,1,0,0,0,1,
patrol,patrol2,-1.6728,3.20638,72.5489,0.208984,0,-0.977919,0,1,0,0.977919,0,0.208984,
patrol,patrol3,11.3713,4.01283,54.0946,0.642217,0,-0.766523,0,1,0,0.766523,0,0.642217,
patrol,patrol4,-4.82986,4.01283,54.0024,-0.986763,0,-0.16217,0,1,0,0.16217,0,-0.986763,
patrol,patrol5,16.3518,5.97157,19.7712,0.452863,0,0.89158,0,1,0,-0.89158,0,0.452863,
patrol,patrol6,-7.57113,5.01157,21.8592,-0.209536,0,-0.977801,0,1,0,0.977801,0,-0.209536,
patrol,patrol7,36.9447,5.16485,30.3383,1,0,0,0,1,0,0,0,1,
patrol,patrol8,9.19613,4.97157,33.865,0.0712089,0,0.997461,0,1,0,-0.997461,0,0.0712089,
patrol,patrol9,30.369,7.06278,-1.83955,0.321318,0,-0.946971,0,1,0,0.946971,0,0.321318,
patrol,patrol10,-39.517,5.00913,25.6325,-0.289716,0,-0.957113,0,1,0,0.957113,0,-0.289716,
patrol,patrol11,40.2885,7.29607,21.4783,0.909102,0,0.416573,0,1,0,-0.416573,0,0.909102,
patrol,patrol12,43.0161,7.29607,4.89628,-0.601649,0,-0.798761,0,1,0,0.798761,0,-0.601649,
patrol,patrol13,10.0232,5.01157,21.8592,-0.73889,0,0.673826,0,1,0,-0.673826,0,-0.73889,
patrol,patrol14,-29.2166,5.00913,27.5162,-0.999982,0,0.00607329,0,1,0,-0.00607329,0,-0.999982,
patrol,patrol15,-10.2234,5.01157,34.135,-0.755712,0,-0.654904,0,1,0,0.654904,0,-0.755712,
patrol,patrol16,13.0325,3.20638,68.0138,0.71301,0,-0.701154,0,1,0,0.701154,0,0.71301,
patrol,patrol17,24.0553,3.20638,61.3535,0.618271,0,0.785965,0,1,0,-0.785965,0,0.618271,
patrol,patrol18,4.0661,4.01283,46.5438,-0.603409,0,-0.797432,0,1,0,0.797432,0,-0.603409,
patrol,patrol19,45.3284,2.9881,79.1673,-0.0180643,0,0.999837,0,1,0,-0.999837,0,-0.0180643,
patrol,patrol20,18.877,5.94372,-11.1245,0.998705,0,0.0508752,0,1,0,-0.0508752,0,0.998705,
ships,ship1,-26.0181,0,139.754,-0.258918,0,0.965899,0,1,0,-0.965899,0,-0.258918,
ships,ship2,66.3395,0,150.929,-0.336935,0,-0.941528,0,1,0,0.941528,0,-0.336935,
ships,ship3,172.392,0,179.017,0.620576,0,-0.784146,0,1,0,0.784146,0,0.620576,
ships,ship4,24.1344,0,203.318,0.169614,0,-0.985511,0,1,0,0.985511,0,0.169614,
ships,ship5,-84.2814,0,186.124,0.926489,0,0.376322,0,1,0,-0.376322,0,0.926489,
ships_other,ship1,-60.8272,-1.81899e-14,260.699,0.954884,0,0.296978,0,1,0,-0.296978,0,0.954884,
ships_other,ship2,251.828,-1.81899e-14,139.133,0.574981,0,-0.818167,0,1,0,0.818167,0,0.574981,
ships_other,ship3,151.839,-1.81899e-14,273.862,0.72273,0,-0.69113,0,1,0,0.69113,0,0.72273,
ships_other,ship4,57.7286,0,288.174,0.969849,0,-0.243707,0,1,0,0.243707,0,0.969849,
ships_other,ship5,-158.946,0,198.612,0.676461,0,0.736478,0,1,0,-0.736478,0,0.676461,
smoke,smoke1,47.0956,10.5448,54.8347,1,0,0,0,1,0,0,0,1,
smoke,smoke2,52.2651,11.9885,40.4326,1,0,0,0,1,0,0,0,1,
smoke,smoke3,47.2052,11.3206,43.355,1,0,0,0,1,0,0,0,1,
smoke,smoke4,33.3899,16.7035,60.7161,1,0,0,0,1,0,0,0,1,
smoke,smoke5,26.4211,8.29791,47.6518,1,0,0,0,1,0,0,0,1,
smoke,smoke6,-16.6771,12.7491,27.8938,1,0,0,0,1,0,0,0,1,
smoke,smoke7,33.4544,16.4116,56.2916,1,0,0,0,1,0,0,0,1,
smoke,smoke8,-13.0634,10.3821,60.8268,1,0,0,0,1,0,0,0,1,
smoke,smoke9,-11.9037,10.5805,55.9685,1,0,0,0,1,0,0,0,1,
smoke,smoke10,-31.8816,11.5097,46.2624,1,0,0,0,1,0,0,0,1,
smoke,smoke11,-36.7493,11.3114,45.1944,1,0,0,0,1,0,0,0,1,
smoke,smoke12,-14.3589,12.9717,37.8608,1,0,0,0,1,0,0,0,1,
smoke,smoke14,-32.1595,12.3534,34.3441,1,0,0,0,1,0,0,0,1,
smoke,smoke17,21.3117,16.602,25.3176,1,0,0,0,1,0,0,0,1,
smoke,smoke18,-36.9034,8.78737,63.6565,1,0,0,0,1,0,0,0,1,
smoke,smoke19,-22.5223,12.6508,27.84,1,0,0,0,1,0,0,0,1,
sound,torch01,14.6059,5.10745,78.3098,1,0,0,0,1,0,0,0,1,
sound,torch02,40.6428,5.10759,78.4011,1,0,-2.44921e-16,0,1,0,2.44921e-16,0,1,
sound,torch03,-4.28214,3.75201,83.316,2.22045e-16,0,-1,0,1,0,1,0,2.22045e-16,
sound,torch04,58.0838,8.29834,30.0325,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
sound,torch05,58.0838,8.29834,35.1028,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
sound,windmill01,44.8249,7.99621,60.6539,2.22045e-16,0,-1,0,1,0,1,0,2.22045e-16,
sound,fountain01,-0.231906,8.70314,27.1583,1,0,0,0,1,0,0,0,1,
sound,seashore01,27.7825,-3.63798e-14,94.7006,1,0,0,0,1,0,0,0,1,
sound,tavern01,31.9513,5.93179,58.4516,1,0,0,0,1,0,0,0,1,
sound,shipyard01,-5.50363,3.07433,75.6674,1,0,0,0,1,0,0,0,1,
sound,church01,32.9483,9.94758,11.1892,1,0,0,0,1,0,0,0,1,
sound,torch06,-44.6518,7.03114,28.2513,1,0,0,0,1,0,0,0,1,
torchlightes_o,locator1,14.6059,5.10745,78.3098,0.866025,0,-0.5,0,1,0,0.5,0,0.866025,
torchlightes_o,locator2,40.6428,5.10759,78.4011,0.866025,0,-0.5,0,1,0,0.5,0,0.866025,
torchlightes_o,locator3,-4.28214,3.75201,83.316,-0.5,0,-0.866025,0,1,0,0.866025,0,-0.5,
torchlightes_o,locator6,58.0838,8.29834,30.0325,0.5,0,0.866025,0,1,0,-0.866025,0,0.5,
torchlightes_o,locator7,58.0838,8.29834,35.1028,0.5,0,0.866025,0,1,0,-0.866025,0,0.5,
torchlightes_o,locator17,-44.6518,7.03114,28.2513,0.341083,0,-0.940033,0,1,0,0.940033,0,0.341083,
torchlightes_o_p,locator10,14.6059,5.10745,78.3098,0.5,0,-0.866025,0,1,0,0.866025,0,0.5,
torchlightes_o_p,locator11,40.6428,5.10759,78.4011,0.5,0,-0.866025,0,1,0,0.866025,0,0.5,
torchlightes_o_p,locator12,-4.28214,3.75201,83.316,-0.866025,0,-0.5,0,1,0,0.5,0,-0.866025,
torchlightes_o_p,locator15,58.0838,8.29834,30.0325,0.866025,0,0.5,0,1,0,-0.5,0,0.866025,
torchlightes_o_p,locator16,58.0838,8.29834,35.1028,0.866025,0,0.5,0,1,0,-0.5,0,0.866025,
torchlightes_o_p,locator18,-44.6518,7.03114,28.2513,0.866025,0,0.5,0,1,0,-0.5,0,0.866025,
fonar,fonar2,3.32868,6.07571,49.9227,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
fonar,fonar3,-2.28665,6.09375,59.4486,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
fonar,fonar5,49.7514,7.15795,30.8114,1,0,0,0,1,0,0,0,1,
fonar,fonar9,28.7293,7.14186,58.4237,-0.00586828,0,0.999983,0,1,0,-0.999983,0,-0.00586828,
fonar,fonar10,-12.4692,7.35329,41.4288,2.22045e-16,0,-1,0,1,0,1,0,2.22045e-16,
fonar,fonar11,30.4133,5.50671,72.0086,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
fonar,fonar12,45.5003,7.70585,38.6353,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
fonar,fonar13,-19.4053,7.82688,24.8334,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
fonar,fonar15,-11.3266,7.82824,30.4602,2.22045e-16,0,-1,0,1,0,1,0,2.22045e-16,
fonar,fonar16,4.63482,6.5248,67.0206,2.22045e-16,0,-1,0,1,0,1,0,2.22045e-16,
fonar,fonar17,33.3962,8.0811,41.3899,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
fonar,fonar18,32.4304,11.0655,19.007,0.568994,0,0.822341,0,1,0,-0.822341,0,0.568994,
fonar,fonar19,27.1207,11.1302,10.8361,0.541251,0,0.840861,0,1,0,-0.840861,0,0.541251,
fonar,fonar23,17.7427,7.97643,28.9737,-1,0,5.6655e-16,0,1,0,-5.6655e-16,0,-1,
fonar,fonar24,4.19629,11.1782,54.8407,0.458949,0,0.888462,0,1,0,-0.888462,0,0.458949,
fonar,fonar25,1.1799,8.15679,10.6041,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
fonar,fonar26,-1.2141,8.15679,10.6041,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
fonar,fonar27,19.6812,7.00672,55.5525,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
fonar,fonar28,21.8468,7.00672,55.5525,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
fonar,fonar31,2.40841,7.25345,20.3685,1,0,0,0,1,0,0,0,1,
fonar,fonar32,-2.40263,7.25345,20.3685,1,0,0,0,1,0,0,0,1,
fonar,fonar34,-0.234251,7.23991,34.0338,1,0,0,0,1,0,0,0,1,
fonar,fonar35,43.2098,11.075,11.9583,0.568994,0,0.822341,0,1,0,-0.822341,0,0.568994,
waterfog,waterfog1,-0.231906,8.70314,27.1583,1,0,0,0,1,0,0,0,1,
merchant,merchant1,5.56484,4.01742,42.1514,1,0,0,0,1,0,0,0,1,
merchant,mrcActive1,5.56484,4.01742,45.124,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
merchant,merchant2,2.78689,4.01742,43.0715,1,0,0,0,1,0,0,0,1,
merchant,mrcActive2,2.78689,4.01742,45.0886,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
merchant,merchant3,-2.57604,4.01742,43.3462,1,0,0,0,1,0,0,0,1,
merchant,mrcActive3,-2.57604,4.01742,45.4323,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
merchant,merchant4,1.18625,4.01742,50.2729,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
merchant,mrcActive4,1.18625,4.01742,47.1816,1,0,0,0,1,0,0,0,1,
merchant,merchant5,6.8222,4.01742,50.3374,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
merchant,mrcActive5,6.8222,4.01742,48.0586,1,0,0,0,1,0,0,0,1,
officers,reload1_1,33.3471,-1.92315,90.4315,1,0,-2.44921e-16,0,1,0,2.44921e-16,0,1,
officers,reload1_2,33.742,-1.92315,89.774,0.809017,0,0.587785,0,1,0,-0.587785,0,0.809017,
officers,reload1_3,32.9741,-1.92315,89.758,0.809017,0,-0.587785,0,1,0,0.587785,0,0.809017,
officers,reload2_1,14.5195,-1.92315,90.4315,1,0,-2.44921e-16,0,1,0,2.44921e-16,0,1,
officers,reload2_2,14.8652,-1.92315,90.3993,0.809017,0,0.587785,0,1,0,-0.587785,0,0.809017,
officers,reload2_3,14.1738,-1.92315,90.3993,0.809017,0,-0.587785,0,1,0,0.587785,0,0.809017,
officers,reload3_1,-0.0974154,5.97358,14.3487,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
officers,reload3_2,-1.39742,5.97358,12.621,-0.809017,0,-0.587785,0,1,0,0.587785,0,-0.809017,
officers,reload3_3,1.20258,5.97358,12.621,-0.809017,0,0.587785,0,1,0,-0.587785,0,-0.809017,
officers,reload4_2,28.3565,4.01371,58.7816,0.772345,0,0.635203,0,1,0,-0.635203,0,0.772345,
officers,reload4_3,30.4215,4.05871,63.3154,-0.478868,0,0.877887,0,1,0,-0.877887,0,-0.478868,
officers,reload4_1,28.2146,4.01371,57.9332,0.045252,0,0.998976,0,1,0,-0.998976,0,0.045252,
officers,reload5_1,-0.671382,2.54417,75.6093,0.0187089,0,0.999825,0,1,0,-0.999825,0,0.0187089,
officers,reload5_2,-1.88503,2.34877,76.9335,-0.572547,0,0.819872,0,1,0,-0.819872,0,-0.572547,
officers,reload5_3,-1.91794,2.36451,74.3339,0.602818,0,0.797879,0,1,0,-0.797879,0,0.602818,
officers,reload6_1,-9.77732,4.96956,41.3065,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
officers,reload6_2,-10.5531,4.96956,42.6065,-0.587785,0,0.809017,0,1,0,-0.809017,0,-0.587785,
officers,reload6_3,-10.5531,4.96956,40.0065,0.587785,0,0.809017,0,1,0,-0.809017,0,0.587785,
officers,reload7_1,28.9587,7.17358,15.6087,0.585838,0,0.810428,0,1,0,-0.810428,0,0.585838,
officers,reload7_2,25.7429,7.17358,11.0608,0.567697,0,0.823238,0,1,0,-0.823238,0,0.567697,
officers,reload7_3,26.5204,7.17358,15.7832,0.828275,0,0.560321,0,1,0,-0.560321,0,0.828275,
officers,reload8_1,15.3092,4.96712,29.9069,-2.22045e-16,0,-1,0,1,0,1,0,-2.22045e-16,
officers,reload8_2,15.3755,4.96712,28.4027,0.587785,0,-0.809017,0,1,0,0.809017,0,0.587785,
officers,reload8_3,15.3755,4.96712,31.4111,-0.587785,0,-0.809017,0,1,0,0.809017,0,-0.587785,
officers,reload9_1,20.787,4.05557,58.8568,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
officers,reload9_2,19.487,4.05557,57.6465,-0.809017,0,-0.587785,0,1,0,0.587785,0,-0.809017,
officers,reload9_3,22.087,4.05557,57.6465,-0.809017,0,0.587785,0,1,0,-0.587785,0,-0.809017,
officers,houseH1_1,-37.3832,5.02447,15.9219,-0.733673,0,-0.679502,0,1,0,0.679502,0,-0.733673,
officers,houseH1_3,-37.8554,5.05339,17.3016,0.85441,0,0.519599,0,1,0,-0.519599,0,0.85441,
officers,houseH2_1,51.8045,5.07084,31.99,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
officers,houseH2_2,50.5045,5.07084,31.99,-0.809017,0,-0.587785,0,1,0,0.587785,0,-0.809017,
officers,houseH2_3,53.1045,5.07084,31.99,-0.809017,0,0.587785,0,1,0,-0.587785,0,-0.809017,
officers,houseS1_1,31.7958,5.02117,36.5581,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
officers,houseS1_2,30.5327,5.03274,36.5581,-0.809017,0,-0.587785,0,1,0,0.587785,0,-0.809017,
officers,houseS1_3,33.1593,5.0131,36.5581,-0.809017,0,0.587785,0,1,0,-0.587785,0,-0.809017,
officers,houseS2_1,47.7708,4.98938,36.6923,0.665761,0,-0.746165,0,1,0,0.746165,0,0.665761,
officers,houseS2_2,48.6493,4.99455,35.7223,0.977197,0,-0.212335,0,1,0,0.212335,0,0.977197,
officers,houseS2_3,46.9119,4.98806,37.6623,0.100027,0,-0.994985,0,1,0,0.994985,0,0.100027,
officers,houseF1_1,41.1188,4.98631,37.2161,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
officers,houseF1_2,39.223,4.99303,37.0372,-0.809017,0,-0.587785,0,1,0,0.587785,0,-0.809017,
officers,houseF1_3,42.942,5.01042,37.0372,-0.809017,0,0.587785,0,1,0,-0.587785,0,-0.809017,
officers,houseF2_1,45.513,4.95444,36.5962,1,0,-2.44921e-16,0,1,0,2.44921e-16,0,1,
officers,houseF2_2,46.813,4.95444,36.5962,0.809017,0,0.587785,0,1,0,-0.587785,0,0.809017,
officers,houseF2_3,44.213,4.95444,36.5962,0.809017,0,-0.587785,0,1,0,0.587785,0,0.809017,
officers,houseF3_1,7.19308,3.13626,67.0705,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
officers,houseF3_2,7.02621,3.136,68.6165,-0.587785,0,0.809017,0,1,0,-0.809017,0,-0.587785,
officers,houseF3_3,7.01527,3.17977,65.5245,0.587785,0,0.809017,0,1,0,-0.809017,0,0.587785,
officers,houseF4_1,-5.16431,4.0286,56.7961,2.22045e-16,0,1,0,1,0,-1,0,2.22045e-16,
officers,houseF4_2,-5.11873,4.05166,58.0961,-0.587785,0,0.809017,0,1,0,-0.809017,0,-0.587785,
officers,houseF4_3,-5.14005,4.03745,55.4961,0.587785,0,0.809017,0,1,0,-0.809017,0,0.587785,
officers,houseSp1_1,-21.918,4.97262,24.3848,-1,0,1.22461e-16,0,1,0,-1.22461e-16,0,-1,
officers,houseSp1_2,-23.218,4.97262,24.3848,-0.809017,0,-0.587785,0,1,0,0.587785,0,-0.809017,
officers,houseSp1_3,-20.618,4.97262,24.3848,-0.809017,0,0.587785,0,1,0,-0.587785,0,-0.809017,
officers,gate_back_1,56.1855,5.063,32.6113,-2.22045e-16,0,-1,0,1,0,1,0,-2.22045e-16,
officers,gate_back_2,55.1773,5.063,31.8614,0.587785,0,-0.809017,0,1,0,0.809017,0,0.587785,
officers,gate_back_3,55.5899,5.063,33.9113,-0.587785,0,-0.809017,0,1,0,0.809017,0,-0.587785,
officers,reload10_1,35.3886,5.002,39.4469,-0.852959,0,-0.521978,0,1,0,0.521978,0,-0.852959,
officers,reload10_2,33.4578,5.002,38.9484,-0.999912,0,0.0132466,0,1,0,-0.0132466,0,-0.999912,
officers,reload10_3,31.7389,5.002,39.4581,-0.823351,0,0.567533,0,1,0,-0.567533,0,-0.823351,
officers,basement1_1,-11.0496,4.24198,46.4173,-0.63227,0,-0.774748,0,1,0,0.774748,0,-0.63227,
officers,basement1_2,-10.1354,4.19312,47.1929,-0.154839,0,-0.98794,0,1,0,0.98794,0,-0.154839,
officers,basement1_3,-10.3429,4.20701,48.2209,0.285643,0,-0.958336,0,1,0,0.958336,0,0.285643,
officers,reload91_1,12.5352,4.03394,41.4067,-0.681601,0,0.731724,0,1,0,-0.731724,0,-0.681601,
officers,reload91_2,12.7678,4.04488,42.4289,-0.00850304,0,0.999964,0,1,0,-0.999964,0,-0.00850304,
officers,reload91_3,13.2765,4.05531,43.5725,0.522664,0,0.852539,0,1,0,-0.852539,0,0.522664,
officers,houseH3_1,21.2886,5.85927,-8.07914,0.147347,0,0.989085,0,1,0,-0.989085,0,0.147347,
officers,houseH3_2,24.9792,5.77624,-5.57468,1,0,0,0,1,0,0,0,1,
officers,houseH3_3,23.9316,5.74772,-6.07347,0.932745,0,0.360536,0,1,0,-0.360536,0,0.932745,
officers,houseSp2_1,6.49478,4.04451,59.2456,0.938109,0,-0.346341,0,1,0,0.346341,0,0.938109,
officers,houseSp2_2,7.77596,4.03382,58.4525,0.74518,0,-0.666864,0,1,0,0.666864,0,0.74518,
officers,houseSp2_3,8.43935,4.01868,56.6991,0.274181,0,-0.961678,0,1,0,0.961678,0,0.274181,
quest,quest1,33.2569,3.01433,81.5673,1,0,0,0,1,0,0,0,1,
quest,quest2,48.0168,5.063,33.7923,-0.149366,0,-0.988782,0,1,0,0.988782,0,-0.149366,
rld,loc0,14.5297,2.9993,96.1781,-0.999992,0,-0.00409025,0,1,0,0.00409025,0,-0.999992,
rld,loc1,56.9147,5.063,31.3376,0.533688,0,0.845682,0,1,0,-0.845682,0,0.533688,
windmill,fan,45.6749,11.0524,61.8469,0.81117,0,0.58481,0,1,0,-0.58481,0,0.81117,
item,item1,35.6309,5.07352,31.0517,0.999094,0.0425529,-0.000198802,-0.0425533,0.999083,-0.0046676,0,0.00467183,0.999989,
 
I have never done the trace trick Pieter mentioned.
I just meant these two lines from PotC:NH's console.c:
Code:
           //   trace("rld,loc," +xx+",0,"+xz+",0,1,0,"+zx+",0,"+zz+","+x+","+y+","+z+",1,0,0,0,0,0,0,0,0,");
           //   trace("rld,aloc,"+xx+",0,"+xz+",0,1,0,"+zx+",0,"+zz+","+x+","+y+","+z+",1,0,0,0,0,0,0,0,0,");

And @ChezJfrey's example there is MUCH cooler! :bow
 
Back
Top