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

Modific Initial ship

Atarugolan

Landlubber
Hello pirates,


I tried to change the initial ship but, I do not find the file where the script to change Start ship.


Please help me..
 
<!--quoteo(post=320336:date=May 16 2009, 03:29 PM:name=Golan)--><div class='quotetop'>QUOTE (Golan @ May 16 2009, 03:29 PM) <a href="index.php?act=findpost&pid=320336"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Hello pirates,


I tried to change the initial ship but, I do not find the file where the script to change Start ship.


Please help me..<!--QuoteEnd--></div><!--QuoteEEnd-->

its RPGUtilite.c in folder program\chraracters

pchar.Ship.Type = GenerateShip((SHIP_LUGGER + rand(2) - 1), 0);

is the line you want changing "LUGGER"
 
thanks! <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> now i search for adding new ship, is more complicate od potc, and i see the canno 48lbs e 96lbs, but i try insert in any ship but not work...
 
<!--quoteo(post=320598:date=May 17 2009, 08:54 PM:name=Golan)--><div class='quotetop'>QUOTE (Golan @ May 17 2009, 08:54 PM) <a href="index.php?act=findpost&pid=320598"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->thanks! <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> now i search for adding new ship, is more complicate od potc, and i see the canno 48lbs e 96lbs, but i try insert in any ship but not work...<!--QuoteEnd--></div><!--QuoteEEnd-->

yea it is more of a pain, you need to edit the Net folder ships.c file, if you want it in a store at all. the format is close to the ships_init.c but it is a tad different some fields are not there, some stats are different dunno exactly why they are different in the net file if it is just stats for online play or what. but ships you add will not show up in the store if it is not there.

then there are other ships that are not in the Net ship.c file like the dutchman and the other quest ships which seem to be tied to quest scripts to spawn at a trigger.

so you could mod the current quests like the corvette quest, one modder on the RU site released the black pearl replacing the corvette spawn. or you can add the ship class so the ship might show up in shipyard via the Net ship.c file and editing ships_init.c and a number of other files including some ini files that containing the UI and other stuff.

way i did it is search for a ship name via the search for text within documents and files "frigate" or whatever is close to the ship your adding size and stats wise, then just copying frigate lines out duplicating them for the then tweak stats however.

also discovered today, that somehow item stats must be included in your save files. so you cannot edit a item and the changes will show up in current game, but if you start a new game the changes take, odd to say the lest.

<a href="http://translate.google.ru/translate?prev=hp&hl=ru&js=n&u=http%3A%2F%2Flegend.seaward.ru%2Fforum%2Findex.php%3Fshowtopic%3D8875&sl=ru&tl=en&history_state0=" target="_blank">http://translate.google.ru/translate?prev=...history_state0=</a>

^russian^ thread with a ton of mods in it, sadly the readme are gibberish if you do not have a russian language pack on your computer to open them properly. and if they require text files to be installed your kinda out of luck because they are in russian, lest if you got the non russian game on your pc.
 
<!--quoteo(post=320602:date=May 18 2009, 06:31 AM:name=Cerebus23)--><div class='quotetop'>QUOTE (Cerebus23 @ May 18 2009, 06:31 AM) <a href="index.php?act=findpost&pid=320602"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec--><!--quoteo(post=320598:date=May 17 2009, 08:54 PM:name=Golan)--><div class='quotetop'>QUOTE (Golan @ May 17 2009, 08:54 PM) <a href="index.php?act=findpost&pid=320598"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->thanks! <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> now i search for adding new ship, is more complicate od potc, and i see the canno 48lbs e 96lbs, but i try insert in any ship but not work...<!--QuoteEnd--></div><!--QuoteEEnd-->

yea it is more of a pain, you need to edit the Net folder ships.c file, if you want it in a store at all. the format is close to the ships_init.c but it is a tad different some fields are not there, some stats are different dunno exactly why they are different in the net file if it is just stats for online play or what. but ships you add will not show up in the store if it is not there.

then there are other ships that are not in the Net ship.c file like the dutchman and the other quest ships which seem to be tied to quest scripts to spawn at a trigger.

so you could mod the current quests like the corvette quest, one modder on the RU site released the black pearl replacing the corvette spawn. or you can add the ship class so the ship might show up in shipyard via the Net ship.c file and editing ships_init.c and a number of other files including some ini files that containing the UI and other stuff.

way i did it is search for a ship name via the search for text within documents and files "frigate" or whatever is close to the ship your adding size and stats wise, then just copying frigate lines out duplicating them for the then tweak stats however.

also discovered today, that somehow item stats must be included in your save files. so you cannot edit a item and the changes will show up in current game, but if you start a new game the changes take, odd to say the lest.

<a href="http://translate.google.ru/translate?prev=hp&hl=ru&js=n&u=http%3A%2F%2Flegend.seaward.ru%2Fforum%2Findex.php%3Fshowtopic%3D8875&sl=ru&tl=en&history_state0=" target="_blank">http://translate.google.ru/translate?prev=...history_state0=</a>

^russian^ thread with a ton of mods in it, sadly the readme are gibberish if you do not have a russian language pack on your computer to open them properly. and if they require text files to be installed your kinda out of luck because they are in russian, lest if you got the non russian game on your pc.
<!--QuoteEnd--></div><!--QuoteEEnd-->
sounds good
 
But what can I do to make all ships show up in the yards right from start (I´d like to ablec of bying them)?
 
<!--quoteo(post=320736:date=May 18 2009, 11:52 AM:name=Takeda-One)--><div class='quotetop'>QUOTE (Takeda-One @ May 18 2009, 11:52 AM) <a href="index.php?act=findpost&pid=320736"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->But what can I do to make all ships show up in the yards right from start (I´d like to ablec of bying them)?<!--QuoteEnd--></div><!--QuoteEEnd-->

there is a randomness to everything in the shops, that you can buy. if you save in town before you talk to any of the shops you can reload and get different items each time. i not tried to hack it out but see the script above for the starter ship.

its RPGUtilite.c in folder program\chraracters

pchar.Ship.Type = GenerateShip((SHIP_LUGGER + rand(2) - 1), 0);

i think the last bit of the line is the + or minus code so like the default starting ship is lugger but you can get a sloop or that other ship i can think of the name for it you edit it you get a random ship in that class.

all the items in the game have a chance, like some files go something like

if.pchar rank8>=1;generate.shopitem (or something like that)
then a list of items it randomizes for your character level at the store.

tho i think you can find stuff above your rank rarely, but the odds of the brackets generating an item for the shop go up if you meet the level requirements so high level you can find a ton of stuff from the item vendors, ships is alot more random you can get utter noob ships or a ton of rank 4s and have to reload a ton of times to get a class 3+ and above ship check out some of the files you will get an idea of what i mean.

i not messed around with that code, it seems more realistic to me tho it would be nice to have a set list for testing purposes lol, i think i spent 2 or 3 hours just reloading saves to see if my ship would spawn in shipyard when i was messing around trying to add extra ships.
 
is it possible to modify ships.init without starting a new game? Let say i dont have any manowar, so if i modify it, will the stats change ingame?
 
Any of the Man'o Wars you own currently would NOT be affected by the new code.

The stats for all items and ships you own are saved as part of your save game, but newly generated ships will be based on the new code.

Cap'n Drow
 
thanks a lot. i am thinking of changing the soleyru cos i havent take the quest yet, and the ship is still nowhere to be found in the game.
 
<!--quoteo(post=334341:date=Jul 1 2009, 02:47 AM:name=woopypooky)--><div class='quotetop'>QUOTE (woopypooky @ Jul 1 2009, 02:47 AM) <a href="index.php?act=findpost&pid=334341"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->thanks a lot. i am thinking of changing the soleyru cos i havent take the quest yet, and the ship is still nowhere to be found in the game.<!--QuoteEnd--></div><!--QuoteEEnd-->

Soleyru is a unique ship that you can't randomly encounter. I've not played the Dutch campaign yet, but so far taking the French campaign is the only way for me to encounter it. You can't even legitimately own the ship. It'll be just a companion ship and you have to give it back at the end of the quest line. There are ways to actually own the ship so check the board for that <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />
 
Back
Top