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

Reply
 
Thread Tools Display Modes
Old 04-14-07, 04:30 PM   #1
CCIP
Navy Seal
 
Join Date: Apr 2005
Location: Waterloo, Canada
Posts: 8,700
Downloads: 29
Uploads: 2


Default [TEC] Alternate Ship Routes

I made this explanation specifically for some people, but I thought I'd share it with the general mission editing public since it'd sure be of help to anyone making missions


If you want to build different route choices into your units - use the Loop to Waypoint function!

Examples:
Two alternate routes -


At waypoint 1, your unit has a 50% chance to go to waypoint 2, or skip to waypoint 5. If it chooses 2 and follows along, it will automatically skip to waypoint 8 once it reaches waypoint 4, because the loop chance is 100%.

That way you have the possibility of two distinct routes for the unit - an western route (1 - 2 - 3 - 4 -8), or an eastern route (1 - 5 - 6 - 7 - 8), with an equal chance of the unit taking either one. You can always make it unequal by changing the probability % on waypoint 1

Three alternate routes -


It's the same exact logic, just a little more complex! This way you have three routes northern (1 - 2 - 3 - 9), middle (1 - 4 - 5 - 6 - 9) and southern (1 - 4 - 7 - 8 - 9). Each of them has an equal chance of being taken - 1/3 will go to waypoint 2 and follow the, while at waypoint 4 the remaining 2/3 will split equally between the middle and southern route. As usual, all units reaching WP 3 and WP 6 skip to 9 because of 100% chance.

You can make these route choices as complex as you'd like. Very handy
__________________

There are only forty people in the world and five of them are hamburgers.
-Don Van Vliet
(aka Captain Beefheart)
CCIP is offline   Reply With Quote
Old 04-14-07, 06:00 PM   #2
cdrsubron7
Sink'em All
 
cdrsubron7's Avatar
 
Join Date: Mar 2001
Location: Naperville, IL
Posts: 2,150
Downloads: 305
Uploads: 1


Default

Thanks for the info, CCIP. This is usefull information, and I'm going to incorporate it into some of my future missions, Thanks.






cdrsubron
__________________



Head Deep and Keep'em Astern" - LtCDR Samuel D Dealy
SHIV Guide | Imperial Japanese Navy | US Submarines



cdrsubron7 is offline   Reply With Quote
Old 04-15-07, 08:53 AM   #3
Safe-Keeper
Ocean Warrior
 
Join Date: Dec 2005
Location: Norway
Posts: 3,234
Downloads: 11
Uploads: 0
Default

It's very useful indeed. It can be used to have a warship patrol a random area, or make a bomber flight either bomb your port at the beginning of your patrol or head back home (simulating a random chance of your harbour being raided). Lots of possibilities.
Safe-Keeper is offline   Reply With Quote
Old 05-26-07, 10:18 PM   #4
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

This can be far more complicated than the examples above, as well.

Have a few waypoints to get out of port. Then say waypoints 5 through 20 get you to the destination port. Make waypoint 21 all the way back next to waypoint 5. Have 22 through 50 be an alternate route to the same destination. 51 goes back next to 5. 52 through 75 are an alternate route to destination. 76-80 gets you to destination port.

Setwaypoint 4 to loop to 21 a % of the time. Waypoint 5 loops to 51. Waypoints 20, 50, and 75 all have 100% loops to 76.

You now have 3 different routes to waypoint 76, and from there to port.

tater
tater 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 08:01 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.