I'm trying to create a "you against the world" type scenario, where all the AIs fight against the human player. By use of MAKEAGRESSION statements every turn and disabling negotiations between the human player and Anybody, I have the AIs mostly attacking the human player (although some of them are still cordial or receptive when I check with the cheat menu). I tried this first with the vendetta flag and the total war flag, but there seems to be no substitute for using the events file.
The big problem is that the AIs all want to fight each other. I've tried the same setup with and without the "total war" flag; it doesn't seem to matter, the AIs fight like cats and dogs. I don't really want the AIs trading techs and swapping units around, but I would like them to concentrate on the human player instead of wasting their firepower on each other.
Some rules.txt excerpts:
@IF
TURN
turn=every
@THEN
MAKEAGRESSION
who=Romans
whom=Apolytoners
@ENDIF
(repeated for each AI civ)
@IF
NEGOTIATION
talker=Anybody
talkertype=humanorcomputer
listener=Apolytoners
listenertype=humanorcomputer
@THEN
@ENDIF
@IF
NEGOTIATION
talker=Apolytoners
talkertype=humanorcomputer
listener=Anybody
listenertype=humanorcomputer
@THEN
@ENDIF
And, in an attempt to get AI attack units off their duffs:
@IF
TURNINTERVAL
interval=10
@THEN
MOVEUNIT
unit=Horsemen
owner=Romans
maprect
15,15, 83,15, 83,65, 15,65
moveto
55,47
numbertomove=ALL
@ENDIF
And similar constructs for each AI civ, for various units. I couldn't use Anyunit, because then the AI settlers wouldn't build new cities.
Things are mostly working: the AI units show up at my borders, and usually attack. The AIs never initiate conversation, and I can't talk to them. But when I go into cheat mode and look at the map, the AIs have large armies engaging each other. I'd prefer that those units were sent to harass the human player instead.
Any suggestions?
The big problem is that the AIs all want to fight each other. I've tried the same setup with and without the "total war" flag; it doesn't seem to matter, the AIs fight like cats and dogs. I don't really want the AIs trading techs and swapping units around, but I would like them to concentrate on the human player instead of wasting their firepower on each other.
Some rules.txt excerpts:
@IF
TURN
turn=every
@THEN
MAKEAGRESSION
who=Romans
whom=Apolytoners
@ENDIF
(repeated for each AI civ)
@IF
NEGOTIATION
talker=Anybody
talkertype=humanorcomputer
listener=Apolytoners
listenertype=humanorcomputer
@THEN
@ENDIF
@IF
NEGOTIATION
talker=Apolytoners
talkertype=humanorcomputer
listener=Anybody
listenertype=humanorcomputer
@THEN
@ENDIF
And, in an attempt to get AI attack units off their duffs:
@IF
TURNINTERVAL
interval=10
@THEN
MOVEUNIT
unit=Horsemen
owner=Romans
maprect
15,15, 83,15, 83,65, 15,65
moveto
55,47
numbertomove=ALL
@ENDIF
And similar constructs for each AI civ, for various units. I couldn't use Anyunit, because then the AI settlers wouldn't build new cities.
Things are mostly working: the AI units show up at my borders, and usually attack. The AIs never initiate conversation, and I can't talk to them. But when I go into cheat mode and look at the map, the AIs have large armies engaging each other. I'd prefer that those units were sent to harass the human player instead.
Any suggestions?
Comment