[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Sub Command » » Mission Editor Help - @Bill or someone smart :D
Author Mission Editor Help - @Bill or someone smart :D
Scion


Joined: Feb 27, 2002
Posts: 549
From: Wellington, New Zealand
Posted: 2003-01-06 00:42   
How do you get a AI Platform to attack another AI Platform at a certain time, and not let them attack at any other time.

I will use this in a mission I am making for the Akula atm
_________________
All Ships can dive...Only Subs can Surface
Email: scion@paradise.net.nz
ICQ: 145621235
AIM: AO3Smith
Y!: ao3smith


  View Profile of Scion   Email Scion   Goto the website of Scion   ICQ status             Edit/Delete This Post   Reply with quote
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2003-01-06 06:20   
You could do this by giving the AI platform a "attack" order at a certain waypoint.

But this also has a drawback; once a AI platform has been given a specific attack order for a specific vessel, it will from then on ignore all other targets and threats and attack this one target only. Not even giving it a different attack order afterwards shuts this behaviour down, seems to be some sort of bug in the Mission Editor.
_________________
Te Kaha's Missions

America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
Scion


Joined: Feb 27, 2002
Posts: 549
From: Wellington, New Zealand
Posted: 2003-01-06 06:27   
I tried that, but the sub didn't fire... do they have to be enemys? I have them as allies, but if they were enemys then they would attack at any time wouldn't they?
_________________
All Ships can dive...Only Subs can Surface
Email: scion@paradise.net.nz
ICQ: 145621235
AIM: AO3Smith
Y!: ao3smith


  View Profile of Scion   Email Scion   Goto the website of Scion   ICQ status             Edit/Delete This Post   Reply with quote
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2003-01-06 06:39   
Yes has to be enemy, there's no way to have the AI attack vessels from the same side (i.e. "country colour") or allied and neutral ones.

I see, you want -

i) A friendly vessel attacking nothing for a while then attack a specific vessel only?

ii) The target vessel to turn enemy/rebel?

As for i)...

Give it a "Transit" string of waypoints. (In "Transit" vessels don't use their sensors, thus detect nothing and thus do nothing)

At the last "Transit" waypoint, attach another string of waypoints, but this time with "Transit Search" (this should make the vessel using its sensors) - and then give it at one waypoint the said attack order.

ii) that's tricky. Maybe doing a dynamic group coupled with a goal works, which removes the "allied vessel" and replaces it with a "enemy vessel" (i.e. different country colour) of the same class and entity at a certain time and certain place.

This way, the friendly suddenly turns enemy - but i haven't tried this myself either.
_________________
Te Kaha's Missions

America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2003-01-06 06:44   
Wait. If no enemy vessel exists so far, there's no need to give the attacker a "Transit" string of waypoints either...

So, the dynamic group only should be sufficient.

Depends on what you want specifically. Got ICQ running?
_________________
Te Kaha's Missions

America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
Scion


Joined: Feb 27, 2002
Posts: 549
From: Wellington, New Zealand
Posted: 2003-01-06 07:01   
Yup - in my profile...
_________________
All Ships can dive...Only Subs can Surface
Email: scion@paradise.net.nz
ICQ: 145621235
AIM: AO3Smith
Y!: ao3smith


  View Profile of Scion   Email Scion   Goto the website of Scion   ICQ status             Edit/Delete This Post   Reply with quote
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2003-01-06 07:02   
Sent you a request thing there...
_________________
Te Kaha's Missions

America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
Lock this Topic Move this Topic Delete this Topic
Powered by phpBB Version 1.4.4
Copyright © 2000 - 2001 The phpBB Group

phpBB Created this page in 0.043415 seconds.