• 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!

Locator's!!

Estharos

Landlubber
Storm Modder
Is it possible to know how to put on the locator so I can see them while playing? Also in POTC you could enable some other option in the engine.ini file so you can enable error logging is it possible with COAS?

Cheers, :cheers
 
CoAS probably has the same error logging functions, yes.
The locators you can make visible in PotC in PROGRAM\Locations\locations_loader.c:
Code:
	if(VISIBLE_LOCATORS)    // LDH 05Dec06 added toggle instead of commenting out line
{
VisibleLocatorsGroup("officers", 1.0, 15.0, 55, 0, 55, 0);
VisibleLocatorsGroup("rld", 1.0, 15.0, 55, 0, 55, 0);
VisibleLocatorsGroup("box", 1.0, 15.0, 55, 0, 55, 0);
VisibleLocatorsGroup("reload", 1.0, 15.0, 55, 0, 55, 0);

VisibleLocatorsGroup("Merchant", 1.0, 15.0, 105, 0, 55, 25);
VisibleLocatorsGroup("camera", 1.0, 15.0, 155, 0, 55, 55);
VisibleLocatorsGroup("characters", 1.0, 15.0, 55, 55, 0, 0);
VisibleLocatorsGroup("goto", 1.0, 15.0, 55, 55, 0, 0);
VisibleLocatorsGroup("sit", 1.0, 15.0, 55, 55, 0, 0);
VisibleLocatorsGroup("item", 1.0, 15.0, 55, 55, 0, 55);
}
Probably CoAS has a similar file with similar code.
Minus the if-statement, of course, because we added that.
 
We made that toggle, if you get rid of
Code:
if(VISIBLE_LOCATORS)
and the two { they would be on 100% of the time :yes
 
We made that toggle, if you get rid of
Code:
if(VISIBLE_LOCATORS)
and the two { they would be on 100% of the time :yes

What you mean "and the two"?

Code:
void ShowAllLocators()
{
VisibleLocatorsGroup("rld", 1.0, 15.0, 255, 128, 200, 120);
VisibleLocatorsGroup("reload", 1.0, 15.0, 255, 0, 255, 0);
VisibleLocatorsGroup("goto", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("sit", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("item", 1.0, 15.0, 255, 255, 0, 255);
VisibleLocatorsGroup("randitem", 1.0, 15.0, 255, 255, 0, 255);
VisibleLocatorsGroup("characters", 1.0, 15.0, 155, 255, 0, 0);
VisibleLocatorsGroup("Merchant", 1.0, 15.0, 105, 0, 255, 125);
VisibleLocatorsGroup("box", 1.0, 15.0, 255, 0, 255, 255);
VisibleLocatorsGroup("encdetector", 1.0, 15.0, 255, 0, 255, 255);
VisibleLocatorsGroup("outside", 1.0, 15.0, 255, 155, 155, 255);
VisibleLocatorsGroup("officers", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("waitress", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("barmen", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("teleport", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("magsteleport", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("greenteleport", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("redteleport", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("blueteleport", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("monsters", 1.0, 15.0, 255, 255, 200, 0);
VisibleLocatorsGroup("Smugglers", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("camera", 1.0, 15.0, 155, 0, 255, 255);
VisibleLocatorsGroup("soldiers", 1.0, 15.0, 255, 255, 100, 200);
VisibleLocatorsGroup("quest", 1.0, 15.0, 255, 255, 200, 200);
VisibleLocatorsGroup("patrol", 1.0, 15.0, 255, 255, 100, 200);
VisibleLocatorsGroup("tables", 1.0, 15.0, 255, 255, 0, 0);
}

void HideAllLocators()
{
HideLocatorsGroup("rld");
HideLocatorsGroup("reload");
HideLocatorsGroup("goto");
HideLocatorsGroup("sit");
HideLocatorsGroup("item");
HideLocatorsGroup("randitem");
HideLocatorsGroup("characters");
HideLocatorsGroup("Merchant");
HideLocatorsGroup("box");
HideLocatorsGroup("encdetector");
HideLocatorsGroup("outside");
HideLocatorsGroup("officers");
HideLocatorsGroup("waitress");
HideLocatorsGroup("barmen");
HideLocatorsGroup("teleport");
HideLocatorsGroup("magsteleport");
HideLocatorsGroup("greenteleport");
HideLocatorsGroup("redteleport");
HideLocatorsGroup("blueteleport");
HideLocatorsGroup("monsters");
HideLocatorsGroup("Smugglers");
HideLocatorsGroup("camera");
HideLocatorsGroup("soldiers");
HideLocatorsGroup("quest");
HideLocatorsGroup("patrol");
HideLocatorsGroup("tables");
}

That's what I found for COAS in locations_loader.c



Cheers, :cheers
 
Swap them around, so...

Code:
void HideAllLocators()
{
VisibleLocatorsGroup("rld", 1.0, 15.0, 255, 128, 200, 120);
VisibleLocatorsGroup("reload", 1.0, 15.0, 255, 0, 255, 0);
VisibleLocatorsGroup("goto", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("sit", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("item", 1.0, 15.0, 255, 255, 0, 255);
VisibleLocatorsGroup("randitem", 1.0, 15.0, 255, 255, 0, 255);
VisibleLocatorsGroup("characters", 1.0, 15.0, 155, 255, 0, 0);
VisibleLocatorsGroup("Merchant", 1.0, 15.0, 105, 0, 255, 125);
VisibleLocatorsGroup("box", 1.0, 15.0, 255, 0, 255, 255);
VisibleLocatorsGroup("encdetector", 1.0, 15.0, 255, 0, 255, 255);
VisibleLocatorsGroup("outside", 1.0, 15.0, 255, 155, 155, 255);
VisibleLocatorsGroup("officers", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("waitress", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("barmen", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("teleport", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("magsteleport", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("greenteleport", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("redteleport", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("blueteleport", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("monsters", 1.0, 15.0, 255, 255, 200, 0);
VisibleLocatorsGroup("Smugglers", 1.0, 15.0, 255, 255, 0, 0);
VisibleLocatorsGroup("camera", 1.0, 15.0, 155, 0, 255, 255);
VisibleLocatorsGroup("soldiers", 1.0, 15.0, 255, 255, 100, 200);
VisibleLocatorsGroup("quest", 1.0, 15.0, 255, 255, 200, 200);
VisibleLocatorsGroup("patrol", 1.0, 15.0, 255, 255, 100, 200);
VisibleLocatorsGroup("tables", 1.0, 15.0, 255, 255, 0, 0);
}

void ShowAllLocators()
{
HideLocatorsGroup("rld");
HideLocatorsGroup("reload");
HideLocatorsGroup("goto");
HideLocatorsGroup("sit");
HideLocatorsGroup("item");
HideLocatorsGroup("randitem");
HideLocatorsGroup("characters");
HideLocatorsGroup("Merchant");
HideLocatorsGroup("box");
HideLocatorsGroup("encdetector");
HideLocatorsGroup("outside");
HideLocatorsGroup("officers");
HideLocatorsGroup("waitress");
HideLocatorsGroup("barmen");
HideLocatorsGroup("teleport");
HideLocatorsGroup("magsteleport");
HideLocatorsGroup("greenteleport");
HideLocatorsGroup("redteleport");
HideLocatorsGroup("blueteleport");
HideLocatorsGroup("monsters");
HideLocatorsGroup("Smugglers");
HideLocatorsGroup("camera");
HideLocatorsGroup("soldiers");
HideLocatorsGroup("quest");
HideLocatorsGroup("patrol");
HideLocatorsGroup("tables");
}

They must have a toggle somewhere then :shrug
 
Back
Top