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

Thers a new pirate in town!

bennydabeachbum

Landlubber
Well, a freind of mine on the site, KaptainKate, wanted help making an `in-game` character. And here it is...

front.bmp
left.bmp
back.bmp
right.bmp


close.bmp


And i was hoping to get some help on this, KaptainKate is workin on a ship for this here pirate. The thing i need help on is that i thought it would be cool to have this character "Kaptain Kate" on an island port (maybe Oxbay that place is not fun at all but this could change that!) able to be hired as an officer and she would already have her own ship. i still need to make "Kaptain Kates" pictures and icons for the game. Could someone please explain or even help me on doing this? any help would be appreciated.
 
You can use Clair Larrousse as an example; he can join the pchar and he starts with a ship.

My recollection is that you can just use SetCompanionIndex() to attach a character to the player as companion (i.e. ship captain).
 
Looks good!! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/william.gif" style="vertical-align:middle" emoid=":will" border="0" alt="william.gif" />
 
Argh damn mighty fine lookin a good upgrade of Danielle, perfect lassy officer for me ship auburn hair and blue eyes phwarh bueatiful Damn it get here lassy and join me vessel, here av me cabin!
 
If'n sheem were only real <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/dev.gif" style="vertical-align:middle" emoid=":d:" border="0" alt="dev.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> <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" />
 
Rico, Yeah I was aiming for getting this in for b12 but, i'm afraid I need alot of help from some of the coding junkies around here.

I have all her portraits done. now, all i have to do is finnish her ship "Bad Neighbor" and then Hex everything.

then, thats where I need the help. I skimmed through Verruckts wikki but still don't know code enough to do something at this level.
 
Benny, are you modeling the ship, or painting her texture from an existing model? Because if you are `re-texturing` an existing ship, then this thread should help - NathanKell has a new system for adding ships...

<a href="http://forum.piratesahoy.net/ftopic2769.php" target="_blank">http://forum.piratesahoy.net/ftopic2769.php</a>

Otherwise, you may have to take a look at Inez Dias's new tool for importing new models into PotC... I think it has just been updated for ships...

<a href="http://forum.piratesahoy.net/ftopic2467.php" target="_blank">http://forum.piratesahoy.net/ftopic2467.php</a>

Also... You want to add her as a `quest-hired` officer? This requires some coding (beyond hex), and I suggest you look at dialogs like (as Nathan suggests) Clair Larousse, or even Rhys Bloom (which I loosely based my Fred Bob quest upon). But Larousse is best as he has his own ship. The idea here is to find an existing situation close to the one you wish to create, and modify it to your own ideas.

Look in PotCPROGRAMDIALOGS for Clair Larousse, and open both the .h file and the .c file in a text editor like Notepad (DO NOT USE Wordpad or any word processing utility).

Compare the files - you will see that the dialog.c text number corresponds to a line in the .h files, and then you can begin to make sense of it.

The other file you will need to view is in PotCPROGRAMSQUESTS - quests_reaction.c - because there are some parts of the dialog that need actions - and these are defined in q_r.c .

This will be a big project, Benny. If you don't have it finished for the Sept. 15th deadline on Build 12 submissions, don't worry, you can always add it in later as a separate quest installment.

And I am GLAD to see you doing this - have fun with it - give her (well, us) a good `rip-roaring` quest to add to PotC! It's what makes this game fun, more variety and more interesting things to do! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
Thank you for the info cat!

I finnished her ship texture and her portraits. so then, I had a go at just getting her on oxbay port, sounds simple enough right? ( to no avail!). I was wrong.

So, I'll admit it i am bad at coding. But, I think i can at least handle putting her in QC's tailor Sho.. er, i mean person in time for build 12.

Now I can't mess that up can I?

I'll let you know how badly it went!
 
What went wrong, btw? Might just be a typo or something, POTC's very finicky.
If you want, post the code and we'll have a look and see where the trouble is.
 
Yes, don't give up, Benny, we'll help where we can! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" /> <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" />
 
Back
Top