SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-26-10, 10:20 AM   #1
Mithrandir
Bosun
 
Join Date: Sep 2002
Location: Roma, Italia
Posts: 64
Downloads: 199
Uploads: 0
Default

So FINALLY I discovered the cause of the problem.
Both the Player SUB and the AI subs use the same GR2 file (merged in the *.ptr file) for torpedo doors. This file is included in the Sub parts directory in the player's sub folder.
This file has the following name: "Room_EXT - Torp Doors + Anim.GR2".
Copying this file in another directory and renaming it and modifying the reference in the AI sub prt file does not solve the problem but removing the merging in the prt file does. In this case the AI subs will no more have torpedo doors but the player's sub will keep the animations.
May I ask to the other modders some idea to solve better the problem? I think that I should change the ID (exadecimal?) for the torp doors in the AI subs but I cannot understand how to do this. Help, please!

Bye,
Mith
Mithrandir is offline   Reply With Quote
Old 05-26-10, 10:25 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Mithrandir View Post
So FINALLY I discovered the cause of the problem.
Both the Player SUB and the AI subs use the same GR2 file (merged in the *.ptr file) for torpedo doors. This file is included in the Sub parts directory in the player's sub folder.
This file has the following name: "Room_EXT - Torp Doors + Anim.GR2".
Copying this file in another directory and renaming it and modifying the reference in the AI sub prt file does not solve the problem but removing the merging in the prt file does. In this case the AI subs will no more have torpedo doors but the player's sub will keep the animations.
May I ask to the other modders some idea to solve better the problem? I think that I should change the ID (exadecimal?) for the torp doors in the AI subs but I cannot understand how to do this. Help, please!

Bye,
Mith
the torpedo doors are a child of the main object and thus there is no problem with sharing it.
TheDarkWraith is offline   Reply With Quote
Old 05-26-10, 11:03 AM   #3
Mithrandir
Bosun
 
Join Date: Sep 2002
Location: Roma, Italia
Posts: 64
Downloads: 199
Uploads: 0
Default

This seems not to be true.
In the Goblin Editor I see that the torpedo doors are merged to the Sub_Hull. If I remove the merging in the AI subs (so no more link to torpedo doors) the animations in the player sub work again.
If I re-add the merging in the same type AI sub the animations does not work anymore but only when you start a mission in which there is the same sub type as AI sub.
This is a clear indication that the problem is here. I think there should be some kind of unique identifier for the animations that causes the problem. Let's try it!
I think we shall find a way to clone the file for the doors like was done for SH3/4.

Bye,
Mith
Mithrandir is offline   Reply With Quote
Old 05-26-10, 11:10 AM   #4
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

I wish you luck on this project Mithrandir. I also hope you release a mod for this if you get it working.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 05-26-10, 11:57 AM   #5
DerMo
Sailor man
 
Join Date: Mar 2010
Posts: 49
Downloads: 71
Uploads: 0
Default

I can only tell about the VIIc,all fine here,tubes working correct after patch.Maybe they forgot to fix that on the VIIb?
DerMo is offline   Reply With Quote
Old 05-26-10, 12:55 PM   #6
Mithrandir
Bosun
 
Join Date: Sep 2002
Location: Roma, Italia
Posts: 64
Downloads: 199
Uploads: 0
Default

The problem is only if you encounter an AI sub of the same type. So if you are in a VIIA or VIIC and encounter a VIIB you have not this problem. I assure you that it happens also with the type VIIC in the right situation!

Bye,
Mith
Mithrandir is offline   Reply With Quote
Old 05-26-10, 03:47 PM   #7
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I've got the PM's and E-mails on this issue.
After a quick look here's what I know.

All animations for tube doors for subs use the same names in the sim files.
So if your in a VIIB and and AI VIIB is near?
Yes, there are going to be problems!
Nice spotting by the way!


I'll look closer at this for a possible easy fix.

Regards all!
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:19 PM.


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