![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
01-13-14, 11:56 AM
|
#1 | ||
|
Grey Wolf
![]() Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
|
Quote:
Not at game computer at the moment. Adding or fixing broken dialogue that is not for sub operations is what I am doing. You saved me some work doing this mod. I was up for the challenge but RL wins, too.Generally speaking, the PD_YY_CHARACTER_xxx.ogg and SR_YY_CHARACTER_xxx.ogg files are the conversational dialogues that I will direct my attention to. May fix scripts in Data\Scripts\AI or subfolders or data\Campaigns\CampaignProjects\<CampaignName>\Scr ipts\AI\Dialogs. Example: Hackl and Bosun either talking about the book or cut violin strings dialogue. Chief talking about sick wife, Greta. Quote:
There are *aix files in the Data\Scripts\AI\Dialogs_Default. Using the file DT_Bosun_all.aix as an example, there are lines like "RootDialog_BOSUN_NoCampaign_1066". Does the 1066 number represent the different campaigns such as black pit, operation drumbeat, or total Germany, etc.? Is the 1066 number referenced from another filename that I haven't found yet? The ubisoft *.doc help texts did not help much for me.
__________________
JSGME help links and common error solutions Last edited by Mikemike47; 01-22-14 at 06:22 PM. Reason: Text/folder correction |
||
|
|
01-13-14, 12:42 PM
|
#2 |
|
A-ganger
![]() Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
|
No, that number is not referenced anywhere. Only the script file that it's inside uses it. For example NoCampaign_1066 in DT_Bosun_all.aix is used only in that file. Furthermore, it is used only by the "strategy" in which it's placed. Look at this example:
Code:
strategy DialogTitle_RootDialog_BOSUN_NoCampaign_1066(Dialog)
{
strategies
{
DialogTitle_RootDialog_BOSUN_NoCampaign_1066_Init
}
}
strategy DialogTitle_RootDialog_BOSUN_NoCampaign_1066_Init(Dialog)
{
precond
{
Dialog:GetCurrentCrewState() == 0 and Dialog:IsTutorialMission() == 0
}
action
{
Dialog:SetDialogTitle( "Text_Dialog_1067" );
Dialog:PlaySound( "Bosun_slash_", "CGSQ_BOSUN_01", 0 );
Dialog:ClearRandomLines( "generic_exits" );
Dialog:AddRandomLine( "generic_exits", "gexit_1" );
Dialog:AddRandomLine( "generic_exits", "gexit_2" );
}
}
If you scroll down, you will notice lines like this one: # sh5 dialog tool - start new dialog # These are used to create a new dialog, and a list of strategies go below it. But since it is a separate dialog, you can use the same number as in the previous example (1066), it will work perfectly fine, because each new dialog reads only its own strategies. So yeah... that number has no significance outside the file it's inside nor even outside its dialog block. Also, to my understanding the phrase "NoCampaign" indicates that the dialog line will appear no matter the campaign (even in historical missions). Where did you find those help files? Last edited by archer9; 01-13-14 at 01:04 PM. |
|
|
01-13-14, 06:17 PM
|
#3 | |
|
Grey Wolf
![]() Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
|
Quote:
Nice to know that the #s have no significant importance outside the scripts. Is "generic_exits" called out in some function in some other file elsewhere? Just one more of those things just used in these scripts? Quick Start - CrewAI.docx and Crew Strategies Help.docx files in data\Scripts\AI\Crew folder. If you make another version of this mod, it would be nice to move the prepare weather report back to the orders to navigator under the WO (watch officer). As long as you and others do not mind. It may give me flexibility for general dialogue of WO in the future. If you are going to look into the **.aix files in data\Scripts\AI\Dialogs_Default someday, some changes need to be made. DT_XO_all.aix Search for "MC_TRF_LOAD01_58" and change to "MC_CR_SO_102" DT_Radio_all.aix Search for "MC_TRF_LOAD01_58" and change to "MC_RR_RADIO_80" I can inform you of any other errors when I find them if you wish, let me know. I all ready made the changes to [wip] voices reloaded mod. Additionally, dialogue for general sub commands are in the MC_YY_CHARACTER_xxx.og. General pleasantries like Jawohl Herr Kaleun and Yes Lieutenant are in the format CG_YY_CHARACTER_xxx.ogg. General conversational dialogue for [wip] voices reloaded has formats of TM_YY_CHARACTER_xxx.ogg or TTM_YY_CHARACTER_xxx.ogg, too.
__________________
JSGME help links and common error solutions Last edited by Mikemike47; 01-13-14 at 06:38 PM. |
|
|
|
01-13-14, 07:19 PM
|
#4 | |
|
A-ganger
![]() Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
|
Quote:
I'm not sure about moving the weather report back, though. I did this for role-playing reasons - I don't want to ask a guy who sits below for weather. I'll think more about this after I get some sleep. I will look into those changes for the .aix files. |
|
|
|
01-13-14, 08:52 PM
|
#5 | |
|
Grey Wolf
![]() Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
|
Quote:
variable intitialized in init.aix, x=2 in data\Scripts\AI\Dialogs_Default. Any ideas why? Same goes for init.aix in data\Campaigns\CampaignProjects\<CampaignName>\Scr ipts\AI\Dialogs.
__________________
JSGME help links and common error solutions |
|
|
|
01-14-14, 05:47 AM
|
#6 |
|
A-ganger
![]() Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
|
Nope, no idea what that variable is for. But I have some big announcement - I managed to get Report nearest visual command working through dialog! This means I will probably add in a whole bunch of essential commands that didn't work previously in the next update.
|
|
|
01-14-14, 06:27 AM
|
#7 |
|
Sea Lord
![]() Join Date: Mar 2007
Posts: 1,898
Downloads: 172
Uploads: 0
|
|
|
|
01-14-14, 09:44 PM
|
#8 | |
|
Grey Wolf
![]() Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
|
Quote:
Should be: DT_XO_all.aix Search for "TorpedoMan_slash_", "MC_TRF_LOAD01_58" and change to "ExecutiveOfficer_slash_", "MC_CR_SO_102" Just in case you change this file in future: DT_Radio_all.aix Search for "TorpedoMan_slash_", "MC_TRF_LOAD01_58" and change to "RadioMan_slash_", "MC_RR_RADIO_80"
__________________
JSGME help links and common error solutions |
|
|
|
01-15-14, 03:08 AM
|
#9 |
|
A-ganger
![]() Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
|
Ups, sorry, totally forgot to edit those lines!
|
|
|
01-15-14, 04:26 AM
|
#10 |
|
Ace of the deep .
|
Is what your looking for in the
Silent Hunter 5\MODS\NewUIs_TDC_7_4_2_ByTheDarkWraith\data\Scrip ts\Menu\TheDarkWraithAutomation ? I mean any hints in that file . |
|
|
01-15-14, 04:41 AM
|
#11 |
|
A-ganger
![]() Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
|
Yes, I was just looking through that same file and there is this line at the bottom of it:
,[ "Report_position_celestial", AutomationRealNavReportPositionCelestial ] There is also this line in Data/Automation/TDW_Automation.txt: ; Report_position_celestial,0,0,0,0,0,0,t But it is commented out for some reason, like the rest of the lines in that file. Anyway, TDW apparently uses his own commands through his own scripting. I tried simply adding an entry of 'Report_position_celestial' into commands.cfg but it's obviously not that simple because it didn't work in the game. For now I'm stumped. |
|
|
01-22-14, 06:15 PM
|
#12 | ||
|
Grey Wolf
![]() Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
|
Quote:
Quote:
Thanks sober! I probably read sober's thread and forgot about it, too. #s such as 1066 are mentioned in the above thread information and may make a difference in future versions of EMCCD. I noticed in v0.3.1 that the written dialogue boxes does not match aural dialogue. It may all be fixed as I continually fix the dialogs.cfg and sound.cfg. I have found out that the dialogs.tsr is my highest priority to keep as close as possible to stock because the original **aix scripts are effected as well as EMCCD and other mods.
__________________
JSGME help links and common error solutions |
||
|
|
11-01-14, 07:47 AM
|
#13 |
|
A-ganger
![]() Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
|
I'm back with a minor update to this mod. I don't really have too much time for modding/playing but hopefully more updates will follow.
![]() To address the above comment by sober (a bit late, but still), the mod does not have any file conflicts with Speech fixes and additions as far as I know, so that was probably some random ctd. In any case, I have Speech fixes before EMCCD and have never experienced any such crashes. Also, apparently some people have reported problems with the Hydrophone operator, please post more details here so I could look into it. Last edited by archer9; 11-01-14 at 12:32 PM. |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
