AI Question

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

AI Question

Post by drew »

I've been trying to create a specific ship in my tianve.oxp, and I've managed it ok.

Now I'm wrestling with AI.

I've tried giving the ship route1traderAI and that seems to work quite nicely. But when I copied route1traderAI.plist to my OXPs AI folder and renamed it drewsAI.plist and assigned it in shipdata.plist it appeared to stop working (well, the ship was flying, but didn't react when fired upon - just sat there and got killed eventually)

Also, in combat, route1traderAI seems a bit of a wuss, I'd like a beefed up opponent ideally. I'd also like an AI that would take a dim view of 'fugitives', and attack on sight without provocation.

I'd like to be able to customise the 'distress' messages, so instead of the generic 'broadcastDistressMessage' I want to use commsMessage or similar.

Does anyone have a 'bountyhunterAI' I can pinch, or something similar?

Cheers,

Drew.

ps. This was my 500th post!
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

Modding either planetpatrolAI or route1patrolAI (in built) might be your best bet. Change the Cop type Comms messgaes to somthing non-cop like. These AIs fly a patrol and look for offenders or Thargoids. The planetpatrol heads for the planet, so you might need to change where its going.

The hitspatrolAI from assassins also does a patrol of the system without sending comms messages, so you could use that and just add some messages. This AI will attack offenders, but always attacks Thargoids in preference if any are about. Could also grab some bits from the randomhitspatrolAI and randomhitsplanetpatrolAI.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

Post by drew »

Thanks for that.

Is there any reason why a copied 'standard' AI wouldn't work inside an OXP? Can the new AI still reference standard AIs ok (eg. interceptAI) ?

Cheers,

Drew.
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

drew wrote:
Is there any reason why a copied 'standard' AI wouldn't work inside an OXP?
Have you tried the almighty Shift key?
Post Reply