Author Topic: Custom AI profile and AI classes for you  (Read 29085 times)

0 Members and 1 Guest are viewing this topic.

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Custom AI profile and AI classes for you
That third issue reported by Androgeos makes me hope I will run into it when haveing Infyrnos loaded.  :)
In fact, I did. When playing ToT demo Seraphims approached from a huge distance and when they reached station they were flying like that. Direct hit and one hit kill.  :)

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Custom AI profile and AI classes for you
I know, that's why I created a Turreted class which keeps the settings of the retail Captain class, in order to preserve balance :)
When you open a ship to ship editor in fred, AI classes in turrets do nothing at all. Flags that affect turrets do so through pilot AI. This means that you cannot have different AI classes for pilot and turrets on same ship, turrets will use pilot AI regardless of what you set in fred. So whether you actually specify ship AI class in ships.tbl or change pilot AI in fred, the end result is same.

Hopefully this would be corrected to 3.6.14, probably too late for 3.6.12.
« Last Edit: November 21, 2009, 11:44:38 am by Fury »

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Custom AI profile and AI classes for you
Hopefully this would be corrected to 3.6.14, probably too late for 3.6.12.
What with 3.6.13?
Is it that complicated, or maybe you'd just like to skip the unlucky number in the numeration?  :)

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Custom AI profile and AI classes for you
Even numbers = release builds.  So there will be no 3.6.11 or 3.6.13 etc. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Custom AI profile and AI classes for you
So 3.6.11 and 3.6.13 will have only Nightlies?
I thought there was a 3.6.9 final, but it most likely was just latest, most stable 3.6.9 nightly.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Custom AI profile and AI classes for you
Errm, no. 3.6.9 was as official a release as it gets.

However, the numbering scheme was changed recently, so from now on, dev releases will have an uneven number, stable releases an even one.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Custom AI profile and AI classes for you
Link in the first post updated once again. Sorry for quick update, but I think afterburner issue needed to be addressed ASAP.

Turns out that $Afterburner Use Factor is not really flexible. It only accepts integers where values are 1 = 100%, 2 = 50%, 3 = 33.33% and so on. So there's a huge drop between values 1 and 2. I fixed this by editing values across the board to 1, which makes the AI to use afterburners as often as they can, within their own logic. Hopefully Sushi can address this problem and give us the missing range between 100% and 50%.

Another more minor change is that there is higher chance of AI firing a missile at player especially at lower difficulties.

  

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Custom AI profile and AI classes for you
When you open a ship to ship editor in fred, AI classes in turrets do nothing at all. Flags that affect turrets do so through pilot AI. This means that you cannot have different AI classes for pilot and turrets on same ship, turrets will use pilot AI regardless of what you set in fred. So whether you actually specify ship AI class in ships.tbl or change pilot AI in fred, the end result is same.

Hopefully this would be corrected to 3.6.14, probably too late for 3.6.12.
Are you sure of that ? It may be a placebo effect, but I'm pretty sure that my bombers have their turrets firing at retail rate, much slower than if they used the same improved AI than the pilots. But I might be mistaken though.
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Custom AI profile and AI classes for you
Yep, tested it today and results were same by Wanderer.

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Custom AI profile and AI classes for you
Alright thanks, that will make implementation of new AI even quicker with my modified versions, cause I now just have to modify the default class of all turreted ships (excepted bombers) to Turreted and that's all.

And with further testing, I must say that the most noticeable part of customized AI is really the standardized turn rates. Believe me when I say that you don't want to fight a wing of Dragon with a General AI in Hard :p
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Custom AI profile and AI classes for you
I would like to ask people to test this attached ai.tbl (this is based on v4). Compare this ai.tbl to the one in ai_v4.zip and tell me which one has better dogfights and why. Thanks in advance.

Edit: Obsolete attachment removed
« Last Edit: December 04, 2009, 04:39:05 am by Fury »

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Custom AI profile and AI classes for you
Umm, anyone? (excluding QuantumDelta)

 

Offline Macfie

  • 210
  • If somebody made a campaign I've probably got it
Re: Custom AI profile and AI classes for you
It seems the AI is less agressive than in the version 4.  I liked the version 4 better because it seemed your wingman were more proactive in what they did.
« Last Edit: November 27, 2009, 10:14:09 pm by Macfie »
Normal people believe that if it isn't broke, don't fix it. Engineers believe that if it isn't broke, it doesn't have enough features yet.
The difference between Mechanical Engineers and Civil Engineers is:
Mechanical Engineers build weapons.  Civil Engineers build targets
An optimist sees the glass half full; the pessimist sees it half empty. An engineer sees that the glass is twice as big as it needs to be.

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Custom AI profile and AI classes for you
Thanks, that's what QuantumDelta said too. So I guess that's how it is. :)

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Custom AI profile and AI classes for you
If someone still has any interest into AI testing, here's some work for you. Open ai.tbl in ai_v4.zip
Find
Code: [Select]
$Stalemate Distance Threshold: 300, 300, 300, 300, 300
Replace all six lines with
Code: [Select]
$Stalemate Distance Threshold: 150, 150, 150, 150, 150

Once you've played and tested above values, please try these
Code: [Select]
$Stalemate Distance Threshold: 100, 100, 100, 100, 100

I'd appreciate if you would tell me what values you found best for typical FS2 dogfights. Thank you very much. :)

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Custom AI profile and AI classes for you
Link to v5 in the first post in this topic. This will quite likely be the last release unless I receive notable feedback or Sushi fixes/adds more AI stuff.

This release contains minor tweaks mostly, making very easy and easy difficulties easier and moving YES/NO flags to ai_profiles.tbl.

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Custom AI profile and AI classes for you
This is the AI used on the WiH trailer right? I'm trying out Into The Lion's Den on Medium and there is some slightly higher aggression here and there but I still see a lot of "clueless" Shivans.

And Apocalypse was utter bomb-rape, I lol'd. :lol:

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Custom AI profile and AI classes for you
You need a recent nightly for it to work. You'll also need to set the AI profile in the mission in FRED. You'll also want to check the AI classes assigned to the ships.

I just tried it out on WiH m07 and holy crap it makes a difference.

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Custom AI profile and AI classes for you
Unless the Antipode#4 build doesn't count, and aren't the three missions in this .zip already altered to use the AI?

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Custom AI profile and AI classes for you
Dunno, haven't tried 'em!