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 03-25-12, 12:55 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Trevally. View Post
Thanks Gap - that going to be great info when the mis work start
My pleasure, mate. I'll leave for East Africa in 3 days, going on the shore of Indian Ocean looking for some monsun boat memorabilia LOL, but once back I will be glad to keep on helping you in whatever way you will need by that time.

Quote:
Originally Posted by Trevally. View Post
I am working in the menu editor to add the campaign selection button
I see you've put yourself hard at work! Do you want to finish before my return?

Quote:
Originally Posted by Trevally. View Post
Still trying to make that clickable (node??)
Anyone got any tips
Sorry, got not skills for it
gap is offline   Reply With Quote
Old 03-25-12, 01:27 PM   #2
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by gap View Post
My pleasure, mate. I'll leave for East Africa in 3 days, going on the shore of Indian Ocean looking for some monsun boat memorabilia LOL, but once back I will be glad to keep on helping you in whatever way you will need by that time.

I see you've put yourself hard at work! Do you want to finish before my return?

Sorry, got not skills for it
Thanks Gap - have a good trip
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-25-12, 04:12 PM   #3
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Can anyone help with this please

I am adding a new campaign and in the selection page, I have updated it like this-


The page_campaignSelection.py to this-
Code:
 
global CampaignTreeRoot
 
 # Create Campaign Tree
 CampaignTreeRoot = Campaign( "TotalGermany39", 0, PageCampaignSelection_SelectionGroup_CampaignTree_TotalGermany )
 HappyTimesNode = CampaignTreeRoot.AddLink( Campaign( "Happytimes40", 1, PageCampaignSelection_SelectionGroup_CampaignTree_HappyTimes ), PageCampaignSelection_SelectionGroup_CampaignTree_TotalGermany_HappyTimes )
 MareNostrumNode = HappyTimesNode.AddLink( Campaign( "Marenostrum41", 2, PageCampaignSelection_SelectionGroup_CampaignTree_MareNostrum ), PageCampaignSelection_SelectionGroup_CampaignTree_HappyTimes_MareNostrum )
 WesternApproachesNode = HappyTimesNode.AddLink( Campaign( "WesternApproaches41", 3, PageCampaignSelection_SelectionGroup_CampaignTree_EscortSkirmish ), PageCampaignSelection_SelectionGroup_CampaignTree_HappyTimes_EscortSkirmish )
 ArcticConvoyNode = WesternApproachesNode.AddLink( Campaign( "Arcticconvoys41", 6, PageCampaignSelection_SelectionGroup_CampaignTree_ArcticConvoy ), PageCampaignSelection_SelectionGroup_CampaignTree_EscortSkirmish_ArcticConvoy )
 UnserMeerNode = MareNostrumNode.AddLink( Campaign( "Mediterrana42", 4, PageCampaignSelection_SelectionGroup_CampaignTree_UnserMeer ), PageCampaignSelection_SelectionGroup_CampaignTree_MareNostrum_UnserMeer )
 OperationDrumbeatNode = MareNostrumNode.AddLink( Campaign( "Operationdrumbeat42", 5, PageCampaignSelection_SelectionGroup_CampaignTree_OperationDrumbeat ), PageCampaignSelection_SelectionGroup_CampaignTree_MareNostrum_OperationDrumbeat )
 WesternApproachesNode.AddLink( ArcticConvoyNode, PageCampaignSelection_SelectionGroup_CampaignTree_EscortSkirmish_ArcticConvoy )
 WesternApproachesNode.AddLink( OperationDrumbeatNode, PageCampaignSelection_SelectionGroup_CampaignTree_EscortSkirmish_OperationDrumbeat )
 DistantWatersNode = UnserMeerNode.AddLink( Campaign( "DistantWaters42", 7, PageCampaignSelection_SelectionGroup_CampaignTree_DistantWaters ), PageCampaignSelection_SelectionGroup_CampaignTree_UnserMeer_DistantWaters )
 BlackPitNode = OperationDrumbeatNode.AddLink( Campaign( "BlackPit42", 8, PageCampaignSelection_SelectionGroup_CampaignTree_AirGap ), PageCampaignSelection_SelectionGroup_CampaignTree_OperationDrumbeat_AirGap )
 OperationDrumbeatNode.AddLink( DistantWatersNode, PageCampaignSelection_SelectionGroup_CampaignTree_OperationDrumbeat_DistantWaters )
 ArcticConvoyNode.AddLink( BlackPitNode, PageCampaignSelection_SelectionGroup_CampaignTree_ArcticConvoys_AirGap )
 TurningPointNode = BlackPitNode.AddLink( Campaign( "TurningPoint43", 9, PageCampaignSelection_SelectionGroup_CampaignTree_TurningPoint ), PageCampaignSelection_SelectionGroup_CampaignTree_AirGap_TurningPoint )
 DistantWatersNode.AddLink( TurningPointNode, PageCampaignSelection_SelectionGroup_CampaignTree_DistantWaters_TurningPoint )
 ArcticConvoyNode.AddLink( TurningPointNode, PageCampaignSelection_SelectionGroup_CampaignTree_ArcticConvoys_TurningPoint )
 MonsunGruppeNode = DistantWatersNode.AddLink( Campaign( "MonsunGruppe43", 10, PageCampaignSelection_SelectionGroup_CampaignTree_MonsunGruppe ), PageCampaignSelection_SelectionGroup_CampaignTree_DistantWaters_MonsunGruppe )
 BlackMayNode = TurningPointNode.AddLink( Campaign( "BlackMay43", 11, PageCampaignSelection_SelectionGroup_CampaignTree_BlackMay ), PageCampaignSelection_SelectionGroup_CampaignTree_TurningPoint_BlackMay )
 MonsunGruppeNode.AddLink( BlackMayNode, PageCampaignSelection_SelectionGroup_CampaignTree_MonsunGruppe_BlackMay )
I have also updated all related campaign cfg files for the new campaign.
When I run campaign selection in game, I am getting this script error-


Does anyone know what I have not done or made errors with?
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-25-12, 04:41 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
Can anyone help with this please

I am adding a new campaign and in the selection page, I have updated it like this-

The page_campaignSelection.py to this-

Does anyone know what I have not done or made errors with?
send me your files
TheDarkWraith is offline   Reply With Quote
Old 03-25-12, 04:59 PM   #5
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
send me your files
Thanks TDW

Files are here https://rapidshare.com/files/776570264/MonsunGruppe.7z
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-25-12, 06:48 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
Found the problem - You forgot to add an 's' to DistantWater in PageCampaignSelection_SelectionGroup_CampaignTree_ DistantWater_MonsunGruppe in the campaign tree .ini file (open up with menu editor and add the s and you're good to go on that)

Now once you fix that error you have other errors to contend with - campaign errors. Some campaign data is not being found.
TheDarkWraith is offline   Reply With Quote
Old 03-26-12, 05:39 AM   #7
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
Found the problem - You forgot to add an 's' to DistantWater in PageCampaignSelection_SelectionGroup_CampaignTree_ DistantWater_MonsunGruppe in the campaign tree .ini file (open up with menu editor and add the s and you're good to go on that)

Now once you fix that error you have other errors to contend with - campaign errors. Some campaign data is not being found.
Thanks TDW - fixed now




One more question
How do I change the number of "item materials"?
For the map there are only 11 and now I need to make it 12 to add the new map

__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Reply

Tags
awesome, campaign, graf zeppelin, harbour, new bases, new ships, ohii

Thread Tools
Display Modes

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 06:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.