1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Locators with the TOOL

Discussion in 'Tutorials' started by Jack Rackham, Jun 8, 2015.

  1. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    First you need the coordinates for the wanted position:

    1) PROGRAM\console.c
    line18: change the switch(0) to switch(2). save

    2) start game and go to the position. Turn yourself to the wanted direction too.
    press F12: write down these values x, y, z, xx, xz, zx, zz. Round off to 1 decimal

    Write a new locator:

    3) open the TOOL\Open Gm\open the locatorfile you want to change\View Locators\Locators

    4) scroll down to the empty line at the bottom
    type in Locator Name, Locator Group and the 7 values you got earlier.

    5) YY = 1, s1 = 1. All the other = 0.

    6) Apply Changes\Save Gm
    Open the folder where your locatorfile is. It will have an _x at the end.

    Get the new file into the game:

    7A) If you want to replace the original locatorfile: back up the old one by renaming it to something else.
    Now rename your new locatorfile to the original name. (remove the _x)

    7B) If you want to keep the original one but also use the new one (for a specific location maybe):
    Rename your new locatorfile to something different than the original one.

    This needs also that you open PROGRAM\Locations\init\the file with your location
    and change like this: Locations[n].models.always.locators = "fort1_l_JRH";

    Check that it's there alright:

    8) PROGRAM\InternalSettings.h in the last block:
    set VISIBLE_LOCATORS to 1. save
    Go to the location and check the locator

    //JRH
     
    Armada and Pieter Boelen like this.
  2. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Thanks a lot, @Jack Rackham! :bow

    When you use console switch(2), then the line is also dumped into compile.log in a TOOL-compatible format.
    So in the TOOL you can export the locators to a TXT file, then add in the lines from compile.log and import that file again.
    That is a good trick for adding a lot of locators in the same location in one go.
     
  3. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    Had no idea about that Pieter. Could have saved me a lot of work through these years.
     
  4. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
  5. Levis

    Levis Find(Rum) = false; Staff Member Programmer Creative Support Storm Modder

    Joined:
    Oct 6, 2013
    Messages:
    6,711
    Gender:
    Male
    Occupation:
    ICT
    Location:
    University Twente (Netherlands)
    Just wanted to say I never did this before and today I added some locators and with the help of this tutorial I had it right on the first try.
    What I do miss here is the explanation of the different locator types.
    Like:
    Box - adds a chest there which you can open
    Randitem - puts a random item there
    etc etc

    Maybe someone could add that to the tutorial?
     
    Pieter Boelen likes this.
  6. Armada

    Armada Sea Dog Staff Member Administrator Project Manager 3D Artist Storm Modder

    Joined:
    Jun 11, 2010
    Messages:
    8,078
    Gender:
    Male
    Occupation:
    Game Developer
    Location:
    Somerset, England
  7. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    Sure, I can add that explanation later to the tutorial. It's on my to-do-list.
     
    Pieter Boelen and Levis like this.

Share This Page