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

Change your crew on the ship?

Corsair_Sclipse

Landlubber
I think i found it...I'm not sure...i'm still looking and testing.<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->void CreateOtherCharacters()

{

    ref ch;



    makeref(ch,Characters[MAX_CHARACTERS+BOAT_CHARACTER]);  // boat character



    ch.name  = "Boat";

    ch.lastname = "Character";

    ch.id  = "Boat1234";

    ch.nation    = ENGLAND;

    ch.activity_begin = "0";

    ch.activity_end = "24";

    ch.experience = "0";

    ch.skill.Leadership = "1";

    ch.skill.Fencing = "1";

    ch.skill.Sailing = "10";

    ch.skill.Accuracy = "10";

    ch.skill.Cannons = "10";

    ch.skill.Grappling = "1";

    ch.skill.Repair = "1";

    ch.skill.Defence = "1";

    ch.skill.Commerce = "1";

    ch.skill.Sneak = "1";

    ch.Ship.Name = "Boat";

    ch.Ship.Type = SHIP_BOAT_NAME; // PS

    ch.Ship.Stopped = true;



}<!--c2--></div><!--ec2-->

ch.id = "Boat1234"; // That would be the place where you change the model id. Some people wanted the skeletons... that would be Model names:

Skel1
Skel2
Skel3
Skel4

I'm not sure if this works...
 
Thats deffinetly it...but Boat1234 doesnt show up anywhere....

I tried it and i had no crew...so that means i changed it...jus dont no what to change it to now.
 
The ch.id is nothing to do with the model name.
I think that you might be looking at the wrong file depending on what you are trying to change whether it is the random crewmen that appear when you board another ship or the low res crew that appear on the deck of the ship.

Changing that to Skel1 wouldn't change the skin that it used, all that it changes is the name that is used to call up these characters, which is why they disappeared.
 
good point...i was looking for it for like...2 hrs...thats the ONLY thing i found that had something to do with the characters aboard the ship...
 
I take it that it is the low res men walking on the ship that you are looking to change.
If so then the only thing that I can suggest is to go to the RESOURCEMODELSLowCharacters folder and rename/delete/move all of the Lo_Man files then copy the Lo_Skeleton.gm and/or the `Lo-skel`.gm files a few times and rename them so that they "replace" the Lo_man GM files that you've removed.
This probably won't work and if it does then it would change all of the crew on all of the ships to skeletons.


I've spent a little amount of time looking for some code that calls up these Lo_man files and it doesn't exist.
I suspect that it might be in the DLLS or the game engine and I don't believe that anyone has been able to modify these yet.
 
SD: Yup, it's in Sea_People.DLL SFAIK, and it's all hardcoded. It has absolutely nothing to do with the Loc AI, which handles highres characters.

The one thing that is _not_ hardcoded, is that you _can_ add a property to a ship to tell the engine to use skeletons as crew.

Sadly my desktop died so I can't look it up right now but IIRC it's there.

Re: boat character.
The Boat character is only used to place the rowboat in port locations; the character himself never appears, nor is modified at all; he's empty except for the fact that he has a boat.

This is because the engine does not handle ships directly, only as attributes of characters (i.e. the object is not ship, but character).
So changing the boat character will do squat. Unless that breaks it, of course. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />

You could give it a tartana instead of a rowboat, of course. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
 
Heh, have an ancient backup on the laptop.
Greping for PEOPLE finds:
Object PeopleOnShip

PeopleOnShip.isNight (attribute, bool)

Bah, can't find the skeleton line. I'll check again ASAP for it. :
 
I think Sony's looking for skellies for his boarding crew, Sirus... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Back
Top