SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
04-14-07, 04:30 PM | #1 |
Navy Seal
|
[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 |
04-14-07, 06:00 PM | #2 |
Sink'em All
|
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 |
04-15-07, 08:53 AM | #3 |
Ocean Warrior
Join Date: Dec 2005
Location: Norway
Posts: 3,234
Downloads: 11
Uploads: 0
|
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.
__________________
|
05-26-07, 10:18 PM | #4 |
Navy Seal
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
|
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 |
|
|