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 08-02-20, 02:22 AM   #1
Wolfcat
Chief
 
Join Date: Nov 2012
Posts: 325
Downloads: 27
Uploads: 0
Default destination trigger with range requirement

So one of my mission goals is to trail a sub to an area while staying with 20nmi of the target. So the goal is considered complete if the target reaches the destination while my own ship is within 20nmi of that target ship. So how do I do that?
Wolfcat is offline   Reply With Quote
Old 08-02-20, 11:43 AM   #2
Polak2
Weps
 
Join Date: May 2005
Posts: 371
Downloads: 60
Uploads: 0


Default

I am sure no expert here but I would imagine that

a. enemy sub would need tactics "Transit"
b. last waypoint would have a trigger "First Met Criteria – This method will return true once the criteria of a trigger is met for the first time" attached to that last waypoint
c. script "End Mission – End the mission now, exit to debrief" should be added there.
d. trigger "Range " should be used to maintain 20 nm sparation distance

Obviously some variations maybe needed to this in case it is not working.
Polak2 is offline   Reply With Quote
Old 08-02-20, 02:11 PM   #3
Wolfcat
Chief
 
Join Date: Nov 2012
Posts: 325
Downloads: 27
Uploads: 0
Default

For d. the range trigger, should I use attached trigger or a standalone trigger? Attached trigger meaning attached to the enemy sub I need trail?
Wolfcat is offline   Reply With Quote
Old 08-02-20, 03:11 PM   #4
Polak2
Weps
 
Join Date: May 2005
Posts: 371
Downloads: 60
Uploads: 0


Default

Quote:
For d. the range trigger, should I use attached trigger or a standalone trigger? Attached trigger meaning attached to the enemy sub I need trail?
Good question and I suggest to find out the answer to that and confirm by testing. I answered earlier, but as noted, I just started to study Mission Editor and in no way I consider myself an authority here. Sorry.
Polak2 is offline   Reply With Quote
Old 08-02-20, 05:30 PM   #5
p7p8
Seasoned Skipper
 
Join Date: Nov 2006
Posts: 742
Downloads: 136
Uploads: 6
Default

1. Add approach trigger attached to target
- on page 2 select object: player submarine
- on page 3 set duration for long time (ex: 10 hours)
- on page 3 set radius 20 nmi

2. Make second "automatic" trigger
- on page 2 check "Use Doctrine Language"
- on page 3 select "FirstFailedCriteria" for first (approach) trigger

3. Make attached destination trigger for tracked sub
- on page 3 check "Use Doctrine Language"
- on page 3 set radius (ex: 2 nmi)
- on page 4 set NOT CompletedTrigger2

Of course this solution doesn't test sonar detection. Its only for testing range


Check attached file.
Just change extension TEST.txt to TEST.mu


Attached Files
File Type: txt TEST.txt (2.5 KB, 0 views)
__________________

Last edited by p7p8; 08-02-20 at 05:45 PM.
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 05:20 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.