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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-11-07, 10:29 PM   #1
nvdrifter
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Racerboy
I don't mean to trample on anyone's toes if this has been answered before but:

in \data\Library there is a file called cameras.dat. If you open it up in a hex editor and search for Dummy_Cam_Periscope you will find:

00002ECD 44 75 6D 6D 79 5F 43 61 6D 5F 50 65 72 69 73 63 Dummy_Cam_Perisc
00002EDD 6F 70 65 00 0A 00 00 00 FF FF FF FF 1D 00 00 00 ope.............
00002EED C6 0E 84 2F 3D C8 FB A0 62 C7 EE 1A 13 37 43 5C .../=...b....7C\
00002EFD 00 43 61 6D 55 73 65 72 44 61 74 61 00 06 00 00 .CamUserData....
00002F0D 00 00 00 00 00 4A 00 00 00 C6 0E 84 2F 3D C8 FB .....J....../=..
00002F1D A0 00 00 00 00 00 00 00 00 36 00 00 00 32 00 00 .........6...2..
00002F2D 00 43 61 6D 55 73 65 72 44 61 74 61 00 0B 00 00 .CamUserData....
00002F3D 00 43 61 6D 65 72 61 00 02 00 00 00 13 00 00 00 .Camera.........
00002F4D 50 72 65 76 69 6F 75 73 43 61 6D 65 72 61 00 02 PreviousCamera..
00002F5D 00 00 00 0A 00 00 00 FF FF FF FF 1F 00 00 00 52 ...............R
00002F6D D8 44 21 11 81 0F 77 62 C7 EE 1A 13 37 43 5C 00 .D!...wb....7C\.
00002F7D 43 61 6D 65 72 61 45 66 66 65 63 74 73 00 06 00 CameraEffects...
00002F8D 00 00 00 00 00 00 60 00 00 00 52 D8 44 21 11 81 ......`...R.D!..
00002F9D 0F 77 00 00 00 00 00 00 00 00 4C 00 00 00 48 00 .w........L...H.
00002FAD 00 00 43 61 6D 65 72 61 45 66 66 65 63 74 73 00 ..CameraEffects.
00002FBD 12 00 00 00 44 72 6F 70 73 44 75 72 61 74 69 6F ....DropsDuratio
00002FCD 6E 00 00 00 80 40 11 00 00 00 42 6C 75 72 44 75 n....@....BlurDu
00002FDD 72 61 74 69 6F 6E 00 00 00 40 40 0B 00 00 00 52 ration...@@....R
00002FED 61 64 69 75 73 00 8F C2 F5 3C adius....<

00008040 = How long in seconds (currently set to 4) the drops hang around (float32 value)
00004040 = Blur duration. How long the image is blurred. In seconds (currently set to 3 - once again a float32 value)
8FC2F53C = Radius (circle size?). This is a float32 value also.


will apply to obs_Periscope also.


Hey, damn good find.
  Reply With Quote
Old 12-11-07, 10:34 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

[quote=nvdrifter]
Quote:
Originally Posted by Racerboy
Hey, damn good find.
I mod SH3 but SH4's files are SH3 files beefed up. Any questions look me up
TheDarkWraith is offline   Reply With Quote
Old 12-11-07, 10:37 PM   #3
nvdrifter
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

[quote=Racerboy]
Quote:
Originally Posted by nvdrifter
Quote:
Originally Posted by Racerboy
Hey, damn good find.
I mod SH3 but SH4's files are SH3 files beefed up. Any questions look me up
Ok, I have a question. I noticed you know how to link up new sounds to triggers and stuff through hex editing. Do you think you can fix the missing voices, such 'Destroyer in Attack Run', and 'Depth Charges in the Water'? I have tried to link them all together, but I can't find the .dsd trigger files for those voices. I tried the voices .dat files, but they are hard-coded. Please help is you can.
  Reply With Quote
Old 12-11-07, 10:42 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

[quote=nvdrifter]
Quote:
Originally Posted by Racerboy
Quote:
Originally Posted by nvdrifter
Quote:
Originally Posted by Racerboy
Hey, damn good find.
I mod SH3 but SH4's files are SH3 files beefed up. Any questions look me up
Ok, I have a question. I noticed you know how to link up new sounds to triggers and stuff through hex editing. Do you think you can fix the missing voices, such 'Destroyer in Attack Run', and 'Depth Charges in the Water'? I have tried to link them all together, but I can't find the .dsd trigger files for those voices. I tried the voices .dat files, but they are hard-coded. Please help is you can.
the voices will come from \data\Sound\Speech. They are .ogg files. Give me sec, I'll take a look at something. Have you checked to see if there is an .ogg file for the voices you say are missing?

depth charges in the water appear at \data\sound\speech\1
destroyer in attack run appear in all 9 folders :hmm:

Let me think about this one. PM me so we don't hijack this thread

Sorry about hijacking the thread temporarily!
TheDarkWraith is offline   Reply With Quote
Old 12-11-07, 10:49 PM   #5
nvdrifter
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

[quote=Racerboy]
Quote:
Originally Posted by nvdrifter
Quote:
Originally Posted by Racerboy
Quote:
Originally Posted by nvdrifter
Quote:
Originally Posted by Racerboy
Hey, damn good find.
I mod SH3 but SH4's files are SH3 files beefed up. Any questions look me up
Ok, I have a question. I noticed you know how to link up new sounds to triggers and stuff through hex editing. Do you think you can fix the missing voices, such 'Destroyer in Attack Run', and 'Depth Charges in the Water'? I have tried to link them all together, but I can't find the .dsd trigger files for those voices. I tried the voices .dat files, but they are hard-coded. Please help is you can.
the voices will come from \data\Sound\Speech. They are .ogg files. Give me sec, I'll take a look at something. Have you checked to see if there is an .ogg file for the voices you say are missing?
Thank for helping. Yes, the .ogg voice files are there. I have tried everything, but couldn't get the voices to play when needed. I am worried that the voices were disabled in the sound.act file (which is hardcoded). Me, Ducimus, and others have been trying to find the files that trigger those voices, but no luck yet. Any ideas?
  Reply With Quote
Old 12-11-07, 10:52 PM   #6
nvdrifter
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Maybe we can continue our conversation in this thread: http://www.subsim.com/radioroom/showthread.php?t=126370
  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:27 AM.


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.