Dangerous Waters Random Mission Generator
Last update: version 0.2 :yeah:
You can find it in the Downloads section: http://www.subsim.com/radioroom/down...o=file&id=4794 mirror: https://mega.nz/#!S0pURKxA!D_V3ith4Z...gkjzjnSS_R2qYc The news are: Quote:
It's almost completed. Remain a couple of details, but this is more or less similar to what I wanted to do. More mission types can be added, but in some areas I'm not good, as, for example, I've played very few times with air platforms, so I not dare to create air vs surf or surf vs surf missions. :nope: But if anybody makes one and send it to me, I gladly put it on the program. You can find it on the first thread here (server down). ----------------------------------------------------------------------- Ok, guys, here I come again with another project. I'm pretty excited with this and hope you will like what I'm trying to do. For work reasons, I needed to create a small program and found one, called Game-Editor, which eases the process A LOT. Then I started to play a bit more with it... and finally I decided that it would be possible to create random generated missions and even a dynamic campaign for DW. :hmmm: Don't jump already. One thing is random missions and other very different is a dynamic campaign. I think I could create a random campaign, but dynamic... for the moment is beyond my abilities (and probably always be, since I don't believe I will learn programming in the next few... decades :damn: ). There are, still 2 ways of creating a dynamic campaign: -1: find somebody who knows programming. :|\\ -2: making the player to enter the missions result “manually” so the campaign can continue at that point. However, as I said, it would be the future. The present is a random mission generator that I hope could replace the quick missions with better performance. I've played very few with quick missions, but most of that times the enemy sub was cavitating since the mission start. I'll paste here the read me: Code:
This is a small project with very high ambitions for Dangerous waters 1.4 with RA mod installed. You can find the program on commanders-academy: It's at the end of the post. Please I beg you to give as more ideas as you can and, if you want to participate, even better. :yep: The program idea is pretty simple: - 1st I've created one (yes, only one) mission sub vs sub for blue waters and another for brown waters. Each mission has a dynamic group for the enemy subs and one for civilians and all of them have random boxes. - Then I used that mission as base for creating the others. Let's continue with the blue waters mission. The mission file is a simple txt file, so it can be read an modified. The lat and long positions on that file are only for the center of the map, so it's easy to change it. Besides, the positions of the platforms are relative to that center, so, when you change lat and long, the rest continues at their relative positions on the original mission. With this one must be careful because if not, your submarine can appear inland (it happened me on one test ;) ). - The program I've created asks you to select one area (and changes the lat and long values). This makes easy porting blue water missions from area to area because there's little risk of grounding objects, but is risky on shallow waters or near to land. But this can be solved creating more specific mission for that areas. The program also randomize the environmental conditions: time, weather, clouds... so, even if you select always the same area, there will be pretty different conditions, both environmental and about enemies and neutral platforms. For now, as said on the read me, there are only 1vs1 sub missions and only with the modern ones. But it's not hard to add other missions and eras, only is a bit time-consuming. Once this part is finished and the method controlled, I then would like to try to create a campaign generator. I was thinking on creating a one similar to RSR... wait, I said similar: you select your submarine and wander around the map and receive mission orders. As I said before, it would be hard to make a very dynamic campaign to that level. But with your help... who knows, maybe we can do it... :oops: What do you think about it? Am I doing a good thing or wasting my time? Somebody wants to help? |
I think it's a great idea. And I wouldn't be discouraged by having to manually enter some data. After all, right now if we want to do something like this it is 100% manual.
Quick question though... what can we expect from campaigns created like this? Right now it seems like it would be a campaign like we already have in DW--single player and consisting of scenarios strung together in a storyline. I'd love to find a way to generate DW missions as part of a multiplayer campaign without a scripted storyline. Is anything like that on your radar? |
Quote:
Quote:
It can be done for multiplayer without problems. Well, probably would be a little tricky, but nothing unbearable. What I've though is this: Let's think about two sides. Both of them start equal, 50%. Of course when one side wins a battle, gains points and the loser loss points. The sides are more or less aggressive depending on if they are winning or losing. To make it "dynamic" I thought on creating a list of the most important platforms (cruisers, Naval bases, SSN and specially CVs and SSBN...). Destroying them makes them out of the campaign. For doing so, once played the mission and restarted the campaign generator, we should go to "uncheck" the killed platform and so the program won't use it again. The "lesser" platforms and civil shipping should be considered "expendable", so destroying them gives you points but the platform may appear again in the future. Of course this is not magical. First one must decide the sides and the platforms involved and give that data to the program. But once done, it will be easier. What kind of campaign are you thinking about? Let's make a little brainstorming :yep: |
I think it's a great idea,
do you think it would be possible to click anywhere on the map instea of being constrained to points? Also it would be great if once an area is selected the computer would select randomly a mission out of a mission pool. |
What I would really like to have in a dynamic campaign engine for DW is something that can keep an account of the platforms present in a campaign (and their status--loadout, fuel, damage, etc.), account for their movements that take place before/after a match is played, determines when/where a DW match is to take place, and can generate DW missions based on all of the information its been tracking. Something along the lines of the "2d world" in Falcon 4, if you're familiar with that. Or, imagine a server running Fleet Command, with Dangerous Waters players logging into it to control the playable platforms in the FC game.
I expect that a full-blown professional campaign engine like F4's is beyond the limits of game-editor. But, if it can do most of the things I've listed above--even if a lot of the data is entered manually b/c it doesn't know how to interpret the results of a DW battle, it's still accomplishing a lot. |
Isn't there a results file created when you end a mission. Could your generator read that and interpret the results?
BTW Definitely needs LWAMI compatibility with Pacific and Persian Gulf AOs... |
Quote:
This random mission generator is somewhat like the quick mission generator, which is similar in concept: you choose the area amongst the ones prefixed. Quote:
Status, loadout, fuel... too complex, at least for now. But the other things are what I was thinking about. I will be hard to simulate an AI, but it can be done. Quote:
Quote:
As far as I know, it will be possible to interact with it, but at the moment I don't know how. I'm afraid I must to keep with the manual solution. Quote:
|
Quote:
|
Quote:
I'm curious... expended weapons and countermeasures? how are you thinking to manage that? |
Quote:
|
Quote:
As for tracking expenditures, I don't know how to use game-editor, so I don't have a clue. It is important, though, and I'm frustrated with SCS because Jane's 688I had it (in campaign mode), but SC and DW don't. |
Quote:
Quote:
What I was asking for is how are you thinking it can be implemented in a campaign, to see if it's possible or not for me to do it. |
There is a file that saves the loadout (probably LOD) configuration when a player starts a mission. If you can get something that can overwrite that with data from the end of a mission, then the next time that platform is played by that player the end-state loadout will be loaded by default at the loadout screen. Unfortunately, the player can cheat and replenish, so Im not sure this is any better than just manually removing weapons/CMs at the loadout screen. It just doesn't require human memory.
|
Quote:
Do you know what file is this and how to read a .lod file? |
Quote:
|
Quote:
Well, but all of this is far at this point, I need to go step by step. :) |
Has anyone done any more work on this. Getting back into playing Dangerous Waters after a long break
|
Quote:
I don't know if I will retake it. Only if I receive help from other users, but definitively not now, maybe by Xmas. Thank you for your interest anyway :) |
I installed the RMG last night played using it have to say I like it a lot. Thank you for creating this. :Kaleun_Salute:
|
Quote:
Any further feedback will be appreciated. |
All times are GMT -5. The time now is 05:48 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.