Anyone interested in writing a MilitaryAI?

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

Moderators: winston, another_commander

Post Reply
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Anyone interested in writing a MilitaryAI?

Post by Lestradae »

Hey,

while working on the RS successor "Oolite Shipyards Extension" I noticed that this could be a possibility to create a real role for the military.

My idea goes as such:

1. As I (will) have all Oolite ships in one go, I could create specific versions for the military via like_ship (both police and military scan class) and reintegrate those ships already military capable into that scheme.

2. I give those new naval variants of existing ships the prefix "Navy", i.e. "Navy Tiger Mark I" etc.

3. I add two roles to those ships: The until now defunct "military" and a subclass of that (i.e. "militarymedium", "militarybig", "militarycarrier" and "militaryflagship"). So they can now be called by a script according to where they shall appear in the future.

4. If there was a MilitaryAI for such ships, which could be modelled similar to the standard police AI`s, according to tech level, industry and form of government different types of ships might go on military patrols and thereby de facto constitute a visible navy.

Do I overlook something? Is that actually possible to do?

And if yes, are there people out there who would like to write one or two (perhaps different one for the four military subtypes I propose)?

@matt634: Interested, perhaps?

:?:

L
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 »

Stealing the hitspatrolAI.plist from Assassins should do the trick. This AI patrols the spacelanes looking for Thargoids. It will attack criminals if no Thargoids are about, but Bugs remain its primary target. :wink: Give this AI to the Main ship in the convoy and set up the smaller ships as escorts. They'll then hang on the wing of the big ship and when the big ship spots a target, they'll all attack as a group. I wrote it for the Special Ships added to the Geteve system when in the Assassins plot Geteve is over-run by a Thargoid invasion force. Its used by the Navy BattleBots, Navy Asps, GalCop Special Branch Asps and the Navy BattleBot Control Drones. Its desgined as a general Thargoid killer AI so should be fine. It's pretty brave and never runs whilst bugs remain in scanner range. You might want to tweek it slighly so some patrol from planet to w/p (heading out from the station) and some patrol the other way, but the AI should be basically ok.
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
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

...

Post by Lestradae »

Hi LittleBear,

thanks for the idea and the AI!

Will do 8)

Cheers

L
Post Reply