![]() |
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?
|
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.
|
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). |
Re: make all AI\'s allied
So there are two factions of special monsters. When do I get to see them fight?
|
Re: make all AI\'s allied
Quote:
AIplayers.txt |
Re: make all AI\'s allied
Quote:
|
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. |
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. |
Re: make all AI\'s allied
Um. Copy+paste, and increase the numbers by one each time. How hard could it be?
|
Re: make all AI\'s allied
Not hard, but boring. Achieving a boring thing is actually much harder than achieving a hard one.
|
Re: make all AI\'s allied
Quote:
|
Re: make all AI\'s allied
Taking this thread to the side:
I have always seen the independents and special monster nation numbers on the list, but ignored them. What would happen if I assigned a province and maybe even a pretender to one of these in a map edit? Would they become an additional nation? Or would they get chopped because they are not in the nation setup menu? |
Re: make all AI\'s allied
You're likely to get Very Interesting results, but what those results would be, nobody knows.
|
Re: make all AI\'s allied
I set up a map setting up a #specstart for nation 24 and it did not appear in the specified province. I guess that because it wasn't in the nation setup menu it didn't get placed, although I did use random for the nation.
Is it possible that there was an era conflict? I have seen that before with typos. |
Re: make all AI\'s allied
Quote:
|
Re: make all AI\'s allied
Quote:
|
Re: make all AI\'s allied
Quote:
|
Re: make all AI\'s allied
Agreed that Wikd Thots is rude (habitually). However, I can't think that this could be done so easily in Excel - but I could do it in a minute or so in Perl. All I'd need is the highest nation number in the game. Do you know what it is Edi (don't have the database here)?
|
Re: make all AI\'s allied
The nation numbers range from 0 to 70.
|
Re: make all AI\'s allied
It is actually very easy to do in Excel. Just add "#allies 1 " to two cells, select, drag down until you have 70, then "#allies 2 " and so forth. Then the next column gets 1, dragged down so it autoincrements, then repeat for others. Copy paste the whole lot to a text editor and replace all tabs with a single space and eliminate the rest. Done.
Still a lot more work than with a script. Nation numbers go from 0 to 70, with 23, 24 and 25 as special monsters and several others currently not in use. You need to refer to the DB to see which lines need to be eliminated. |
Re: make all AI\'s allied
1 Attachment(s)
Okay, here is a complete set, allying every nation from 1 to 70 with every other nation, with nation numbers 23, 24 and 25 excluded. Hope it's helpful.
|
Re: make all AI\'s allied
Thank you llamabeast.
To the others: I wasn't trying to be demanding. I asked nice in the first post. But I did not ask how to do it. So it's just that answers like "it is easy to do" strike me as unfriendly answers. From the download count it seems that others also did not rush to do the "easy" answers. |
All times are GMT -4. The time now is 06:43 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.