.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   #allies <player> <player> map command question (http://forum.shrapnelgames.com/showthread.php?t=39899)

Hoplosternum July 31st, 2008 09:13 AM

#allies <player> <player> map command question
 
Does anyone know if this command works for a mix of Humans and AI’s?

According to the mapedit manual this does not affect Human players. But does it affect Computer controlled nations behaviour with Human controlled neighbours?

I am creating a scenario with teams and it would be nice if a nation went AI that it would not attack its teammates. There is no problem with the Human players attacking the AI.

Also I don’t know what &lt;player&gt; means? Should this be the nation number or something else? Most commands using &lt;player&gt; appear to be ex Dominions 2 commands and don’t work with Dominions 3. But the pdf does not say this no longer works.

Edratman July 31st, 2008 10:07 AM

Re: #allies <player> <player> map command question
 
The manual says that the command only works between AI nations because a human player can ignore it.

&lt;player&gt; is the nation number. It works all over the place in mod and map edits.

I have no idea if the ally command will work in the scenario you describe. Best way to find out is to test it yourself. Set up a game on a small map with 4 players. Ally all of them as you have shown, and start the game with all 4 as human. Then switch 3 of them to AI and see what happens.

I think it will work as you want, but wouldn't bet my lunch money on it.

NTJedi July 31st, 2008 04:50 PM

Re: #allies <player> <player> map command question
 
There is one game bug with this command which can cause one AI opponent to start attacking a previous AI ally. The bug is the result of the arena death match where an AI will send its pretender into the arena. If that pretender dies it will automatically switch into WAR mode against anyone who killed the pretender. This causes a one-way war where the other AI doesn't return the attacks and only defends until its pretender is also killed.

Unfortunately there's no workaround.

Hoplosternum August 1st, 2008 07:38 AM

Re: #allies <player> <player> map command question
 
Thanks both of you. I will test it out.

I just want to use it in a mp team game I am going to set up. There will be no AIs, but if anyone leaves the game and no replacement can be found it would be good if your now AI teammate at least doesn't attack you even if he no longer helps you.

This command seems that it may do this and the bug Jedi mentions probably won't affect this. But thanks for the information.


All times are GMT -4. The time now is 11:05 PM.

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