Previous problem solved, now I have another problem -1 reply

Please wait...

RebmaBoss

Slightly cooler than a n00b

50 XP

4th February 2008

0 Uploads

29 Posts

0 Threads

#1 10 years ago

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!




Achilles

I stole fire from the lighter!

50 XP

13th January 2003

0 Uploads

1,596 Posts

0 Threads

#2 10 years ago

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.




Guest

I didn't make it!

0 XP

 
#3 10 years ago

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;



RebmaBoss

Slightly cooler than a n00b

50 XP

4th February 2008

0 Uploads

29 Posts

0 Threads

#4 10 years ago

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.




Guest

I didn't make it!

0 XP

 
#5 10 years ago

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.




Achilles

I stole fire from the lighter!

50 XP

13th January 2003

0 Uploads

1,596 Posts

0 Threads

#6 10 years ago

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.




RebmaBoss

Slightly cooler than a n00b

50 XP

4th February 2008

0 Uploads

29 Posts

0 Threads

#7 10 years ago

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)