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 10-29-10, 03:09 AM   #1
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

Is it all done with the mission editor 2 ?
THE_MASK is offline   Reply With Quote
Old 10-29-10, 04:04 AM   #2
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by sober View Post
Is it all done with the mission editor 2 ?
Mostly. What I did was to copy the Black May folder and renamed all the files in it with the new name. Of course I edited these files and changed the name with the new one. Also checked it with the editor and all seems to be ok. The campaign selector had to be edited with the Menu editor and I also directly in the page ini file. I did the same there, copy and rename the Black May entry and renamed it with the new name.

What I miss there is the trigger to the campaign itself, I don't see any link nor description to the campaigns in the page files, only the path to the thumbnail and the coordinates ... this part is solved as you can see in the screenie above. Regarding the campaign movies, I searched for days for any clue regarding their location or how are they accessed but no luck so far.

What I have now is this ... the new campaign can be played after Black May time limit ends, but the main problem is that it cannot be selected on the campaign selection menu. So if I meet all the requirement for Black May, game over. If not, game will continue and the new missions from the new campaign will show up on the map. Actually, I got the same result as Wolfling04 so far.

So thats why I think this part is hardcoded, maybe because they wanna lock the game and the 43-45 part keep it for a possible addon ? Maybe a more experienced moder can confirm or not this theory... I'm out of solutions and completely stuck on it.
Zedi is offline   Reply With Quote
Old 10-29-10, 05:52 AM   #3
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

C:\Ubisoft\Silent Hunter 5\data\Scripts\Menu\Page CampaignSelection .
THE_MASK is offline   Reply With Quote
Old 10-29-10, 06:59 AM   #4
elanaiba
Ace of the Deep
 
Join Date: Mar 2005
Location: Bucharest, Romania
Posts: 1,058
Downloads: 3
Uploads: 3
Default

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...

elanaiba is offline   Reply With Quote
Old 10-29-10, 07:45 AM   #5
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by sober View Post
C:\Ubisoft\Silent Hunter 5\data\Scripts\Menu\Page CampaignSelection .
All I can say is...
Thank you Sober.

Quote:
Originally Posted by elanaiba View Post
Magnum... the "videos" are just animations running on the maps... simply scripted.

See Tutorial.cfg and MissionBriefingText.tsr in each campaign folder.
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 :|
Zedi is offline   Reply With Quote
Old 10-29-10, 07:47 AM   #6
elanaiba
Ace of the Deep
 
Join Date: Mar 2005
Location: Bucharest, Romania
Posts: 1,058
Downloads: 3
Uploads: 3
Default

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...

elanaiba is offline   Reply With Quote
Old 10-29-10, 08:19 AM   #7
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

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!
Zedi is offline   Reply With Quote
Old 10-29-10, 10:00 AM   #8
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

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.
Zedi is offline   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 11:24 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.