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 02-06-07, 07:24 PM   #1
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default Waterspace Management

In a mission I created, an AI controlled KILO tracked another AI controlled KILO and then collided with it. Ideally, I'd like to assign each KILO it's own operating area and have it stick to it's area. Does anyone have any thoughts on how prevent this problem in the future?

It also made me wonder, is it possible for the AI to commit fratricide?
SeaQueen is offline   Reply With Quote
Old 02-06-07, 09:46 PM   #2
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

Umm... use a database where all the AI have appropriate sensors so they don't run into each other...

In term of fratricide, you'll have to set the AI vessels on different sides, or put a dummy near the platform you want fired on and then remove it after the firing vessel shoots, but that potentially has all kind of problems. Perhaps you can look at scripts and triggers to work something out.

Cheers,
David
__________________
LW
LuftWolf is offline   Reply With Quote
Old 02-06-07, 09:59 PM   #3
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by LuftWolf
Umm... use a database where all the AI have appropriate sensors so they don't run into each other...
*sigh* Does anyone have any constructive thoughts?

And I want to prevent fratricide, not encourage it.. at least today.
SeaQueen is offline   Reply With Quote
Old 02-06-07, 10:02 PM   #4
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

Well, all joking aside, it does make it easier to get AI platforms to do what you expect them to do when they can detect the loudest contacts at over 20nm and submarines over 10nm (or much much less for Kilos).

It used to be a common report for people to say how AI would run into this and that... well I haven't heard that much since we added sensors to the AI.

Cheers,
David
__________________
LW
LuftWolf is offline   Reply With Quote
Old 02-06-07, 10:20 PM   #5
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by LuftWolf
Well, all joking aside, it does make it easier to get AI platforms to do what you expect them to do when they can detect the loudest contacts at over 20nm and submarines over 10nm (or much much less for Kilos).
The thing is, in the environment I was playing in, I wouldn't expect nearly that kind of detection range. Geez... in a few hundred feet of water, you're lucky to get 3 miles. I was actually pretty happy with the ranges at which they seemed to be detecting targets. I figured 5 nautical miles on a good day, probably more like 2 or 2.5 nautical miles. I expected the KILOs to have difficulty identifying targets. I did not expect them to drive into them.

I wonder if using the "collision avoidence" script would help. Ideally, though, I'd like figure out a way to give them a box and let them stay in that box.
SeaQueen is offline   Reply With Quote
Old 02-06-07, 10:39 PM   #6
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

Based on what you are saying about the acoustic conditions, the stock AI sensors may not detect a kilo imp at all.

You may find running your missions in test with the dbgviewer active to report detections good way to find out what's going on.

Cheers,
David
__________________
LW
LuftWolf is offline   Reply With Quote
Old 02-07-07, 04:25 AM   #7
FERdeBOER
XO
 
Join Date: Mar 2002
Location: Spain
Posts: 431
Downloads: 22
Uploads: 1
Default

So, if I have understood You, You want to prevent the kilos from leaving their area, don't you?

If it's the case, You can create a destination goal and a script for each kilo. The script is a "set course of...(kilo X)... to..... during.....seconds"
Making this, when one of the kilos reaches her destination goal, the script will tell her to turn arround for the time you selected.

If You mark the "can refire" box, the Kilo will turn arround anytime she reaches the destination goal.
You can make this also with an "Aproach goal", so when the kilos are XX distance close, they change course.

Hope this is what You're asking for. :hmm:
__________________
Hay dos tipos de buques: los submarinos... y los blancos.
There are two types of ships: the subs... and the targets.
FERdeBOER is offline   Reply With Quote
Old 02-07-07, 04:26 AM   #8
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

I knew someone out there had a good answer!

Thanks!

Cheers,
David
__________________
LW
LuftWolf is offline   Reply With Quote
Old 02-07-07, 06:22 AM   #9
Bill Nichols
Master of Defense
 
Join Date: Mar 2000
Posts: 1,502
Downloads: 125
Uploads: 0
Default

Quote:
Originally Posted by LuftWolf
I knew someone out there had a good answer!

Thanks!

Cheers,
David
Ferdeboer, you beat me to it!
__________________
My Dangerous Waters website:
Bill Nichols is offline   Reply With Quote
Old 02-07-07, 08:25 AM   #10
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by LuftWolf
Based on what you are saying about the acoustic conditions, the stock AI sensors may not detect a kilo imp at all.
That is precisely the contingency that divvying up areas is intended to avoid.

Quote:
You may find running your missions in test with the dbgviewer active to report detections good way to find out what's going on.
I can do that by running it from the command line?
SeaQueen is offline   Reply With Quote
Old 02-07-07, 08:28 AM   #11
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

Put this at the end of the run command "-debugoutput" and be sure to have the dbgviewer running. It's a separate program you can download as freeware.

Most useful for modding and bug testing.

Cheers,
David
__________________
LW
LuftWolf is offline   Reply With Quote
Old 02-07-07, 08:31 PM   #12
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by LuftWolf
Put this at the end of the run command "-debugoutput" and be sure to have the dbgviewer running. It's a separate program you can download as freeware.
Downloadable from where?
SeaQueen is offline   Reply With Quote
Old 02-08-07, 04:18 AM   #13
XabbaRus
Navy Seal
 
Join Date: Sep 2001
Posts: 5,330
Downloads: 5
Uploads: 0


Default

http://www.microsoft.com/technet/sys...DebugView.mspx
__________________
XabbaRus is offline   Reply With Quote
Old 02-08-07, 04:39 AM   #14
XabbaRus
Navy Seal
 
Join Date: Sep 2001
Posts: 5,330
Downloads: 5
Uploads: 0


Default

Also would if you want them to patrol a set area use a box tactic and make a small distance between them.

Or use area waypoints. Or have you tried that and they still wander?
__________________
XabbaRus is offline   Reply With Quote
Old 02-08-07, 07:43 AM   #15
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by XabbaRus
Ah... another fine microsoft product. You know... the romantic part of me is still living in the Unix land of my old university physics department.
SeaQueen 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 02:46 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.