![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#16 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
The Event Camera stuff is triggered by StateMachine controllers.
The Death Event is triggered in this file: GraphHitPointsAll.dat Number 11, if I recall right, is Death. That sends you to the screen you see. It's nothing more then a Camera Path using BezierWaypoints and Target Controllers to fly past the Sub as rendered in Game. I would suspect that there is no way to have this point at a seperate animation/image as it may be a Hard Coded instruction. As i said, I Suspect. That does not mean it can not be done. It just means I can not tell you how to change it. As I never looked that close at this issue. |
![]() |
![]() |
#17 | |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]()
[QUOTE=privateer
As i said, I Suspect. That does not mean it can not be done. It just means I can not tell you how to change it. As I never looked that close at this issue.[/QUOTE] Thank a lot privateer every bit of help is deeply appreciated i will look at that later since now i am struggling with sh3 who playing trick on me at one moment i open sh3 and it behave differently each time i reopen it i am very confused right now since each time i import my model sh3 it does a different think. I think the image and video will have to wait until i managed to make my lightmap work there is so much confusion around the import/export and uvw channels that i swear i will write a complete, concise,clear and definitive tutorial so nobody have to fight with the software like i am doing right now. I truly suspect file corruption in import process but i cannot pin point at what stage it occurring... I even download Flakmonkey TypIIA lightmap to compare files and mine are identical to is tree nodes, so right now i am turning around to understand what is wrong. And i think that in the thread of the ambient occlusion tutorial there is part of my answer but i think Skwasjer is not available to answer anymore. The thread say : Does the 2nd map channel in S3D show you the correct uv map in the preview window? It sounds like the uv coordinates aren't right. If they are right though, then I'd like to have a look at the .dat. Quote:
Regards Hans, |
|
![]() |
![]() |
![]() |
#18 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
I had troubles with importing models today myself.
![]() A face kept showing up inverted in S3D and in Game. But other programs, 3D Max included, showed it as fine. I finally detached the whole area and welded a few verts. then re-imported everything and the problem was solved. SH4 uses the UnifiedRender Controller. Not Sh3. |
![]() |
![]() |
#19 | |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]() Quote:
I am totally lost again with the lightmap and what make me angry is that i don't know wich software is at fault ![]() When you are perfectionist it is sometime more a plague than a gift believe me! I uninstalled and reinstalled sh3 but the same problem is occurring again. Regards Hans, |
|
![]() |
![]() |
![]() |
#20 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
In 3D Max (or any 3D program)
check that the UV mapping shows in the window when unwrapped. Sometimes the UV mapping gets shifted and won't work right in Game or S3D. I have had to move the mapping up into the window then export from Max to correct this. I can do screen shots if you need to understand what I mean. |
![]() |
![]() |
#21 | |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]() Quote:
I have reinstall old max version to see if the old obj exporter work better and again same damn problem, it is getting on my nerve seriously now. I will try something else tonight but i am getting tired ouff. Regards Hans, |
|
![]() |
![]() |
![]() |
#22 | |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]()
The general structure of a DAT-file is:
Code:
- material - (optional) embedded image - texture map (set to: Ambient Occlusion) - (optional) embedded image - root node - model - label (name of node/model) - controllers (f.ex. UnifiedRenderControler) - subnodes For the AO-map, when using Max, you must ensure you use the correct import function (import UVW-file for AO-map, instead of extra OBJ-files). Obviously, you must have exported the UVW-file from Max. So you have: - model.OBJ (main model) - model-uv2.UVW (AO-map) The extra channels 3, 4 can be forgotten. The game does not use them, and they are left overs from the devs (iow. channels they used during design of the models). If you have an AO-map, you must have the UnifiedRenderControler. Again, check existing DAT-files on where to place the controller. It should be a child of the root-node, and placed before any subnodes, but after the label/model. Last, the order of each chunk is very important (a treenode = chunk). The order is indicated by the number in the name (and seen at the top of each chunk-page). You can move chunks up/down in this order using the green arrows. Again, check existing DAT-files (or reuse them) for the correct order. Quote:
[edit] Final note: before importing an OBJ-file, you MUST have set up the DAT-file with all the materials (use the same name or order as in Max), and have those materials assigned to the node that 'hosts' the model-chunk (the one you import into). If not done, the import may succeed, but will not yield correct rendering in most cases. Hope this helps, skwas
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
![]() |
![]() |
![]() |
#23 | |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]() Quote:
Do you mean that if i have put additional uvw channel in max ex; 3,4,5,6 the game won't be able to see them or you mean they where just leftover from the developers? Thank you are helping me greatly once i will grasp most of the important concept i won't be asking much questions. Regards Hans |
|
![]() |
![]() |
![]() |
#24 | |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]() Quote:
On this one i look extensively in nodes tree and for Silent hunter 3 i don't see any UnifiedRenderControler, i just load Flakmonkey lightmap for TypeIIA DAT files and his AO are working fine without having any UnifiedRenderControler in it, so i am now perplex on this one? Maybe you are talking about Silent hunter 4 am i right? I am feeding on your precious infos! Regards Hans, |
|
![]() |
![]() |
![]() |
#25 | |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]() Quote:
channel 1: diffuse map channel 2: AO-map If you bake your lightmap in Max to channel 6, export it to -uv2.UVW. How you work in Max and what channels you use is of no relevance to S3D/game. In SH4 (don't know about SH3), you sometimes see in DAT extra channels too: 3, 4. These are what I mentioned 'left overs from the devs'. The game only knows about 2 channels.
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
![]() |
![]() |
![]() |
#26 | |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]() Quote:
All I can say is, most commonly, the problem is with incorrect chunk order, the model was not imported correctly (DAT-materials not set up properly prior to import) or the UnifiedRenderControler is missing or incorrectly setup. So you should try verifying this. [edit] CORRECTION, I misread your question: interiors do NOT have the UnifiedRenderControler (neither in SH4), this is reserved for external models/units. Instead, for interiors you must have an InteriorIllumination-controller for the lightmap to work afaik! Perhaps all a bit confusing yes, since I generally talk about SH4, but most info applies to SH3 as well. Hope this helps.
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
![]() |
![]() |
![]() |
#27 | |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]() Quote:
For the Turm2A_1_conning ext_high i even have 3 different uv layout total and all show up fine in your editor and in game, so if the game can only have 2 channel usable why my 3 channels are all working fine? Maybe it is because we both are trying to communicate in our non native language ![]() But i sincerely appreciated your time and effort to help me out. Regards Hans, |
|
![]() |
![]() |
![]() |
#28 | |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]() Quote:
Yes you are helping me a lot believe me i have work almost 12 to 15 hours a day since the last 3 weeks on this project because i am recovering from surgery. And so far i did wonder with that first TypeIIA i am very happy with the result it is totally historically accurate the only part i couldn't touch was the height of the Conning tower floor because i don't think it is possible to found the node for crew members position on CT floor i did search a bit but i think it is hardcoded maybe. Regards Hans, |
|
![]() |
![]() |
![]() |
#29 | |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]() Quote:
Texture size is irrelevant, you are talking about different materials applied to one model, but they all still use map channel 1 for the diffuse uv-map. That's why S3D and the game show it correctly. Again, for the lightmap you can also have it use multiple textures (multiple materials), but they all should use the same map channel (2 in the case of S3D/game)
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
![]() |
![]() |
![]() |
#30 | |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]() Quote:
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
![]() |
![]() |
![]() |
|
|