geordie wrote: ↑Sat May 13, 2023 6:59 am
How the Intel works for now as I do not chose a target empire? I have two wars now but all messages were about Feds. Probably because Roms are to powerful in that area.
Your 2 wars are against the Feds and the Roms then, correct?
Target civs are selected according to Status, and then colony count. That might explain why you're always targeting the Feds?
I can randomize the target (the code is actually there, commented out), if you feel it's better
Or create a pool with all potential target colonies instead, and randomize that instead - so that the chance of targeting a certain empire depends on how many potential target colonies that empire has (vs the other empires).
Right now, intel missions (only 1 per turn) are performed only against empires that are either Neutral or At War with the civ; sabotage actions are only performed vs empires the civ is At War with, though, and are less common (1/3).
A random colony is chosen as a target, but small colonies do not get targeted.
Attack strength is increased by the best unassigned (for now) agent with the appropriate skill(s).
The difference in Computers TL is also factored in.
Still ToDo:
Assign agents to intel
Multiple missions (at least one of each type) per turn
AI setting intel distributions (according to Trait)
Factor in target empire's best counter-intel agent
Improve infiltration level
Calculations for operatives getting caught (some effects are coded)
More outcomes for sabotage and espionage