In the El Diablo's coming back quest, Chico Cois, the new captain of your xebec, will find you on Douwesen. :ixiSounds like fun.
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!
Quick links for Beyond New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
- Bug Tracker on Github
Quick links for Maelstrom
- Download the latest version of Maelstrom
- Download the latest version of ERAS II
- Download the latest version of New Horizons on Maelstrom
Quick links for PotC: New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
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!
Quick links for AoP2: Gentlemen of Fortune 2
- Downloads and info
- ModDB Profile
- Forums Archive
A Pirate Podcast with Interviews
Music, Comedy and all things Pirate!
- Episode Guide - About - Subscribe -
- Twitter - Facebook - iTunes - Android -
- Youtube - Fill the Coffers -
In the El Diablo's coming back quest, Chico Cois, the new captain of your xebec, will find you on Douwesen. :ixiSounds like fun.
// PB: Isla de Muerte -->
PChar.quest.Muerte = "";
PChar.quest.Muerte_start.win_condition.l1 = "location";
PChar.quest.Muerte_start.win_condition.l1.character = PChar.id;
PChar.quest.Muerte_start.win_condition.l1.location = "Tortuga_tavern";
PChar.quest.Muerte_start.win_condition = "Muerte_start";
// PB: Isla de Muerte <--
//Îòïðàâèòü ïåðñîÃÂàæàâ ÃÂîâóþ òî÷êó
void LAi_type_patrol_Goto(aref chr)
{
//Èä¸ì â ÃÂîâóþ òî÷êó
string newloc = LAi_FindRandomLocator("goto");
if(newloc != "")
{
LAi_tmpl_goto_InitTemplate(chr);
LAi_tmpl_goto_SetLocator(chr, "goto", newloc, -1.0);
chr.chr_ai.type.state = "goto";
chr.chr_ai.type.locator = newloc;
}
// ccc sneak mod -> to let enemies patrol in dungeons and forts etc.
else
{
newloc = LAi_FindRandomLocator(chr.location.group);
if(newloc != "")
{
LAi_tmpl_goto_InitTemplate(chr);
LAi_tmpl_goto_SetLocator(chr, chr.location.group, newloc, -1.0);
chr.chr_ai.type.state = "goto";
chr.chr_ai.type.locator = newloc;
}
}
// ccc sneak mod <-
}
Did you work on this code, Pieter? :?Otherwise, I've got a question :
With the Lai_SetPatrol function a soldier randomly walks between the locators. I would like a modified Lai_SetPatrol function that will let the soldier indefinitely patrolling between only 2 locators.
Can you create this function? If possible, I would like to use it in the El Morro fort's location.
btw : like the Lai_SetPatrol function if the Pchar wears a camouflage, he could or not be detected by the soldier...
LAi_SetCivilianPatrolType(ch);
ch.patrollocator.0 = "goto2";
ch.patrollocator.1 = "goto4";