.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old October 25th, 2007, 12:59 PM

Wikd Thots Wikd Thots is offline
BANNED USER
 
Join Date: May 2004
Location: Kali4nia
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Wikd Thots is on a distinguished road
Default 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?
Reply With Quote
  #2  
Old October 25th, 2007, 01:17 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default 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.
__________________
There can be only one.
Reply With Quote
  #3  
Old October 25th, 2007, 01:18 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default 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).
Reply With Quote
  #4  
Old October 25th, 2007, 04:43 PM

Folket Folket is offline
Major
 
Join Date: Sep 2005
Posts: 1,122
Thanks: 5
Thanked 2 Times in 2 Posts
Folket is on a distinguished road
Default Re: make all AI\'s allied

So there are two factions of special monsters. When do I get to see them fight?
Reply With Quote
  #5  
Old October 26th, 2007, 11:45 AM

Wikd Thots Wikd Thots is offline
BANNED USER
 
Join Date: May 2004
Location: Kali4nia
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Wikd Thots is on a distinguished road
Default 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
Reply With Quote
  #6  
Old October 26th, 2007, 11:48 AM

Wikd Thots Wikd Thots is offline
BANNED USER
 
Join Date: May 2004
Location: Kali4nia
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Wikd Thots is on a distinguished road
Default 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.
Reply With Quote
  #7  
Old October 26th, 2007, 12:17 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default 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.
Reply With Quote
  #8  
Old October 27th, 2007, 01:09 PM

Wikd Thots Wikd Thots is offline
BANNED USER
 
Join Date: May 2004
Location: Kali4nia
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Wikd Thots is on a distinguished road
Default 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.
Reply With Quote
  #9  
Old October 27th, 2007, 07:28 PM

Valandil Valandil is offline
Second Lieutenant
 
Join Date: Dec 2005
Location: Everywhere
Posts: 495
Thanks: 0
Thanked 13 Times in 1 Post
Valandil is on a distinguished road
Default Re: make all AI\'s allied

Um. Copy+paste, and increase the numbers by one each time. How hard could it be?
__________________
Unus vocis. Unus manus. Unus Universitas. Unus Deus. Is est meus fatum praeeo pro totus populus.
Ut est meus fortuna.

Reply With Quote
  #10  
Old October 27th, 2007, 08:35 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: make all AI\'s allied

Not hard, but boring. Achieving a boring thing is actually much harder than achieving a hard one.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:37 AM.


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