Author Topic: AI allocating power to engines  (Read 2672 times)

0 Members and 1 Guest are viewing this topic.

Offline CommanderDJ

  • Software engineer
  • 210
AI allocating power to engines
It's me again, soliciting your help once more!
Is it possible to tell an AI-controlled ship to allocate more power to its engines? Because I have a mission where three ships (including the player) need to make their way to a distant asteroid field (about 8K away). The player and one other ship are Erinyes fighters, while the third is a Perseus. And what happens is as that the player, allocating full engine power and using the afterburner as much as possible, can pretty much keep up with the AI-controlled Perseus. However, the other Erinyes lags behind a ****load and ends up getting there many minutes later. Whilst the mission can go on, the Erinyes doesn't arrive until after a fairly important battle is over, and I don't exactly want to hold up the whole mission by preventing the battle from starting till the Erinyes gets there.
Thanks,

CommanderDJ
[16:57] <CommanderDJ> What prompted the decision to split WiH into acts?
[16:58] <battuta> it was long, we wanted to release something
[16:58] <battuta> it felt good to have a target to hit
[17:00] <RangerKarl> not sure if talking about strike mission, or jerking off
[17:00] <CommanderDJ> WUT
[17:00] <CommanderDJ> hahahahaha
[17:00] <battuta> hahahaha
[17:00] <RangerKarl> same thing really, if you think about it

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: AI allocating power to engines
You could use the autopilot and avoid those headaches (while probably creating a bunch of new ones. :p)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Sushi

  • Art Critic
  • 211
Re: AI allocating power to engines
Another trick to force the AI to use their afterburners is to give them a target to attack... not sure if you'll be able to use that or not.

 

Offline Enigmatic Entity

  • Exemplar Essayer
  • 28
  • Amigo ad infinitum.
Re: AI allocating power to engines
Another trick to force the AI to use their afterburners is to give them a target to attack... not sure if you'll be able to use that or not.

An invisible one about 3km behind the "meeting point" that departs or vanishes as the AI comes within 3km. Most weapons aren't able to go the 3km, so hopefully the AI doesn't look like it's attacking nothing. The AI will probably just follow you around after its target disappears.

You could also have it set to "defend or cover Alpha 1" until it gets to the waypoint/has a new objective. I think that gets them going as well. :)
Juvenescence and multifariousness is eternal.

 

Offline Solatar

  • 211
Re: AI allocating power to engines
Isn't there a stay near ship SEXP/order?

 

Offline Qent

  • 29
Re: AI allocating power to engines
Maybe make a copy of the Erinyes table entry with a boosted top speed. It still wouldn't use its burners but it could at least keep up.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: AI allocating power to engines
Maybe make a copy of the Erinyes table entry with a boosted top speed. It still wouldn't use its burners but it could at least keep up.

Shouldn't be necessary; the best option is to tell the Erinyes to attack an invisible nav buoy at the destination. Call it something like 'commencing'.

  

Offline CommanderDJ

  • Software engineer
  • 210
Re: AI allocating power to engines
After playing around with some of the stuff you guys suggested, I've simply set both ships to guard the player and although they still lag behind somewhat, I've added in some banter before the fight which gives them enough time to catch up before the enemies come in. Thanks for your help.
[16:57] <CommanderDJ> What prompted the decision to split WiH into acts?
[16:58] <battuta> it was long, we wanted to release something
[16:58] <battuta> it felt good to have a target to hit
[17:00] <RangerKarl> not sure if talking about strike mission, or jerking off
[17:00] <CommanderDJ> WUT
[17:00] <CommanderDJ> hahahahaha
[17:00] <battuta> hahahaha
[17:00] <RangerKarl> same thing really, if you think about it