This time, I've provided the file as an attachment so that you can look at it to know what I'm talking about. (The file is federation.txt, but the actual file is federation.aip.)
In theory, the following file should cause the computer to do pretty much nothing--no exploring, no defending, no attacking, nothing but building. It's not working, so is there something I'm doing wrong? Thanks!
the priorities are screwed up, since they are all the same they are all equally important, no matter the number.
try lowering the ships used for each command.
As Achilles says, try lowering the ships (example below)
// How much force to use for escorting int min_escort_force = 50; int max_escort_force = 200; int min_perimeter_force = 50; int max_perimeter_force = 200; int max_defense_force = 50; int min_defense_force = 200; int min_exploration_force = 50; int max_exploration_force = 200; int min_attack_force = 50; int max_attack_force = 200;
change this to
// How much force to use for escorting int min_escort_force = 0; int max_escort_force = 0; int min_perimeter_force = 0; int max_perimeter_force = 0; int max_defense_force = 0; int min_defense_force = 0; int min_exploration_force = 0; int max_exploration_force = 0; int min_attack_force = 0; int max_attack_force = 0;
Let me rephrase my question.
I want the computer to avoid attacking UNTIL it gets at least 50 ships. But even with the minimum set to 50, the computer attacks with fewer ships, so this attachment was a dummy file to see if I could find out what the problem was.
This next file shows what I had before. Because of all the values I had for escorting/defending/etc., I had decided to set all minimums to 50 to see if the computer would not attack until it had a force of 50 ships...it didn't work.
I don't Know much about this tuff but I have am idea int human_target_raw_bonus = 200 find this line and change the 200 to 0 or some other value smaller. I think from reading this it makes the AI really want to attack real players and may make that need so high it overides other settings. But I could be wrong.
see this here
double min_matching_force_ratio = 0.5;
that means you species attacks when it has half (or at least less than needed) the power required to get the job done, try boosting that a fair bit.
Still not working--I tried both ideas. (The file below is proof that I tried it)
I hope somebody will try out the file to see what I mean. After about 5 minutes on hard, the computer will attack with 4-8 ships instead of waiting until it has 50. Maybe it would help if I sent the build list as well, so it's also here. (I tried setting other minimum/maximum values to 0, and the game would not work)