SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [req] SO: Depth charges in the water! (https://www.subsim.com/radioroom/showthread.php?t=120542)

Ducimus 08-17-07 01:22 AM

[req] SO: Depth charges in the water!
 
SO: Depth charges in the water!

Has anyone been able to get this to work? I can't, but i'll keep trying. This is like.. a major pet peeve of mine. Total immersion breaker.

leovampire 08-17-07 01:45 AM

look in Library under Phrases
 
the controls for what they say is there in the dat files.

Ducimus 08-17-07 01:51 AM

Well ya the phrases exist in those dat files, but im not entirely sure what to do with them. Ive never edited a "control" so im not sure what to do with that.

This much i know:
/data/cfg/Message_SO.cfg

Code:

[Msg0]
MsgId=0
Priority=3
Timeout=20
Param0=1
MsgOgg00=Depth_charges_in_the_water_sir
;SoM_P_Depth_charges_in_the_water_sir.ogg

[Msg1]
MsgId=1
Priority=4
Timeout=20
Param0=1
MsgOgg00=Contact
;SoM_K_Contact.ogg
Param1=3
MsgOgg10=Type_unknown
;SoM_K_Type_unknown.ogg
MsgOgg11=Warship
;SoM_K_Warship.ogg
MsgOgg12=Merchant
;SoM_K_Merchant.ogg
Param2=3
MsgOgg20=Constant_distance
;SoM_K_Constant_distance.ogg
MsgOgg21=Closing
;SoM_K_Closing.ogg
MsgOgg22=Moving_away
;SoM_K_Moving_away.ogg
Param3=1
MsgOgg30=Bearing
;SoM_K_Bearing.ogg
Param4=1
MsgOgg40=0
;Number -> always put 0
Param5=3
MsgOgg50=Short_range
;SoM_K_Short_range.ogg
MsgOgg51=Medium_range
;SoM_K_Medium_range.ogg
MsgOgg52=Long_range
;SoM_K_Long_range.ogg

[Msg2]
MsgId=2
Priority=3
Timeout=20
Param0=1
MsgOgg00=Enemy_is_pinging_us_sir

[Msg3]
MsgId=3
Priority=3
Timeout=20
Param0=1
MsgOgg00=Enemy_ship_engaging_us_sir

[Msg4]
MsgId=4
Priority=3
Timeout=20
Param0=1
MsgOgg00=Destroyer_in_attack_run

[Msg5]
MsgId=5
Priority=5
Timeout=20
Param0=2
MsgOgg00=Warship
MsgOgg01=Merchant
Param1=3
MsgOgg10=Constant_distance
MsgOgg11=Closing
MsgOgg12=Moving_away
Param2=1
MsgOgg20=Bearing
Param3=1
MsgOgg30=0;Number -> always put 0

[Msg6]
MsgId=6
Priority=5
Timeout=20
Param0=2
MsgOgg00=Warship
MsgOgg01=Merchant
Param1=1
MsgOgg10=Bearing
Param2=1
MsgOgg20=0;Number -> always put 0
Param3=3
MsgOgg30=Constant_distance
MsgOgg31=Closing
MsgOgg32=Moving_away

ive tried experimenting with that, and no dice.

leovampire 08-17-07 02:02 AM

there is also a corilation between that and the
 
menu 1024 768 file configurations I beleve and menu txt file as well

Ducimus 08-17-07 02:11 AM

Acutally, let me back up, heres the files that i beleive are involved in this seemingly simple message:

-----------------------------
/data/menu/menu.txt
Quote:

602=We're under attack, sir!
603=Depth charges in the water, sir!
604=We're taking damage, sir!
This is the text message thats supposed to appear in the txt window.

--------------------------------

/data/cfg/Message_SO.cfg

Quote:

[Msg0]
MsgId=0
Priority=3
Timeout=20
Param0=1
MsgOgg00=Depth_charges_in_the_water_sir
;SoM_P_Depth_charges_in_the_water_sir.ogg
Assigns various parameters. Some of which im not sure how they work. Only real way to figure that one out, is to compare them to other message.cfg files.

------------------------------

Data\Library\Phrases\Phrasees_voice*.dat


Theres 9 of these files, im assuming one, correspeonding to each of the 9 different voices. As Leo stated, the dat files containing controls.


-----------------------------------

Data\Sound\Speech

with directories number 1 through 9.

In each directory you should find 3 iterations of "depth charges in the water", each iteration reflecting state.

Normal:
SoM_K_Depth_charges_in_the_water_sir.ogg

Panic:
SoM_P_Depth_charges_in_the_water_sir.ogg

Silent:
SoM_S_Depth_charges_in_the_water_sir.ogg

------------------------------------------


Another file that i thought might relate, but looks like its turning out to be a dead end is:
\Data\Cfg\Sensor.cfg

In particular :
Quote:

Hydrophone speed factor=0.5 ;[>=0]
Hydrophone noise factor=0.5 ;[>=0]
Hydrophone speed factor is, in this case, means, "must be going this speed (in kts) or faster in order to be audible."

Noisefactor, im assuming means, "must be this loud in order to be audible on hydrophones"

My thought was, if the spash of a depth charge makes a signal less then these values, then the SO isn't going to hear it, therego wont report it. zeroing these values out, yeilded no results, so im thinking this file is a dead end.



That means, its probably in the messages.cfg file, but most likely in the dat file since were not even getting the text message, but again, i don't know what to do with a controller.

Ducimus 08-17-07 02:17 AM

I need a freaking hex editor, and not Hex workshop because its only a free trial which expired ages ago, so reinstalling it doesnt do me any good.

leovampire 08-17-07 02:25 AM

D check your P.M.
 
asked you a question

Misfit138 08-17-07 02:55 AM

A little OT but still same kind of area

Has this from Message_RA.cfg ever worked
Code:

MsgOgg01=Multiple_contacts
;RaM_P_Multiple_contacts.ogg

This kind of thing would be pretty great with the sonar man and the watch crew. Getting a bit tired of hearing that "Ship spotted etc. etc." a million times every time I intercept a convoy...

aanker 08-17-07 02:52 PM

Quote:

Originally Posted by Ducimus
I need a freaking hex editor, and not Hex workshop because its only a free trial which expired ages ago, so reinstalling it doesnt do me any good.

If you are serious, I use Frhed:
http://www.kibria.de/frhed.html

It works great and it is free.

Art

Digital_Trucker 08-17-07 03:15 PM

The free version of HHD isn't bad either.

http://www.hhdsoftware.com/Family/hex-editor.html

LukeFF 08-17-07 05:21 PM

Quote:

Originally Posted by Misfit138
Has this from Message_RA.cfg ever worked
Code:

MsgOgg01=Multiple_contacts
;RaM_P_Multiple_contacts.ogg

This kind of thing would be pretty great with the sonar man and the watch crew. Getting a bit tired of hearing that "Ship spotted etc. etc." a million times every time I intercept a convoy...

There are a LOT of unused voice files that would do the game good, but that's the price paid for a short development time.

leovampire 08-17-07 05:24 PM

the question is how do you get it all working?
 
Without pulling your hair out figuring it all out!

Ducimus 08-17-07 05:30 PM

I dunno, i went to bed after i made this post and one experiemnt. I reinstalled SH3, and pulled the voice dats from it, using it in Sh4. The Worked fine, no problem, alight granted there was some audible damage reports missing, and probably tubes 7 through 10.. Right away i noticed the crew didnt seem to be whispering when an enemy was detected, but the point of this experiment was to use a version of these files where "DC in the water" was known to work - it still didn't.

leovampire 08-17-07 05:55 PM

okay change the SO notepad file to this it should work fine
 
[Msg0]
MsgId=0
Priority=4
Timeout=20
Param0=1
MsgOgg00=Contact
;SoM_K_Contact.ogg
Param1=3
MsgOgg10=Type_unknown
;SoM_K_Type_unknown.ogg
MsgOgg11=Warship
;SoM_K_Warship.ogg
MsgOgg12=Merchant
;SoM_K_Merchant.ogg
Param2=3
MsgOgg20=Constant_distance
;SoM_K_Constant_distance.ogg
MsgOgg21=Closing
;SoM_K_Closing.ogg
MsgOgg22=Moving_away
;SoM_K_Moving_away.ogg
Param3=1
MsgOgg30=Bearing
;SoM_K_Bearing.ogg
Param4=1
MsgOgg40=0
;Number -> always put 0
Param5=3
MsgOgg50=Short_range
;SoM_K_Short_range.ogg
MsgOgg51=Medium_range
;SoM_K_Medium_range.ogg
MsgOgg52=Long_range
;SoM_K_Long_range.ogg

[Msg1]
MsgId=1
Priority=2
Timeout=20
Param0=1
MsgOgg00=Depth_charges_in_the_water_sir
;SoM_P_Depth_charges_in_the_water_sir.ogg

[Msg2]
MsgId=2
Priority=3
Timeout=20
Param0=1
MsgOgg00=Enemy_is_pinging_us_sir

[Msg3]
MsgId=3
Priority=3
Timeout=20
Param0=1
MsgOgg00=Enemy_ship_engaging_us_sir

[Msg4]
MsgId=4
Priority=3
Timeout=20
Param0=1
MsgOgg00=Destroyer_in_attack_run

[Msg5]
MsgId=5
Priority=5
Timeout=20
Param0=2
MsgOgg00=Warship
MsgOgg01=Merchant
Param1=3
MsgOgg10=Constant_distance
MsgOgg11=Closing
MsgOgg12=Moving_away
Param2=1
MsgOgg20=Bearing
Param3=1
MsgOgg30=0;Number -> always put 0

[Msg6]
MsgId=6
Priority=5
Timeout=20
Param0=2
MsgOgg00=Warship
MsgOgg01=Merchant
Param1=1
MsgOgg10=Bearing
Param2=1
MsgOgg20=0;Number -> always put 0
Param3=3
MsgOgg30=Constant_distance
MsgOgg31=Closing
MsgOgg32=Moving_away

okay leave the highlighted entry in my tester just confirmed he did what I first posted
and it worked out just fine but change the priority to 2 not 3

CaptainCox 08-18-07 12:19 PM

WOW! Way cool! Leo you are just in the ZONE! at the mo with this game. CUDOS!:up:


All times are GMT -5. The time now is 04: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.