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

CCC's SWAK & Stormy Start mod

Sure, to cut down some trees or get some otherwise `jury-rigged` system together.. .maybe even design a few new mast models, some obviously shabby looking, to temporarily use till you get a proper drydock repait... but that might be far too unecessarily `in-depth`.

It seems it should be possible, though... if trader stand locators are activated only by day, shouldn't different mast locators be activatable by some switch in the code?
 
<!--`QuoteBegin-Cap`'n Archibald McNil+--><div class='quotetop'>QUOTE(Cap'n Archibald McNil)</div><div class='quotemain'><!--QuoteEBegin-->ok, I have a problem here.  When I try to do the stormy start the vid plays then Im locked in me cabin.  Any ideas as to why its doing that?  And Malcom disappears...

<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />[/quote]
That you get stuck in the cabin happened during the very first release. Check if your questsboth_reaction.c file has the date Feb11 or younger. Pieter's compilation should be up to date.
 
Thanks guys <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" /> . Now, that section that Peiter advised me to change should look like this, right? (Not too sure, English wasn't my first language and with all that switching `mumbo-jumbo`, I am bound to make a mistake)! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid=":eek:ops2" border="0" alt="oops3.gif" />

switch(rand(10) ) // executes one of the "case" sections below at random
{
case 0:
DoQuestReloadToLocation("Douwesen_shore_01", "reload", "reload1" ,"");
// teleports you to this location, locatortype, locator
SetCharacterShipLocation(pchar, "Douwesen_shore_01"); // teleports the ship there as well
worldMap.playerShipX = -210; // sets shipcoords on worldmap accordingly
worldMap.playerShipZ = -100;
AddCharacterGoods(pchar, GOOD_LINEN, makeint(20 + rand(20)) ); // contraband
break;

case 1:
DoQuestReloadToLocation("Conceicao_shore_01", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Conceicao_shore_01");
worldMap.playerShipX = -790;
worldMap.playerShipZ = 400;
AddCharacterGoods(pchar, GOOD_WINE, makeint(10 + rand(20)) );
break;

case 2:
DoQuestReloadToLocation("Falaise_de_fleur_shore", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Falaise_de_fleur_shore");
worldMap.playerShipX = -205;
worldMap.playerShipZ = 411;
AddCharacterGoods(pchar, GOOD_SANDAL, makeint(5 + rand(10)) );
break;

case 3:
DoQuestReloadToLocation("Muelle_shore", "reload", "reload3" ,"");
SetCharacterShipLocation(pchar, "Muelle_shore");
worldMap.playerShipX = -570;
worldMap.playerShipZ = -60;
AddCharacterGoods(pchar, GOOD_SILK, makeint(10 + rand(20)) );
break;

case 4:
DoQuestReloadToLocation("QC_port", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "QC_port");
worldMap.playerShipX = 290;
worldMap.playerShipZ = -380;
AddCharacterGoods(pchar, GOOD_RUM, makeint(20 + rand(20)) );
break;


case 11:
DoQuestReloadToLocation("Redmond_shore_01", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Redmond_shore_01");
worldMap.playerShipX = 200;
worldMap.playerShipZ = 340;
AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
break;

case 7:
DoQuestReloadToLocation("Redmond_shore_02", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Redmond_shore_01"); // player seperated from ship
worldMap.playerShipX = 200;
worldMap.playerShipZ = 340;
AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
break;

case 8:
DoQuestReloadToLocation("Douwesen_shore_02", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Douwesen_shore_01"); // player seperated from ship
worldMap.playerShipX = -210;
worldMap.playerShipZ = -100;
AddCharacterGoods(pchar, GOOD_LINEN, makeint(20 + rand(20)) );
break;

case 9:
DoQuestReloadToLocation("Conceicao_shore_02", "reload", "see" ,"");
SetCharacterShipLocation(pchar, "Conceicao_shore_01"); // player seperated from ship
worldMap.playerShipX = -790;
worldMap.playerShipZ = 400;
AddCharacterGoods(pchar, GOOD_WINE, makeint(10 + rand(20)) );
break;

case 5:
DoQuestReloadToLocation("Oxbay_shore_02", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Oxbay_shore_01"); // player seperated from ship
AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
break;

case 11:
DoQuestReloadToLocation("Oxbay_shore_01", "reload", "see" ,"");
SetCharacterShipLocation(pchar, "Oxbay_shore_01");
AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
break;
}


If, I'm wrong, please post a correct copy of that section.
Thanks.
 
Almost there. It should be:<!--`QuoteBegin-duong`+--><div class='quotetop'>QUOTE(duong)</div><div class='quotemain'><!--QuoteEBegin-->switch(rand(10) ) // executes one of the "case" sections below at random
  {
   case 0:
         DoQuestReloadToLocation("Douwesen_shore_01", "reload", "reload1" ,"");  
    // teleports you to this location, locatortype, locator
         SetCharacterShipLocation(pchar, "Douwesen_shore_01");  // teleports the ship there as well
     worldMap.playerShipX = -210; // sets shipcoords on worldmap accordingly
   worldMap.playerShipZ = -100;
   AddCharacterGoods(pchar, GOOD_LINEN, makeint(20 + rand(20)) ); // contraband
   break;

   case 1:
         DoQuestReloadToLocation("Conceicao_shore_01", "reload", "reload1" ,"");
         SetCharacterShipLocation(pchar, "Conceicao_shore_01");
     worldMap.playerShipX = -790;
   worldMap.playerShipZ = 400;
   AddCharacterGoods(pchar, GOOD_WINE, makeint(10 + rand(20)) );
   break;

   case 2:
         DoQuestReloadToLocation("Falaise_de_fleur_shore", "reload", "reload1" ,"");
         SetCharacterShipLocation(pchar, "Falaise_de_fleur_shore");
     worldMap.playerShipX = -205;
   worldMap.playerShipZ = 411;
   AddCharacterGoods(pchar, GOOD_SANDAL, makeint(5 + rand(10)) );
   break;

   case 3:
         DoQuestReloadToLocation("Muelle_shore", "reload", "reload3" ,"");
         SetCharacterShipLocation(pchar, "Muelle_shore");
     worldMap.playerShipX = -570;
   worldMap.playerShipZ = -60;
   AddCharacterGoods(pchar, GOOD_SILK, makeint(10 + rand(20)) );
   break;

   case 4:
         DoQuestReloadToLocation("QC_port", "reload", "reload1" ,"");
         SetCharacterShipLocation(pchar, "QC_port");
     worldMap.playerShipX = 290;
   worldMap.playerShipZ = -380;
   AddCharacterGoods(pchar, GOOD_RUM, makeint(20 + rand(20)) );
   break;


   case <b>5</b>:
         DoQuestReloadToLocation("Redmond_shore_01", "reload", "reload1" ,"");
         SetCharacterShipLocation(pchar, "Redmond_shore_01");
     worldMap.playerShipX = 200;
   worldMap.playerShipZ = 340;
   AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
   break;

   case <b>6</b>:
         DoQuestReloadToLocation("Redmond_shore_02", "reload", "reload1" ,"");
         SetCharacterShipLocation(pchar, "Redmond_shore_01"); // player seperated from ship
     worldMap.playerShipX = 200;
   worldMap.playerShipZ = 340;
   AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
   break;

   case <b>7</b>:
         DoQuestReloadToLocation("Douwesen_shore_02", "reload", "reload1" ,"");  
         SetCharacterShipLocation(pchar, "Douwesen_shore_01"); // player seperated from ship
     worldMap.playerShipX = -210;
   worldMap.playerShipZ = -100;
   AddCharacterGoods(pchar, GOOD_LINEN, makeint(20 + rand(20)) );
   break;

   case <b>8</b>:
         DoQuestReloadToLocation("Conceicao_shore_02", "reload", "see" ,"");
         SetCharacterShipLocation(pchar, "Conceicao_shore_01"); // player seperated from ship
     worldMap.playerShipX = -790;
   worldMap.playerShipZ = 400;
   AddCharacterGoods(pchar, GOOD_WINE, makeint(10 + rand(20)) );
   break;

   case <b>9</b>:
         DoQuestReloadToLocation("Oxbay_shore_02", "reload", "reload1" ,"");
         SetCharacterShipLocation(pchar, "Oxbay_shore_01"); // player seperated from ship
   AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
   break;

   case <b>10</b>:
         DoQuestReloadToLocation("Oxbay_shore_01", "reload", "see" ,"");
         SetCharacterShipLocation(pchar, "Oxbay_shore_01");
   AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
   break;
  }


If, I'm wrong, please post a correct copy of that section.
Thanks.[/quote]Edits in bold. Hope that helps you.
 
Exactly <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />


switch(rand(10) )

chooses at random between the "cases" below, from "case0" to "case10". Therefore the cases below must be numbered from "case0" to "case10"
 
Ah, thanks very much. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" />
 
Back
Top