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

Looking for Jack's Compass

berinhardt

Landlubber
Storm Modder
I'm new here and with PotC, and i've tried the builds 12.1, 13 final, and now 14a8 (all in a week)
It's amazing what you have done so far, so iwanted to say thanks.
I tried to find something like an API (like JAVA one) but i couldn't.
can anyone tell me if there is anything like that?
 
Hey all <img src="style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> this is my first post...so good job everyone and keep doing a good job <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> <img src="style_emoticons/<#EMO_DIR#>/bow.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="bow.gif" />
As for the compass:
"Island: Isla de Muerte [NEW!]
Can only be found if you have Jack Sparrow's compass.
However, there is currently no ingame way to get it.
This island will be used during the CotBP quest, which is pretty much finished, but not included here"
I think it will be included in the final release only <img src="style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />
 
<!--quoteo(post=274027:date=Aug 18 2008, 04:34 PM:name=SilverSparrow)--><div class='quotetop'>QUOTE (SilverSparrow @ Aug 18 2008, 04:34 PM) <a href="index.php?act=findpost&pid=274027"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Hey all <img src="style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> this is my first post...so good job everyone and keep doing a good job <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> <img src="style_emoticons/<#EMO_DIR#>/bow.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="bow.gif" />
As for the compass:
"Island: Isla de Muerte [NEW!]
Can only be found if you have Jack Sparrow's compass.
However, there is currently no ingame way to get it.
This island will be used during the CotBP quest, which is pretty much finished, but not included here"
I think it will be included in the final release only <img src="style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->

Patience, my padawan....good things happens to the ones that have patience.... <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
I wasn't talking about that... i'm asking for a quick reference modding guide or something like that
 
I'm new kid on the block here, so probably not the best to advise you.. But you may try the topic in the Brain Storming Alpha forum called tools, tips and tutorials, or something of that kind. There's the PotC modding wiki and various tutorials which may help.

Also in /Buildinfo there's a file called keywords.c that outlines some of the game engine specific functions, the arguments they take and what they generally do.

I found reading all available info helpful but pretty sparse too and resorted to working out what specific functions do, their arguments and so on myself.

Why should you want an API btw?
 
when you look for a book you search in a library
getting every function and every file documented will speed up the modding.
In this very moment i'm fighting with a lot of files, and it took to me half an hour to learn what function is called by the engine and where is it, if there were an API, somebody could avoid making the same work that another did, I mean, i'm absolutely sure that everyone here knew that engine.ini sets seadogs.c as starting file and runs void Main(), but i spent HALF AN HOUR trying understand that.
You are a Modder, you should understand what do you feel when you sit in front of a folder with 1.089 files in 36 folders without any clue of what to do first (and i'm only talking about PROGRAM folder)
 
Yes, I agree it would speed things up and make it much easier. I looked for the same things when I started, not yet a fortnight ago. It is a bit daunting to stare at thousands of lines of unfamiliar, seemingly oblique code, I know.

For myself, I see it as a challenge and it makes it more interesting and rewarding when I figure out a system and discern how and where I can make changes I want and actually get it all to work.

It seems to me this might be a great irritation to someone coming from a professional environment, with well defined procedures, documentation and methods of development.

But I've worked in and on community code projects before, and this isn't the first time I've spent hours and hours just attempting to understand how the present code works before even beginning to write my own.

I usually go on after, leaving my additions happily undocumented as well. <img src="style_emoticons/<#EMO_DIR#>/happy.gif" style="vertical-align:middle" emoid="^_^" border="0" alt="happy.gif" />
 
Are u saying that you do this as a hobby? well.. me too, but that's no reason to make it harder.
We need to discover why is that piece of code there, but not everytime we look at that... and the "//Ðàñòîÿíèå íà êîòîðîì øòîðì íà÷èíàåò èñ÷åçàòü" kind of comments don't help at all! why don't we start building an API for this? i can meke it, but i don't know enough about the code itself
 
<!--quoteo(post=274074:date=Aug 18 2008, 10:07 PM:name=BerinHardt)--><div class='quotetop'>QUOTE (BerinHardt @ Aug 18 2008, 10:07 PM) <a href="index.php?act=findpost&pid=274074"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Are u saying that you do this as a hobby? well.. me too, but that's no reason to make it harder.
We need to discover why is that piece of code there, but not everytime we look at that... and the "//Ðàñòîÿíèå íà êîòîðîì øòîðì íà÷èíàåò èñ÷åçàòü" kind of comments don't help at all! why don't we start building an API for this? i can meke it, but i don't know enough about the code itself<!--QuoteEnd--></div><!--QuoteEEnd--> the "//Ðàñòîÿíèå íà êîòîðîì øòîðì íà÷èíàåò èñ÷åçàòü" is the remains of the original Russian text.
The "//" in front makes the line inactive. A comment line - some of these do appear in English.

For Jack's compass the command is: GiveItem2Character(Pchar,"aztec_compass"); It can be used in Quest or Dialog files.
But the item needs to be active in the PROGRAM\ITEMS\initltems.c file

Some Build versions do NOT carry it so see if it is there first to save yourself more heartache, depending on the Build version you are using.
 
I'm not looking for Jack's Compass as an item, it's a metaphor. I'm looking something that point to what i need to mod this game!
And i can't get the Item 'cause i play build 12.1, and i'm lacking on islands... but that's another topic (really, it's called "about mixing builds" or something like that...)
 
Let's start with the beginning... what IS an API??? <img src="style_emoticons/<#EMO_DIR#>/piratesing.gif" style="vertical-align:middle" emoid=":shock" border="0" alt="piratesing.gif" />
There is some information scattered all over the place,
but no real in-depth tutorial on modding the game.
The best way is to have a look at the information that IS there
and then try to figure out the rest yourself.
And of course post questions here on the forum.
We're always happy to help, of course. <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />

Anyway, I have done merging work on Build 13 and Build 14,
so I know a fair amount of what code there is.
However, I don't know everything AT ALL.
The one thing I do know (usually) is how to find the code I want.

A good trick is to start with something you DO know,
such as a BuildSettings.h/InternalSettings.h toggle or an
on-screen log message that has to do with the code you want to modify.
Then have Windows search the PROGRAM folder for that term.
Usually you will then be able to find some applicable code.
 
An API is like a quick reference guid of what enything in a program does.
the good thing is that it's easy to update, and with one of that it is opssible to CLEAN the code a lot, you've done a great work here, but it's quite untidy
 
A guide of everything PotC does would be quite expansive.
Anyway, I would not object to someone writing up some more documentation.
I'd be happy to answer any questions.
Actually, I wouldn't mind someone making a proper full game manual for Build 14 either.

HAL? THe only HAL I'm aware of is the Holland America Line. <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />
 
That's why i'm asking help, i wouldn't be able to do it alone, as you said, it can be quite huge

<!--quoteo(post=274614:date=Aug 22 2008, 11:11 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE (Pieter Boelen @ Aug 22 2008, 11:11 AM) <a href="index.php?act=findpost&pid=274614"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->HAL? THe only HAL I'm aware of is the Holland America Line.<!--QuoteEnd--></div><!--QuoteEEnd-->

And you think that you know something about computers??????

HAL - 9000 was the computer of 2001: a space odissey
 
I'd be happy to help in any way I can,
but please take into account that I am currently serving a Cadetship aboard a cruiseship.
That is keeping me pretty occupied. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

Anyway, I never claimed to know much of computers.
I am, in no way, shape or form a computer professional.
I'm an advanced user at best.
All I know of programming is self-taught using the trial-and-error method.
Helped a lot by the helpful people here on the forum.

I've never seen 2001: A Space Odyssey. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />
 
<!--quoteo(post=274897:date=Aug 24 2008, 11:23 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE (Pieter Boelen @ Aug 24 2008, 11:23 AM) <a href="index.php?act=findpost&pid=274897"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I've never seen 2001: A Space Odyssey. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->

Well that's something you should definitly see Pieter <img src="style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" />
 
Pieter, 2001 A Space Odyssey is a classic! Go rent it today, watch it now! <img src="style_emoticons/<#EMO_DIR#>/whippa.gif" style="vertical-align:middle" emoid=":whipa" border="0" alt="whippa.gif" />

HAL9000 is evil <img src="style_emoticons/<#EMO_DIR#>/cold.gif" style="vertical-align:middle" emoid=":brr" border="0" alt="cold.gif" />
 
HAL-9000 isn't "bad", i mean, it's a machine

that's the problem. I've seen that movie almost 20 times in the last 2 years (twice a moth) and i'm afraid that i can't say if HAL is "good" or "bad", it's true that it talks as if it were sentient, but it is supposed to be programmed like that. at the end the idea of killing the tripulation is just the solution to a problem...
 
Back
Top