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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-01-11, 11:38 AM   #1
GlobalExplorer
Admiral
 
Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
[TEC] Automatic campaign generation & conversion - has this been attempted by anyone?

During the discussion in the 'stability mod thread' I had some ideas about automated processes and I will try to outline them here more precisely.

What I'm thinking of is an application to automatically generate campaign data and I would like to know if someone has attempted something like this or had similar ideas.

pseudocode

:read in campaign data

data could be in SH5 / SH4 / SH3 format
theoretically even other formats (ideal would be a meta format which contains meta data like descriptive texts and other information that could be used for generation of specific dynamic missions)
:analyzing target installation
analyze available roster of ship types, ports, and other things
:re merging data according to target installation
this means ship types / classes are re-assigned according to the available setup
the logic is defined by the programmer
:writing campaign data to target format
self explaining
this step produces clean output files in the target format
other stuff like radio messages could be generated on the fly

Besides the general fact that it could save a lot of time for the campaign designers, such a tool has several uses, which are:

1. cleanup of existing campaign. I think an automated process will turn out much more consistent data than a manual process. If it is programmed well it should be free of inconsistencies in the data and result in less CTDs and quirks.

2. it can be used to reassign campaigns to make use of the target rosters, i.e. if additional units that have been added to the roster they will also be used by the new campaign

3. it can be used to merge campaigns from different sources.

4. it can be used to convert campaigns automatically from older versions (Silent Hunter 3 etc)

5. theoretically, one could even generate campaign data dynamically, providing the application can handle meta data, analyze geometric data, coast lines etc, and run them through a GIS like library or topology suite.

So far I was only thinking about a tool can be used by programmers, but a next step could be the creation of a new mission editor, that integrates all these functions with a user interface.
__________________

GlobalExplorer is offline   Reply With Quote
 

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 11:21 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.