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

Improvement of the HMS Victory.

That sounds confused. Anything I can do to help? :wacko:
Um, help figure out where the ships not listed are assigned their images? :?
I've tried several things, including removing the 'refship.all' line, in the hope that they just copy the image of that ship, but saw no change.
How else could it work?
 
If you remove the refShip.all line, this code in ships_init.c will be executed for that ship:
Code:
		if(!CheckAttribute(refShip,"All"))
{
if(!CheckAttribute(refShip,"Walk")) { refShip.Walk = refShip.Name; }
// KK if(!CheckAttribute(refShip,"BI.Pic")) { refShip.BI.Pic = refShip.Name; }
if(!CheckAttribute(refShip,"BigPic")) { refShip.BigPic = refShip.Name; }
if(!CheckAttribute(refShip,"BigPicTex")) { refShip.BigPicTex = 0; }
if(!CheckAttribute(refShip,"BigPicTexName")) { refShip.BigPicTexName = "SHIPS16"; }
if(!CheckAttribute(refShip,"SName")) { refShip.SName = refShip.Name; }
}
If you add the BI.Pic, BigPic, BigPicTex and BigPicTexName lines to each ship, it should work fine though.
 
Success! When I manually added the necessary lines in ships_init, the picture showed up for Battleship2. :dance
But theoretically, I shouldn't need to add them if they're auto-generated, right?
 
The "autogeneration" would only be enough to put a default picture there, but not enough to put the correct one there.
So you would have to add the lines for every ship. After all, the game doesn't know which index number corresponds with which ship.
I'm still pretty sure the game uses index numbers and not the image names...
 
I just got the BlackPearl model's image to work without adding the lines.
I'm thinking it might be to do with stock ships, which might need the specific lines now?
There is no index number that I can see. The only number involved is BigPicTex = -1, 1, or 0, being "not used", "galeoths, black pearl and fearless", and "all else" respectively.
Apart from that, BigPic is probably the line corresponding to the entry in pictures.ini. That's what I reckon, anyway.
If there are index numbers, they're very well hidden. :shrug

EDIT: There are index numbers related to the Battle Interface pictures, however.
 
This might explain a thing or two; from the top of ships_init.c:
Code:
		-BI.Pic is the little pic in Battle Interface (i.e. when sailing). Case for this must exist in BI.c
*This is autogenerated (= *.name) on final loop if it does not already exist.

-BigPic is the big pic name (in Ships, hold, shipyard, etc.) Must have matching entry in pictures.ini
*This is autogenerated (= *.name) on final loop if it does not already exist.

-BigPicTex is for GetShipTexture() and is -1 for unused, 1 for Galeoths (and BP/Warship)
and 0 for else.
*This is autogenerated (= 0) on final loop if it does not already exist.

-BigPicTexName is for GetShipTextureName() and is "", "SHIPS1", and "SHIPS16" respectively as above.
*This is autogenerated (= SHIPS16) on final loop if it does not already exist.
I don't think the BI.Pic line is used anymore somehow.
 
And now you mention it, reading that, it seems that it DOES care about the NAME and doesn't use an index.
That surprises me, since it's definitly index numbers for the items and that uses a system very similar to the ship pictures.
Well, consider me corrected on that account. :doff
 
I did notice that code earlier, and I reckon it does explain a few things, yes. :yes

I don't think the BI.Pic line is used anymore somehow.
Well recently I figured out what the numbers for this line and BI.Tex mean, and I have managed to correct several battle interface pictures for some ships, which displayed the wrong class before.
So it seems it is still used. :shrug

Anyway, I just tried Battleship1 without adding the extra lines, and it does seem to work.
I think I must've been doing something wrong before, when making the changes happen in-game. Oops. :eek:ops2
 
I recently decided to do some work on Victory's texture, to make her more true to the real thing. :keith
This is based on what I posted a while back, and the result looks quite stunning:

[attachment=5662:Victory_new_tex.jpg] [attachment=5663:Victory_new_stern.jpg]

So what do you think? As well as changing the nameplate, I also removed it in another version (which would be the generic encounter-able one).
I was thinking that maybe we could make the named Victory a unique Vanderdecken ship... :wp

Note: the black patches on the hull are side effects of the re-texturing, and I can't do anything about them.
But luckily they're 99% invisible while at sea in-game. :cheeky

where do i donwload it i cant find it plz respond or message me to Tyber_Zann70@hotmail.com
 
It will be officially released, along with several other new and fixed/upgraded ships, once the reverse lighting bug has been removed for several ships, including Victory.
That won't be until a couple of weeks' time, perhaps, since I still have a lot of work to do.
So it will be an early Christmas present, hopefully! :dance

P.S. no need to ask for a response. ;)
 
It will be officially released, along with several other new and fixed/upgraded ships, once the reverse lighting bug has been removed for several ships, including Victory.
That won't be until a couple of weeks' time, perhaps, since I still have a lot of work to do.
So it will be an early Christmas present, hopefully! :dance

P.S. no need to ask for a response. ;)

well then its a long w8 xD btw u should make the black lines on the sides a bit wigher they are a bit to thin here look on this picture http://farm4.static.flickr.com/3175/2486926281_7194ce0128_o.jpg im not saying its bad i just saying that it would look beatter if u do that
 
Given the way it's textured, that might be difficult. Besides, the black lines are actually modelled, and aren't flat with the hull.
I'd ask pgargon, it's modeller, about that. He's going to do some work to remove the lighting bug anyway. :shrug
 
She looks so beautiful! I eagerly await the final result! :doff
 
Question, do you want on the HMS Dauntless / Endeavour prefer hunting guns or the guns of the broadside? Both fit not go there! See picture. xD:

 
I think bow chasers (the 'hunting guns') are the better option. They're useful for gameplay, if nothing else. :onya
And can I just say she's coming along beautifully!
I actually saw part of the first PotC film again earlier today, so I can say, fresh from memory, she's looking very accurate! :woot
 
Back
Top