I recently worked out a fairly involved formula for which ships the AI would target first, based on a number of variables (see below). I'm just wondering, is there anything I should do to edit it? It's a bit involved, so, if you want to use it, keep a calculator and some paper handy. This formula is intended primarily for FO, as that accepts numbers greater than 1 (I think). To modify this formula for A2, simply place the whole formula (except the variable to the left of the equal sign) over the result of the formula for the most threatening ship in the game (i.e. the one with the highest rating). For example, let's say your most threatening ship is a battleship with a rating of 87.65. You would divide the result of this formula for any other ship by that number (note that this number WILL vary depending on your build, and is used here only for demonstrative purposes). For vanilla up to 1.2.5 A2, the .odf command for this statistic is called intrinsicValue. I'm not sure what FO calls it, probably something similar.
Anywho, what is your opinion? Do you do it mathematically, or is your rating arbitrary? And is there anything I need to change?
That sir is some very nice calculations. I;ll need to study it further as up till now I have been rather arbitery with it. I like how it take manuverability into account. very nice work man.
CB, you're sic :D This formula is brutal! But it can be very useful if someone could implement it in a modder tool ;)
Have you worked out how the AI uses "intrinsicValue"? I've never looked at it before but i'm well aware personally that the AI always shoots up the smallest ships first in stock A2 (I used to use fleets of scouts to escort battleships) and battleships do have a higher intrinsicValue.
I dont know why they always seem to target scouts first but I think intrinsic value might only be used for AI and not targeting value.
Hmmm... Maybe intrinsicValue is reversed without anyone telling us, with the smaller numbers meaning a higher value. If so, simply divide 1 by the result of that whole equation to make battleships more valuable than, say, scouts.
I'm also working on an addition to the formula for having the ability to build/repair like a yard. That should be out soon.
Just saw this. Very very nice! Looks like you've put some serious work into it and some serious thought as well. I've been kinda winging it to try and get the AI to stop shooting scouts before battleships. I really enjoy it when people think outside the box. Keep it up!
I've made a slight upgrade to the formula: now, it takes into account the ability of the ship/station to build other ships/stations and to repair like a yard. I'm not sure if I'm going to add anything else, so stay tuned!
looks crazy maybe we need a tool to make it easier
I'm going to try and write one sooner or later.