SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [REL] "New" old unit: Queen Mary ocean liner \ troop transport (Reworked 2017 edition) (https://www.subsim.com/radioroom/showthread.php?t=233268)

gap 10-01-17 10:08 AM

Quote:

Originally Posted by VonDos (Post 2516140)
After a lot of more work:

What do you think about this new version?

Excellent! I can still see a few angles that could be a bit smoother, but MUCH, MUCH better than in the previous version :up:

Kendras 10-01-17 11:19 AM

Quote:

Originally Posted by VonDos (Post 2516140)
After a lot of more work:

https://image.ibb.co/e5jbiw/SH3_Img_..._56_25_648.jpg

https://image.ibb.co/mCNwiw/SH3_Img_..._56_25_648.jpg

What do you think about this new version?

Best regards,
Vd

:Kaleun_Thumbs_Up: Very nice ass !!!
 
Sorry, I couldn't resist ... :oops:

gap 10-01-17 02:58 PM

Quote:

Originally Posted by Kendras (Post 2516199)
:Kaleun_Thumbs_Up: Very nice ass !!!
 
Sorry, I couldn't resist ... :oops:

:o

I think you should take in consideration a short break from ships and naval simulations lol :rotfl2:

Kendras 10-02-17 05:50 AM

Quote:

Originally Posted by gap (Post 2516242)
:o

I think you should take in consideration a short break from ships and naval simulations lol :rotfl2:

:k_rofl:

Kendras 10-03-17 01:32 PM

Just to say that the 3D portholes are wrong textured on the outskirts : there is a light wooden texture there. And I remind you that it would be a wonderful addition if you could create enlighted portholes for the night (same way as the enlighted ships for GWX : a special light texture, but I don't know how it works precisely).

I guess you should create a second unit for the war version of the ship.

Now, I think you are working on the bow section. This ship will be very nice !

I wish you Good Luck !

gap 10-03-17 02:05 PM

Quote:

Originally Posted by Kendras (Post 2516697)
Just to say that the 3D portholes are wrong textured on the outskirts : there is a light wooden texture there.

Probably some of the porthole faces are using the same texture as the wooden decks. The issue should be easily fixable by switching all the faces to use the main texture/material.

Quote:

Originally Posted by Kendras (Post 2516697)
And I remind you that it would be a wonderful addition if you could create enlighted portholes for the night (same way as the enlighted ships for GWX : a special light texture, but I don't know how it works precisely).

I have looked into this while working on ship's smoothing groups. For portholese to look illuminated, the central part of them should be given a "luminous" material. Unfortunately, the 3D portholes currently in place have only the external ring modelled, but not the central glass. That's something we can add, but there are hundreds of portholes: even if we illuminate only a fraction of them, putting all those small polygons is their right place is going to take some time.

Talking about the "special light texture", I didn't check how other modders (I think Anvart dealt with ship lights) have set it, but I think we can use the city lights controller to get porthole lights to be switched only after down.

Quote:

Originally Posted by Kendras (Post 2516697)
I guess you should create a second unit for the war version of the ship.

I don't think so. Porthole "lights" could be stored in a library file and linked to the model through eqp file. By doing this, we should be able to switch them off by date, the same way that we change ship's paint scheme :yep:


Quote:

Originally Posted by Kendras (Post 2516697)
Now, I think you are working on the bow section. This ship will be very nice !

:agree:

Kendras 10-03-17 02:11 PM

Quote:

Originally Posted by gap (Post 2516711)
I don't think so. Porthole "lights" could be stored in a library file and linked to the model through eqp file. By doing this, we should be able to switch them off by date, the same way that we change ship's paint scheme :yep:

Yes, but how can you control the paint sheme as well ? It's not by the eqp file, is it ? :hmm2:

gap 10-03-17 04:46 PM

Quote:

Originally Posted by Kendras (Post 2516715)
Yes, but how can you control the paint sheme as well ? It's not by the eqp file, is it ? :hmm2:

No, provided that each unit's main texture was set as configurable in its dat/gr2 file, the texture can by changed by date (and by nation) using unit's roster cfg file(s). Tha above is surely valid for SHIV and 5, but I am reasonably confident that it applies to SHIII too, though there are not examples of this feature being used in stock files.

VonDos 10-03-17 06:25 PM

Hi mates!

Yes, i was working on bow section. Now i'm going to bed, but those are today results:

https://image.ibb.co/ihWPqb/SH3_Img_..._1_3_2_971.png

https://image.ibb.co/j11eOw/Nuova_immagine_bitmap.png

@gap: those are ship's part who need to be reworked for light\shadow bug:
https://www.sendspace.com/file/7fs77c

Best regards,
Vd

PS About light question, please try to dowload and install my Queen of Bermuda mod. Try this unit in a single mission with mission editor in 1939 before war start date, in 1939 after war start date and in 1942. This could be interesting about portholes lights and timeline (neutral enlightened, war duty darkened..) and about textures management issue.

Best regards,
Vd

gap 10-04-17 05:42 AM

Quote:

Originally Posted by VonDos (Post 2516776)
Yes, i was working on bow section. Now i'm going to bed, but those are today results...

Excellent!

Quote:

Originally Posted by VonDos (Post 2516776)
@gap: those are ship's part who need to be reworked for light\shadow bug:
https://www.sendspace.com/file/7fs77c

Okay, I will work on them this afternoon :up:

Quote:

Originally Posted by VonDos (Post 2516776)
PS About light question, please try to dowload and install my Queen of Bermuda mod. Try this unit in a single mission with mission editor in 1939 before war start date, in 1939 after war start date and in 1942. This could be interesting about portholes lights and timeline (neutral enlightened, war duty darkened..) and about textures management issue.

Okay. Is the ship illuminated before her conversion to armed merchant?

gap 10-04-17 09:14 AM

Hi VonDos,

I had a look into your files, and I must say that this time the problem isn't caused by erroneously split edges, but by some surfaces not being totally flat.

I can fix the problem easily, but maybe it is better if you send me the whole model (or at least the whole superstructure) for me to make sure that the perimetral vertices of the flattened surfaces will match perfectly the corresponding vertices of adjoining faces.

Sorry for making you to send the files twice, but as I said, at the beginning I thought the problem had a different cause :doh: :salute:

VonDos 10-04-17 02:48 PM

Quote:

Originally Posted by gap (Post 2516858)
Hi VonDos,

I had a look into your files, and I must say that this time the problem isn't caused by erroneously split edges, but by some surfaces not being totally flat.

I can fix the problem easily, but maybe it is better if you send me the whole model (or at least the whole superstructure) for me to make sure that the perimetral vertices of the flattened surfaces will match perfectly the corresponding vertices of adjoining faces.

Sorry for making you to send the files twice, but as I said, at the beginning I thought the problem had a different cause :doh: :salute:

Hi!
I'm sending you a PM

gap 10-04-17 05:02 PM

Quote:

Originally Posted by VonDos (Post 2516914)
Hi!
I'm sending you a PM

:up:

VonDos 10-04-17 10:17 PM

Quote:

Originally Posted by gap (Post 2516818)
Okay. Is the ship illuminated before her conversion to armed merchant?

She is illuminated only before war begin date, sept 1939. With war start, every porthole is darkened because unità is no more neutral..

Best regards,
Vd

gap 10-05-17 12:48 PM

Porthole/window lights
 
Quote:

Originally Posted by Kendras (Post 2516697)
I remind you that it would be a wonderful addition if you could create enlighted portholes for the night...

Quote:

Originally Posted by gap (Post 2516711)
I have looked into this while working on ship's smoothing groups. For portholese to look illuminated, the central part of them should be given a "luminous" material. Unfortunately, the 3D portholes currently in place have only the external ring modelled, but not the central glass.

I was wrong: after having looked more closely into the unit VonDos is currently working on, I have discovered that porthole's central portions are modelled. At first I didn't notice them, as thei are stored in diffrent submodel than the frames. :up:

Quote:

Originally Posted by VonDos (Post 2516776)
PS About light question, please try to dowload and install my Queen of Bermuda mod. Try this unit in a single mission with mission editor in 1939 before war start date, in 1939 after war start date and in 1942. This could be interesting about portholes lights and timeline (neutral enlightened, war duty darkened..) and about textures management issue.

Quote:

Originally Posted by gap (Post 2516818)
Is the ship illuminated before her conversion to armed merchant?

Quote:

Originally Posted by VonDos (Post 2516958)
She is illuminated only before war begin date, sept 1939. With war start, every porthole is darkened because unità is no more neutral..

I have had a quick look into your Queen of Bermuda. I see you have followed my advise to store different ship parts in a separate library file, but I think you have actually overdone my suggestion lol :D

The only parts that actually had to be set as external equipments, are the ones that were historically modified during the conversion (vents, funnels, masts, part of the superstructure, etc). Imo the main hull and all the parts not modified during the conversions, should be stored directly in one of the dat files in the sea folder. Only one, not the two of them, because two (similar) units can share the same dat file (so you might also scrap the second dat file).

How can you do that, you may ask? The answer is easy: by adding the following line to the [Unit] section of the cfg file, for the unit that you want to use another unit's model:

Code:

[Unit]
ClassName=BBPennsylvania
3DModelFileName=data/Sea/NBB_Colorado/NBB_Colorado
UnitType=11
...

The example above is from SHIV's USS Pennsylvania which, as you can see, uses the same files as the USS Colorado. The only files found in Pennsylvania's folder, besides the cfg and the shape files, are eqp and sns files, used for customizing the ship relative to her sister (the Colorado):

https://i.imgur.com/IB3bFcA.png

In this example, the Colorado and the Penssylvania use the same texture, but if devs wanted the latter to use a special texture, I think they could have done that by editing the following entries in her ROSTER cfg file:

Code:

[Texture 1]
TextureName=data/Sea/NBB_Colorado/NBB_Colorado_T01.tga
LightmapTextureName=data/Sea/NBB_Colorado/NBB_Colorado_O01.tga
NormalmapTextureName=data/Sea/NBB_Colorado/NBB_Colorado_N01.tga
StartDate=19000101
EndDate=19991231
Frequency=1

I think the same settings can also be used in SHIII, though they are not found anywhere in stock files.

One last note: In the case of the Queen of Bermuda, having the ship set as two separate units (one being a proxy clone of the other), makes sense because the two versions of the ship had different roles and they require different unit types. For the Queen Mary, we just need one unit whose paint scheme and equipments (including the lightened windows) can be switched by date, through eqp and cfg files' start/end date settings.

PS: check your PM box :salute:

the_frog 10-05-17 01:11 PM

gap,

you asked me once if I tried the SH4 method of defining textures for certain for periods in the roster *cfg file in SH3. My answer was I tried but without success. So, my question -- have you tested the method in SH3?

Cheers

gap 10-05-17 02:00 PM

Quote:

Originally Posted by the_frog (Post 2517054)
gap,

you asked me once if I tried the SH4 method of defining textures for certain for periods in the roster *cfg file in SH3. My answer was I tried but without success. So, my question -- have you tested the method in SH3?

Cheers

You are right. To be honest I didn't test that: I had forgot about that conversation. :doh:

I wish I could prove you wrong but, in any case, I think texture used (in case of multiple-textured models) can be controlled via campaign files: :hmm2:

http://www.subsim.com/radioroom/show...9&postcount=44

VonDos 10-05-17 03:41 PM

Quote:

Originally Posted by the_frog (Post 2517054)
gap,

you asked me once if I tried the SH4 method of defining textures for certain for periods in the roster *cfg file in SH3. My answer was I tried but without success. So, my question -- have you tested the method in SH3?

Cheers


Hi the_frog, Gap and everyone!
I also tested this method while working on Queen Of Bermuda, sadly without success. This is the cause of her strange library's configuration, with a war hull and a civil hull (and another different hull because some large parts were removed during war for create spaces for main guns). :doh:

Btw, thanks again Gap, tested now, great work with light\shadows!

https://image.ibb.co/eYj31G/SH3_Img_..._29_17_423.jpg

Best regards,
Vd

gap 10-05-17 04:39 PM

Quote:

Originally Posted by VonDos (Post 2517076)
Hi the_frog, Gap and everyone!
I also tested this method while working on Queen Of Bermuda, sadly without success.

What about this other method? (see quote below)

Quote:

Originally Posted by gap (Post 2517062)
...in any case, I think texture used (in case of multiple-textured models) can be controlled via campaign files: :hmm2:

http://www.subsim.com/radioroom/show...9&postcount=44

Quote:

Originally Posted by VonDos (Post 2517076)
Btw, thanks again Gap, tested now, great work with light\shadows!

My pleasure mate :salute:

gap 10-05-17 05:02 PM

Still talking about the illuminated windows, I have seen that you have set their material as 'emissive', similar to what Anvar made with GWX neutral ships.
This is indeed an effective and easy way to make an object to look luminous in game, but such a lights are always "on".
If you are looking for a more polished method to make ship lights to shine only at night, you can experiment with the CityLights controller. I have been looking into game files for its usage, and I think I have understood the way it works and how to set up objects/materials for it. If you are interested, I can explain here :up:


All times are GMT -5. The time now is 01:47 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.