.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   make all AI's allied (http://forum.shrapnelgames.com/showthread.php?t=36579)

Wikd Thots October 25th, 2007 12:59 PM

make all AI\'s allied
 
Can someone post the text file that would need to be added to a map to make all AI players allied against the human players?

NTJedi October 25th, 2007 01:17 PM

Re: make all AI\'s allied
 
Depends on what nation you're playing and what era you're playing... otherwise you'll be allied with the AIs as well.

Edi October 25th, 2007 01:18 PM

Re: make all AI\'s allied
 
#allies <nbr1> <nbr2>

for each pair that you wish to have allied. Going to be a LONG list of #allies commands in the map file if you want ALL AIs to be friendly among each other.

So just start with
#allies 1 2
...
#allies 1 <last nation number in era>
#allies 2 3
...
#allies 2 <last nation number in era>
#allies 3 4
etc.

Once you have that, you can copy-paste it to all map files. Just make sure you don't ally nations 23-25 with anyone or things could get VERY interesting (23 is independents and 24 and 25 are special monsters).

Folket October 25th, 2007 04:43 PM

Re: make all AI\'s allied
 
So there are two factions of special monsters. When do I get to see them fight?

Wikd Thots October 26th, 2007 11:45 AM

Re: make all AI\'s allied
 
Quote:

NTJedi said:
Depends on what nation you're playing and what era you're playing... otherwise you'll be allied with the AIs as well.

No the docs say that it only affects AIs. So even if it is your nation it should ignore it. I think Gandolph said something about that also. I was hoping to pull him back in to give us a file like he did this one.
AIplayers.txt

Wikd Thots October 26th, 2007 11:48 AM

Re: make all AI\'s allied
 
Quote:

Edi said:
Once you have that, you can copy-paste it to all map files. Just make sure you don't ally nations 23-25 with anyone or things could get VERY interesting (23 is independents and 24 and 25 are special monsters).

Right. That's what I was hoping for. "Once you have that". I thought some programmer could whip up something that would count the numbers and write them to a file. I sure don't want to do it manuall.

Edi October 26th, 2007 12:17 PM

Re: make all AI\'s allied
 
The problem is that there are gaps in the nation number list and not all nations in a given era are consecutive. E.g. Lanka is 68 and in EA, Eriu is 69 and in MA, Serpent Cult Pythium is 70 and in LA.

Consult the DB for an up to date list and how you need to do them. You are probably going to have to put them manually, unless you want to have everything from all eras allied on a SP map. That last one is easy to automatem just skipping 23, 24 and 25 allying with anything.

Wikd Thots October 27th, 2007 01:09 PM

Re: make all AI\'s allied
 
All in one would be fine since any that are not in that game would be ignored I think.

Except that would be a LOT of lines. But it would be easier to trim it down than to build it up.

Valandil October 27th, 2007 07:28 PM

Re: make all AI\'s allied
 
Um. Copy+paste, and increase the numbers by one each time. How hard could it be?

Endoperez October 27th, 2007 08:35 PM

Re: make all AI\'s allied
 
Not hard, but boring. Achieving a boring thing is actually much harder than achieving a hard one.


All times are GMT -4. The time now is 02:27 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.