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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 01-05-12, 10:43 AM   #1
bottomcrawler
Mate
 
Join Date: Jan 2009
Posts: 53
Downloads: 15
Uploads: 0
Default How to make AI unit intercepta specifik target?

I'm creating a mission where the player has to locate and shadow an enemy unit but then hand it over to a surface unit. The surface unit is on station in the vicinity, ready to be vectored to the target.

I can make the surface unit set speed and heading for a specified time, but since its own location is somewhat random and the target's position is both random (the player starts at a random location and the actual position of the target once the detect and shadow criteria have been met could be anywhere along a 200+ nm long track) and changing continually (since the player only has to shadow, not stop, the target), a fixed heading, speed and duration for the surface unit just won't do.

I've tried to send a continuous position of the target to the surface unit once the target has been located by the player and set the target mode to "track" for the surface unit, but that doesn't make it do anything at all. Even sending an "engage" command doesn't make it go for it.

Is there any way to make the surface unit behave the way I want?

(Please ignore the mistakes in the thread title, I can't correct them...)
bottomcrawler is offline   Reply With Quote
 


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 01:22 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.