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, 01:13 PM   #16
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Magnum View Post
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.
OpenHorizonNode is trying to assign itself. But more importantly where is OpenHorizonNode defined? It has to be a menu item somewhere in a Page x.ini file.
TheDarkWraith is offline   Reply With Quote
Old 10-29-10, 01:37 PM   #17
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by TheDarkWraith View Post
OpenHorizonNode is trying to assign itself. But more importantly where is OpenHorizonNode defined? It has to be a menu item somewhere in a Page x.ini file.
In Page CampaignSelection.ini from data/Menu/Pages That file looks oke now, had the error with the MatFlags set to 0x9 intead of 0x10 .. 10 means the new campaign added... but is fixed now. Still, I got the same phyton error when starting a new career.

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?
Zedi is offline   Reply With Quote
Reply

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 09:44 PM.


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.