![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
10-29-10, 05:52 AM
|
#1 |
|
Ace of the deep .
|
C:\Ubisoft\Silent Hunter 5\data\Scripts\Menu\Page CampaignSelection .
|
|
|
10-29-10, 06:59 AM
|
#2 |
|
Ace of the Deep
![]() Join Date: Mar 2005
Location: Bucharest, Romania
Posts: 1,056
Downloads: 3
Uploads: 3
|
Magnum... the "videos" are just animations running on the maps... simply scripted.
See Tutorial.cfg and MissionBriefingText.tsr in each campaign folder.
__________________
With strength I burn... |
|
|
10-29-10, 07:45 AM
|
#3 | |
|
Sea Lord
![]() Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
|
Quote:
Thank you Sober. So.. the campaign videos are stored in .ogg format? Thought thats used only for sound. I ask because I see something like SoundId=/Speech/HarborKMO/Normal/MB_HA_KMO_D13.ogg in the tutorial.cfg. I supose this is the campaign briefing what we see on the mission map when we talk with the officer in the bunker. Of course, for a new campaign I cannot provide a voice briefing so I will need to separate the visual part from the voice part... damn, this will be harder than I thought, fun over :| |
|
|
|
10-29-10, 07:47 AM
|
#4 |
|
Ace of the Deep
![]() Join Date: Mar 2005
Location: Bucharest, Romania
Posts: 1,056
Downloads: 3
Uploads: 3
|
There are no pre-rendered videos just scripted animations that move the camera, show this or that item/icon on the map, etc. ogg's are just the sound - the voiceover.
So its easy to script something new, just look in the tutorial.cfg
__________________
With strength I burn... |
|
|
10-29-10, 08:19 AM
|
#5 |
|
Sea Lord
![]() Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
|
Ah.. so actually the tutorial is the script file that control the camera movement on the map. That's good news, thank's for the info.
Hum.. step by step, this will eventually work, it just need a LOT of time to set it up. In the meantime I managed to make the link working on the campaign selector.. for me this is already a major breakthrough. Thanks again guys! |
|
|
10-29-10, 10:00 AM
|
#6 |
|
Sea Lord
![]() Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
|
With green, original script lines from Page CampaignSelection.py
With yellow, the new added campaign. BlackMayNode = BlackPitNode.AddLink( Campaign( "BlackMay43", 9, PageCampaignSelection_SelectionGroup_CampaignTree_ BlackMay ), PageCampaignSelection_SelectionGroup_CampaignTree_ AirGap_BlackMay ) DistantWatersNode.AddLink( BlackMayNode, PageCampaignSelection_SelectionGroup_CampaignTree_ DistantWaters_BlackMay ) ArcticConvoyNode.AddLink( BlackMayNode, PageCampaignSelection_SelectionGroup_CampaignTree_ ArcticConvoys_BlackMay ) OpenHorizonNode = OpenHorizonNode.AddLink( Campaign( "OpenHorizon43", 10, PageCampaignSelection_SelectionGroup_CampaignTree_ OpenHorizon ), PageCampaignSelection_SelectionGroup_CampaignTree_ AirGap_OpenHorizon ) Result: ![]() Any help appreciated. |
|
|
10-29-10, 10:24 AM
|
#7 |
|
Seasoned Skipper
![]() Join Date: Aug 2010
Location: 49°44´N 129°40´E
Posts: 665
Downloads: 124
Uploads: 7
|
So, perhaps you need to make these data in Page CampaignSelection.ini. Perhaps the script complains of the absence of these data in the ini-file.
__________________
Speed squadron is the speed of the slowest ship ... but only so long as on the trail of the squadron did not sit submarines ...
|
|
|
10-29-10, 11:48 AM
|
#8 | |
|
Sea Lord
![]() Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
|
You have a point.. I forgot to set up the values for the campaign description map .dds, there was MatFlags=0x9 instead of MatFlags=0x10, so the game had no clue where he can find the missing map. I corrected these values but I still got the error.
I suppose is no way to make it work considering what Elanaiba wrote here : Quote:
|
|
|
|
10-29-10, 01:13 PM
|
#9 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
10-29-10, 01:37 PM
|
#10 | |
|
Sea Lord
![]() Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
|
Quote:
Here is a download link with the modifications I did so far, if any1 else is interested. Installed with JSGME will add the new campaign on the campaign selection screen, but soon as you start a new career, the game will freeze and will give you the error mentioned earlier. In the meantime I found many things related to the campaign in the SimData.dll from the root folder. I suppose playing with the dll file is illegal, right? |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
