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

Mooring ships at the jetty

<!--quoteo(post=222244:date=Nov 19 2007, 02:47 PM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Nov 19 2007, 02:47 PM) [snapback]222244[/snapback]</div><div class='quotemain'><!--quotec--><!--quoteo(post=222138:date=Nov 18 2007, 08:55 PM:name=CouchcaptainCharles)--><div class='quotetop'>QUOTE(CouchcaptainCharles @ Nov 18 2007, 08:55 PM) [snapback]222138[/snapback]</div><div class='quotemain'><!--quotec-->These commands in the location\init files set the locatorradius in meters:
Locations[n].locators_radius.reload.sea_1_back = 2.0;<!--QuoteEnd--></div><!--QuoteEEnd-->Thanks a lot! That works brilliantly! <img src="style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" />
<!--QuoteEnd--></div><!--QuoteEEnd-->

Nice! <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />

However, to place the individual ship correctly to the pier, we need to know its width. Either an if-statement for every single shiptype in the piercode is necessary, or a new data field is required for each ship (width=xx) in ships_init.c.
(The latter would probably mess up every other instance that is looking up in the ships_init.c...)
 
<!--quoteo(post=222269:date=Nov 19 2007, 10:12 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Nov 19 2007, 10:12 AM) [snapback]222269[/snapback]</div><div class='quotemain'><!--quotec-->Check PROGRAM\Locations\locations_camera.c. It has something to do with the locCameraEnableFree thing. Set <i>locCameraEnableFree = true;</i> at the top of the file, then press Tab until you're in free camera mode. New game required to enable this. Moving forwards/backwards works with the left and right mouse buttons.<!--QuoteEnd--></div><!--QuoteEEnd-->
Another way to do this "without" a new game it to use the console.c file.

Just set the begining of that file to look something like this:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->void ExecuteConsole()
{
    ref pchar = GetMainCharacter();
    ref ch;
    int i;

//========= To get a floating camera================
    if(locCameraCurMode != LOCCAMERA_FREE)
    {
        locCameraFree();
    }else{
        locCameraFollow();
    }
//===================================================<!--c2--></div><!--ec2-->
Then when you press "F12" key you switch to "out of body experience" camera mode.

You can use the mouse to move the camera around while your character's body stands still. Just remember to leave him in a safe place (i.e. not where he might be attacked).

Pressing "F12" key again returns you to your body.

You can do this over and over, anywhere on land in the game.
 
<!--quoteo(post=222254:date=Nov 19 2007, 09:55 AM:name=Morgan Terror)--><div class='quotetop'>QUOTE(Morgan Terror @ Nov 19 2007, 09:55 AM) [snapback]222254[/snapback]</div><div class='quotemain'><!--quotec-->speaking of his sig, what's that scribbled on the flag?<!--QuoteEnd--></div><!--QuoteEEnd-->


Click the link at the bottom of my sig. The Men of War Forums one. Its an RPG set in 1795 on a fictional island if Devia (we originally started as a group of friends at deviantART.com). That's why the tiny "DA" and deviantART logo are on the green flag. Read about the "backstory" in the general info section and it will all become clear. You might even want to join us... a fine group of history buffs there, and we have army, navy, marines, civilians of just about any nation. <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />
 
<!--quoteo(post=222327:date=Nov 19 2007, 06:35 PM:name=PeterWillemoes)--><div class='quotetop'>QUOTE(PeterWillemoes @ Nov 19 2007, 06:35 PM) [snapback]222327[/snapback]</div><div class='quotemain'><!--quotec-->Nice! <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->Please note: That had NOTHING to do with the positioning of the ships. I needed to do that for the CotBP quest when Murtogg and Mulroy should stop you when walking up the jetty.

<!--quoteo(post=222328:date=Nov 19 2007, 06:38 PM:name=Petros)--><div class='quotetop'>QUOTE(Petros @ Nov 19 2007, 06:38 PM) [snapback]222328[/snapback]</div><div class='quotemain'><!--quotec-->Another way to do this "without" a new game it to use the console.c file.<!--QuoteEnd--></div><!--QuoteEEnd-->Thanks a lot, Petros! That's much easier! <img src="style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" />
Now we should just try to figure out a way to do the same thing at sea... <img src="style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />
 
i might just do, commodore. here's another RPG i've been writing in:

<a href="http://www.forum.thelib.com/index.php?topic=3729.30" target="_blank">http://www.forum.thelib.com/index.php?topic=3729.30</a>

i'd recommend you'd start at the post on september the first. you'll miss a little of the plotline though. you can of course read the entire story, but the part before that is pretty rough and little happens. what's more, there's a colossal hole in the story which was supposed to be filled up by people who never showed up.
 
Sweet!

And the Fwench? <img src="style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />

If you do join... what would you do? British, American, French, Spanish... army, navy, marine? Or just a civilian? (We have merchant captains too!)
 
deliberate piratical spelling mistake. <img src="style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> well, i've read the storyline, but the forum seems pretty confusing. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> meanwhile, how much did you read? my writing gets best after i'm out of the fort.
 
I pretty much read the page, from top to bottom. <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />
 
there's two more after that. <img src="style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" /> i'm getting better at it. i've got so many storylines ready that i doubt i'll be able to squeeze all of them in before the story ends!
 
Haha! Seems I've been missing things at Ellaybe... all that story is pretty good!
For month I couldn't access the Lib forum - it looks like they haven't got any problems now? I'm going to read more!
 
there's a loooooooot to read. <img src="style_emoticons/<#EMO_DIR#>/smile2.gif" style="vertical-align:middle" emoid=":))" border="0" alt="smile2.gif" /> in case you've read 'the last grain race', you might recognise some things and characters from that book.
 
Thomas the Terror also added ships alongside the pier in Douwesen port now. Needs some more work, especially for the really large ships, but that's port #2 being worked on! <img src="style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" />

Would anybody be interested in trying to do this for the other ports as well?

BTW: I split off the "<a href="http://www.piratesahoy.com/forum/index.php?showtopic=11360" target="_blank">Ships and Ports in the Deck Scene</a>" development from this thread. I think it deserves its own thread now.
 
I did some further modifying of the original locator file to put the Dauntless further ashore in the CotBP quest scene. Only now the player ship is ALWAYS moored where the Dauntless is now. Do you think that is a problem? At least it explains why the player still needs his boat. <img src="style_emoticons/<#EMO_DIR#>/whistling.gif" style="vertical-align:middle" emoid=":wp" border="0" alt="whistling.gif" />
 
So in the film quest you start with the interceptor as your ship (when you land at Port Royal)? 'Cause in the films they take a boat, use it to walk underwater to the Dauntless, then when Norrington pursues and boards the Daunltess, they swing across to the unmanned Interceptor and sail away...
 
In the previous version of the film quest, you would get the Interceptor straight away and after the escapades in Port Royal (Redmond), you'd walk up the dock and sail the Interceptor to Tortuga. With the latest version, you get the Dauntless instead and you must get the Interceptor to surrender in a ship-to-ship battle. Then you can take the Interceptor. Much better, no? <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
Brilliant! Every idea for a quest in this community seems to be a million times better than the pathetic excuse for a quest from the original.
 
Hehe. We're doing out best. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
I'd really like to have more ships moored alongside the jetties. Right now we have got it only for Redmond and Douwesen. ME WANTS MORE!!!
 
<!--quoteo(post=240249:date=Feb 22 2008, 03:06 PM:name=Pieter Boelen)--><div class='quotetop'>QUOTE (Pieter Boelen @ Feb 22 2008, 03:06 PM) <a href="index.php?act=findpost&pid=240249"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I'd really like to have more ships moored alongside the jetties. Right now we have got it only for Redmond and Douwesen. ME WANTS MORE!!!<!--QuoteEnd--></div><!--QuoteEEnd-->
I need one for the Santo Domingo Port <img src="style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" />
 
Santo Domingo is based on Greenford port, right? So if somebody can do Greenford, we'd have Santo Domingo as well. Or the other way around. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
Back
Top