Adjusting AI alliances
Adjusting AI alliances
Does anyone know how I could alter the AI teams so they will attack each other instead of them considering each other as "Friendlies"? I want to make it so the red and blue teams have AIs for each, but I've never figured out how I can get the AIs from the red and blue team indexes to attack one another, as their AI deems them friendlies for some reason and they don't fight. I've heard it might be doable with some scripting, but I don't know exactly what kind of scripting.
- 0m3g4Muff1n987
- Posts: 1421
- Joined: Thu Nov 23, 2006 8:17 am
- Location: Earth, unlike some people I know
- Contact:
![]() |
You don't need scripting at all! Open a scenario in sapien (or if it's something with AI spawns already in it, open it in guerilla to save time) and under encounters, find the one you want and in the team index drop-down list choose the one you want. The first one is red team, the 2nd is blue team, and the rest are against you. Trust me, even the one that says "human". Don't pay attention to what it says, just the numbers.
- Cryticfarm
- Posts: 3611
- Joined: Sat Dec 09, 2006 7:23 pm
- Location: canada
- Contact:
No, what I mean is that if you play, then the selected teams will either be allied to blue or red teams, so if I play the map, then If I join blue team, then the blue team AI won't shoot me, but will shoot the red team's AI, and vice versa. I want to adjust the actual alliances of the listed numbers- therefore, for example, I could have the "Human" alliance setting attack the "Player" team.