SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-27-07, 01:47 PM   #1
Hawk66
Commodore
 
Join Date: Sep 2006
Location: Germany
Posts: 609
Downloads: 36
Uploads: 0
Random environment generator

Hi Guys,

I was thinking if it's worthy to create a random environment generator (external tool). Basically it could scan the scenario file (it's just a text file, so it's easy), copy it and alter the environmental settings (probably apart of SSP). Examples are time, month, sea state, wind regions etc.

To make it more realistic it could read the LATLONG coordinates to produce a realistic weather for a specific region (which could be conifgured by a XML file to avoid the effort of creating an UI).

Finally, it could append the mission description by giving some hints about the weather, time etc.

Of course, such a tool makes only sense for scenarios, which are highly replayable and dynamic.

What's your opinion?
Hawk66 is offline   Reply With Quote
Old 02-27-07, 03:40 PM   #2
GakunGak
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Very good idea indeed, but other than external tool, I would like this if possible to be implemented in-game menu, but that would probably go against SCS not to modify any file from the executables...
If I only had a hurricane in the game...
  Reply With Quote
Old 02-27-07, 04:52 PM   #3
OneShot
Grey Wolf
 
Join Date: Mar 2005
Location: Germany
Posts: 956
Downloads: 9
Uploads: 0
Thats a great idea. Btw. I recall that Kage (MaHuJa) mentioned he was working on a similar tool himself - maybe you should try to contact him and see whats his status is.

Cheers
OS
OneShot is offline   Reply With Quote
Old 02-27-07, 05:09 PM   #4
Dr.Sid
The Old Man
 
Join Date: May 2005
Location: Czech Republic
Posts: 1,458
Downloads: 6
Uploads: 0
Default

It does not really have to be part of the game. DW switches to background nicely, so it's even better to have it outside the game. I hate I have to quit DW mission editor to play the mission.

Good idea indeed. I'd like to have something like quick mission, but better. Better selection of opponents, and especially weather and time.
Dr.Sid is offline   Reply With Quote
Old 02-27-07, 10:03 PM   #5
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

Quote:
Originally Posted by GakunGak
If I only had a hurricane in the game...
You can have any weather you want.

Go into any mission file with a text editor, and change the environmental settings to anything you desire. You can edit the wind speed to 10000kts, for example, and maybe go to sea state 8? 10?

Try it yourself, it's quite entertaining!

Cheers,
David
__________________
LW
LuftWolf is offline   Reply With Quote
Old 02-27-07, 10:11 PM   #6
To be
Electrician's Mate
 
Join Date: Feb 2007
Posts: 140
Downloads: 8
Uploads: 0
Default

It is . I just tried a sea state 104 in the FFG, which is happy that DW doesn't model flooding.
To be is offline   Reply With Quote
Old 02-27-07, 11:45 PM   #7
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Hawk66
What's your opinion?
I like the idea of being able to add random environmental features to a scenario. I frequently find myself making variations of scenarios where I change time of day, weather, etc. from a baseline where the environment is assumed to be basically benign. Randomness is a nice way of avoiding having to ask myself "do I feel like it's a rainy day today?"
SeaQueen is offline   Reply With Quote
Old 02-28-07, 01:39 AM   #8
Janus
XO
 
Join Date: Mar 2005
Posts: 434
Downloads: 25
Uploads: 0
Default

Somebody whose name I cannot recall has made a similar thing for SHIII, an external .NET stuff tool which reads and writes the campaign file. It is totally feasable, you just have to start

What I believe would be great if not only the weather would be changed but also use the tool to spawn neturla shipping in the area of operations.
Janus is offline   Reply With Quote
Old 02-28-07, 08:19 AM   #9
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Janus
What I believe would be great if not only the weather would be changed but also use the tool to spawn neturla shipping in the area of operations.
That can already be done using the scenario editor. You just have to take the time to put it in.
SeaQueen is offline   Reply With Quote
Old 02-28-07, 09:53 AM   #10
Dr.Sid
The Old Man
 
Join Date: May 2005
Location: Czech Republic
Posts: 1,458
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by SeaQueen
Quote:
Originally Posted by Janus
What I believe would be great if not only the weather would be changed but also use the tool to spawn neturla shipping in the area of operations.
That can already be done using the scenario editor. You just have to take the time to put it in.
You just can't play missions you create by yourself .. whole fun of subs is 'you don't know'. Sure you can use random boxes but that can generate stupid missions time to time.
Dr.Sid is offline   Reply With Quote
Old 02-28-07, 10:44 AM   #11
Janus
XO
 
Join Date: Mar 2005
Posts: 434
Downloads: 25
Uploads: 0
Default

Quote:
Originally Posted by Dr.Sid
You just can't play missions you create by yourself .. whole fun of subs is 'you don't know'. Sure you can use random boxes but that can generate stupid missions time to time.
Of course a mission generated by a tool is very unlikely to be as tense and have a good storyline like a carefully built manual mission.
The first post was about an existing scenario which should be scanned and the weather, time and sea state altered randomly - at least tha's how I have understood it.

I don't know much about the mission editor and how scenario files are structured but I could not think of a problem why it should not be possible to add some neutral shipping and so on to a scenario with a tool. If you have a halfway comfortable user interface where you can enter more or less detailed parameters (like: I have this mission near the coast so add me 2 - 4 neutral ships of the class freighter, sailboat or fish trawler which transit along the AO and for a scenario with no coast you can select not to generate ships that would stay near the shore...)
Janus is offline   Reply With Quote
Old 02-28-07, 11:19 AM   #12
Dr.Sid
The Old Man
 
Join Date: May 2005
Location: Czech Republic
Posts: 1,458
Downloads: 6
Uploads: 0
Default

And bio contacts ! Gee there is too little of them
Dr.Sid is offline   Reply With Quote
Old 02-28-07, 02:00 PM   #13
Hawk66
Commodore
 
Join Date: Sep 2006
Location: Germany
Posts: 609
Downloads: 36
Uploads: 0
Default

I've thought about myself to create an enhanced quick mission generator some months ago, but I've skipped the idea due to lack of time.

I think it's possible but very, very time intensive to create such a generator which creates interesting scenarions and not only the usual 'Hunt that submarine etc.' stuff. You would need an API/SDK for DW (BTW, it would be sooo good to have one, look at Civilization 4) to do automatic tests/background 'playing' so a learning algorithm (AI) could adapt the mission generating. Manual adjusting would be very time intensive. Perhaps a combination of a predefined dynamic mission with some random altering by using an external tool would be the best ?


Ok, I see some interest in such a tool (environment generator) and I think I'll do it, because I wanna play anyway a little with .NET and it seem's a good and not to big application to start with. But don't expect any results soon - I've a time-intensive job like the majority of you, too
Hawk66 is offline   Reply With Quote
Old 02-28-07, 02:10 PM   #14
Dr.Sid
The Old Man
 
Join Date: May 2005
Location: Czech Republic
Posts: 1,458
Downloads: 6
Uploads: 0
Default

'Hunt that sub' would be pretty OK for me. But DW quick missions can't do that. It can only 'hunt some sub' .. you can't choose allies, you can't choose opponents, you can't choose conditions. All these would be simple to achieve by mission generation (modification) only.
Dr.Sid is offline   Reply With Quote
Old 02-28-07, 10:23 PM   #15
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Dr.Sid
You just can't play missions you create by yourself .. whole fun of subs is 'you don't know'. Sure you can use random boxes but that can generate stupid missions time to time.
I disagree. Rarely is there a time in ASW where you're REALLY in the dark. Intelligence from various sources gives one at least a rough idea of where there might be a submarine geographically. Additionally, the physics of relative motion imposes other constraints upon submarines. Random boxes and dynamic locations applied smartly are all that's really needed to make a great mission that one can play over and over again. My biggest gripe, though, is that typically people don't make them large enough, or else put them in all the wrong places. Scenario designers want a lot of theatre in their scenarios and I think end up "fixing" the outcome of the game sometimes.
SeaQueen 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 03:30 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.