A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »Console question

Author Topic: Console question (3 messages, Page 1 of 1)
Moderators: Dennis

roviet1337
Joined: Feb 6, 2011

Lord of Admirals


Posted: Feb 7, 2011 03:46 PM    Msg. 1 of 3       
does anybody know the set_allegiance command and or how to properly use it? cuz i cant figure it out... any help would be greatly appreciated


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Feb 7, 2011 05:13 PM    Msg. 2 of 3       
Before you can comprehend what an allegiance does, you must learn what a team is. The team of an unit or an AI encounter is the team that the unit / encounter is affiliated with. For example, the player is always on team 1: player, and it is common practice to set marines to team 2: human and covenant to team 3: covenant. Note that this is for single player only; in multiplayer, red team is team 0 and blue team is team 1.

Now, in single player, you'll often times have enemy teams. If you choose to make certain teams band together and help each other, you use the ai_allegiance command. The player and the human teams are NOT automatically allied; in order to create an allegiance between the two teams, you must script it separately. Example:

(ai_allegiance player human)

This will create a bond between the player and human teams, with both cooperating as per the campaign. It will also inherit the trait in that if the player betrays the human teams (teamkilling marines as I'm sure many of you have done :V), the allegiance will break, and the marines will become the player's enemies (I'm sure you've also witnessed this).

In addition to creating allegiances, you can also break allegiances. For instance, if you have sentinel allies and an allegiance between the player team and the sentinels team, and you choose to break their allegiance as per the campaign, you can use the ai_allegiance_remove command. The syntax is similar to the allegiance command. Example:

(ai_allegiance_remove player sentinel)

This will effectively break the bond between the two teams.


roviet1337
Joined: Feb 6, 2011

Lord of Admirals


Posted: Feb 8, 2011 12:53 AM    Msg. 3 of 3       
oh thanks gamma sorry ive followed the forrums a long time i just havent made an acount :P but thanks for explainin anyways and it was really helpful

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 3:39 PM 110 ms.
A Halo Maps Website