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 > DW Mod Workshop > DW Mission Designers' Forum
Forget password? Reset here

Reply
 
Thread Tools Search this Thread Display Modes
Old 09-16-16, 11:28 PM   #1
rentacow
Machinist's Mate
 
Join Date: Sep 2014
Location: Onakushcloud
Posts: 125
Downloads: 55
Uploads: 0
Default Another Quick Mission Editor Tutorial (basics)

Ahoy! Before we dive right into this thing I want to be sure everyone knows that you can find the dangerous waters mission editor manual in DW's installation directory here: Dangerous Waters\Manual\SCS-DW_Mission EditorManual.pdf

You can also download a copy from anywhere right from strategy first's (one of the publishers) website here: http://www.strategyfirst.com/app/web...itorManual.pdf

OK, so this time I wanted to go over another basic task in the editor. Randomized starting locations! We will use the same mission we created in my last tutorial. But you can use any mission you like.

First lets change the tactic of our target ships from barrier to a random box so that they don't head toward the same spot on the map every time we play the mission. Our goal is to have a dynamic, unpredictable enemy while still keeping the mission consistently playable and interesting.



PAGE 65

Now lets get to why you actually came here: Dynamic locations.

Go ahead and add one!


Once you select "Dynamic Location" you must click on the map where you want the location to be. Then you can add or remove units from the location. Add the fishing boat to this first one. You might remember something about the generation options from the last tutorial's bonus reading. For this one unit we will use Min: 1 Max: 1 of course

Now the fun part. You can go to the next page and start adding additional locations. All the locations will be linked and at the start of the game, the server will choose one of the locations at random, with an equal chance of picking each location.


For the Kilo we will use a slightly more complex method which will allow us to favor certain starting locations over others:

Click on the Kilo then press Ctrl-C to copy it exactly. Now press Ctrl-V and click somewhere else on the map. Two Kilos with the same random box. Now add the new kilo to the "Dynamic Group" with the first kilo. Assuming the generation options for the group stay min 1 max 1. only 1 Kilo will ever spawn after the fishing boat is killed.

Let's have the mission favor spawning the Kilo either north or west of us, with a 1 in 3 chance of spawning to the south or east.

To do this, you need to add 2 dynamic locations for each Kilo. Place them around the player platform.


Finally modify the individual Kilo's probability of inclusion so that the North-or-West Kilo has 3 times the probability of inclusion than the other (I used 300 for it and left the other at 100. 3 & 1 or 6 & 2 etc. would work exactly the same). You do not need to sum them to 100%.



Now go test it a few times with truth on to make sure it's randomizing the mission how you intended.

Afterthoughts: Once a unit is assigned to a random location, the units location on the editor map is mostly unimportant. In this example the location IS important, but maybe not how you think. Notice how the Kilo's don't have to spawn at the center of the random box. They will spawn and then drive toward a random point within their box, looking for hostiles while they transit. If the unit has a waypoint based tactic, it will always head directly for the first waypoint and so on, not where you have placed the unit on the map.

Thanks for reading and I hope this all made sense. Post questions, comments and example missions below!

Last edited by rentacow; 09-16-16 at 11:40 PM.
rentacow is offline   Reply With Quote
Old 09-17-16, 03:04 AM   #2
p7p8
Seasoned Skipper
 
Join Date: Nov 2006
Posts: 742
Downloads: 136
Uploads: 6
Default

I know mission editor very well but your tutorials are helpful to others.
Good work Rentacow
p7p8 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 08:52 AM.


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.