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

Random Ship Stats help, please

Topstok

Landlubber
random stats...

Hi!
I have installed the build 12, and when I init a new game i always get random stats on my ship... I don't know if that's a feature of the build but i don't like it. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mad.gif" style="vertical-align:middle" emoid=":c" border="0" alt="mad.gif" />

There is a way to disable this?

thanx.
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" /> <b>Topstok, </b>and welcome aboard! Have an ale!

I moved your question to the general forum as a topic, so you'll get better exposure on it. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />

Did you set your own ship stats previously? Or is it an existing ship from a savegame? What has changed, that you've noticed?
 
thanx for the welcome <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile2.gif" style="vertical-align:middle" emoid=":))" border="0" alt="smile2.gif" />

I tried with some different ships (the original ships of the game, the ships from the build and a ship that I modded) and when I start a new game and press F2 the stats of the ships are different every time (except the max caliber).

I also noticed that when i go to buy a ship sometimes i see two lugger (for example) with the same nation design but they have different stats and price.

I have searched in the code but I only find something random on quests_reaction.c , there is a function called SetRandomStatsToShip but I don't know how can I change that.
 
I know that NathanKell is the one to ask about the ship stats; he is the one who put together that mod that fixes them. It's weird that you should have two ships from the same nation that have different stats - I wonder if there's a problem with the Nation flags mod... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

Hopefully Nathan will be around soon to help. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
ok, i will wait for him


I don't know if that's the problem but I have installed the european version of the game and i have installed the mod with that trick of installing first the build11 with euro support and then the build12 without euro support.
 
I've got an email out to him, hopefully he'll find some time to peek in here, he's been awfully busy lately with "real life" (whatever that means, LOL!) <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" />
 
thanx for all the help Catalina

one question: Is this a bug that only appears in my game or it's a feature of the mod?

I was searching in the code <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bookish.gif" style="vertical-align:middle" emoid=":mm" border="0" alt="bookish.gif" /> and I saw that there is an intention to make the random thing, in the code of the Xebec Barbarossa there is a line that says "refShip.SpeedRate= 16.0; //will be modded back up via random"
Also there is some files that contain the SetRandomStatsToShip() thing.
 
It's a feature - or a tweak - by NathanKell. He's been fooling with the ship setup for a long time, and it's probably something he's done to change something. Don't know for sure about that, which is why he's the one to ask! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
<!--`QuoteBegin-Topstok`+--><div class='quotetop'>QUOTE(Topstok)</div><div class='quotemain'><!--QuoteEBegin-->I also noticed that when i go to buy a ship sometimes i see two lugger (for example) with the same nation design but they have different stats and price.[/quote]I don't think that's a bug, as the shipyard displays every ship that has different stats from the other as a separate option at the buy/repair screen. So, the game has guidelines as to what stat differences the different nations' ships have, but can tweak that a bit according to it's random taste. So, even if it's the same ship type, and built by the same nation, if it has a small difference in it's stats, the game will add it separately to add to the variety. I think that's clever! <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" />
 
ok, I agree that it adds more variety but i think that would be good to have the option to choose the random stats or the normal stats. I know Nathan is very busy so if him doesn't make that option i will understand it, but at the moment I only want to know how to turn it off. I'm searching on the code but I don't know in which file it will be, and that's I want to know

EDITED
oooooookk i have found the solution to this <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" /> , at least for my modded ship (that was what i wanted to do), I was searching in the wrong direction <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" /> . Anyways thax for the support! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />

If anyone wants to make a specific ship that don't have random stats simply put this line on the code of your ship:
refShip.unique= true;
 
Back
Top