SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
01-18-22, 05:14 AM | #136 |
Grey Wolf
|
|
01-18-22, 07:02 AM | #137 |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
@ kapuhy
thank you for your answers! Some points in your account of FX bones and damage boxes don't quite match my recollections, but unfortunately I have not the files in front of me. I will be back to you on this topic as soon as I re-install the game @ Mister_M You importing/exporting kapuhy's files to/from Wings3D before importing them in S3d, is the likely reason for the AO map corruption you are experiencing |
01-18-22, 07:22 AM | #138 | |
Grey Wolf
|
Quote:
Also, all the AO objects have been imported/exported with Wings3D, and I see no problem for them... (I did that because I had to rename them with -uv2 at the end, in order S3D can import both diffuse and AO obj at the same time ; If I rename directly the files, it doesn't work). And rudder and propeller have been imported/exported as well, because I needed to change their rotation axis. |
|
01-18-22, 08:30 AM | #139 | ||
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Yes, in most cases they can, though at some point it might be more convenient making the changes directly in Blender.
Before I go into details on how a simple Wings3D import/export cycle can mess up a pair of UV1/UV2 obj files, and how we can fix the mismatches, I recommend you to get some theory on obj file architecture. Please read carefully the following post by me and report back if any point is not perfectly clear to you: https://www.subsim.com/radioroom/sho...75#post2786275 Quote:
Quote:
mtllib *_AO.mtl to: mtllib *_UV2.mtl |
||
01-18-22, 09:12 AM | #140 | ||
Grey Wolf
|
Quote:
Quote:
Edit : This solved the issue on the funnel. Last edited by Mister_M; 01-18-22 at 09:25 AM. |
||
01-18-22, 11:27 AM | #141 | ||
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Quote:
Quote:
- different number/order of texture vertices (vt lines) in the UV2 model compared to the main model. - different order of face definitions (f lines) in the UV2 model compared to the main model. What I can tell you for sure is that if the main and the UV2 model are identical in all the respects except vt coordinate values, there is a 100% probability of success. With this idea in mind I have created an Excel spreadsheet which sorts vt coordinates for us. It is a rather crude tool, it requires a lot of manual data filtering, cutting and pasting; any mistake will cause wrong results, but if used correctly it does its job just fine. If you are interested into testing it, I can upload it somewhere and post its link in the Almagest thread where it belongs more than here. Sorry kapuhy for kidnapping one of your threads again |
||
01-18-22, 12:13 PM | #142 |
Grey Wolf
|
EDIT. I've posted this into the Almagest thread. Sorry Kapuhy for hijaking your thread.
By the way, I love your small tramp steamer "Armora", both for 3D model and texture. It's very clean without being too heavy. Great work ! |
01-28-22, 05:25 AM | #143 |
Weps
Join Date: Nov 2020
Posts: 353
Downloads: 24
Uploads: 0
|
|
01-28-22, 03:41 PM | #144 |
Grey Wolf
|
|
01-28-22, 05:42 PM | #145 |
Grey Wolf
Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
nice progress, it might turn out it will be available for SH3 sooner than SH5
|
01-28-22, 06:42 PM | #146 |
Silent Hunter
|
Such a beautiful steamer! The pic of it sinking makes me feel bad.
__________________
https://www.facebook.com/WolvesoftheKaiser/ |
01-31-22, 01:05 PM | #147 | |
Grey Wolf
Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
Quote:
If game checked positions of bones against damaged box, I expected only effect B2 to play, but instead both played out as soon as damage to Z2 box exceeded 40% requied for L1 effects to play. So no, it appears game only uses positions of fx bones to anchor their effects in 3d space, not to decide which ones to play out. Also, making multiple boxes for single parent fx bone does not make game "divide" effects between boxes - all effects will play out as soon as one box sustains enough damage to trigger them. |
|
02-02-22, 01:18 PM | #148 | |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Quote:
If I got you correctly: - damage boxes tell the game where to hit for triggering certain damage effects; - damage zones (assigned to various boxes) decide which effects should be played and at which level of damage; - FX bones determine position/orientation of the played effects. In other words (correct me if I am wrong): - if a box located let's say near the bow gets assigned a zone with a fire effect among its effects; - if that box is damaged beyond the level which triggers the fire effect; - if "fire bones" are equally distributed along the ship: the whole ship will be set on fire, not only her bow. On a side note, I think it is legitimate assuming that if no fx bones are found for a given effect, the effect will originate (only) from the center of the damaged box triggering it. E.g. in stock games aircraft have no FX file assigned; if an engine nacelle is damaged, we can expect a black smoke trail to originate from there and only from there |
|
02-02-22, 03:49 PM | #149 | |||||
Grey Wolf
Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
Quote:
Quote:
Here's how this zone is defined: Quote:
FX_LX_Dummy_Y where X is either 1,2 or 3 and Y is I guess like bone's index number. So the zone definition basically says: "play all effects that are assigned to L1 bones at 40% damage", then "play all effects assigned to L1 and L2 bones at 60% damage" and so on. You can asssign any FX effect to any "child" bone so nothing stops you from having fire, explosion, and lets say water splash all assigned to different "FX_L1" bones in FX file - and they will all play when damage reaches 40%, as long as their bones have "FX_L1" in their name Yes. Quote:
Quote:
Overall - I think the FX files in SH5 are very under-utilized at the moment, and with some creativity you could do basically any combination of effects trigger whenever and wherever you wish, it would just require creating more zones that use FX file and more variations of FX bone names. At its heart though, entire FX file is just a fancy way to have effects trigger in different places than center of the box. |
|||||
02-03-22, 02:45 PM | #150 |
Village Idiot
|
Very good post on the FX files.
Now that people can understand how they work? Think of the crazy stuff one could possibly do! Say a panicked Crew man jumps off the ship at the Bow when torpedoed at the Stern and such. |
|
|