
ShadowFox0809
Joined: Feb 27, 2010
|
Posted: Mar 8, 2010 12:54 PM
Msg. 1 of 3
Are there such things? The term seems familiar to me...
For example, what dictates that your allies "forgive" you after a certain amount of time has passed by?
I'm attempting to write a script that modifies that one (in the map I'm using)
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Mar 8, 2010 05:32 PM
Msg. 2 of 3
(ai_allegiance [team] [team]) creates an allegiance between two teams.
(ai_allegiance_remove [team] [team]) destroys an allegiance between two teams.
(ai_allegiance_broken [team] [team]) returns whether two teams have an allegiance that is currently broken by traitorous behavior
These are the commands you can use to make or break alliances. Do with them what you will. But, it's unlikely that you'll be able to set up a "betray and forgive" kind of thing like the one between you and marines in the campaign (or anything like it), mainly because it's very hard to determine who killed something through scripts.
And you might think "well, it's in the campaign scripts, so it must be possible" Well, that's the thing. It's not. It's probably something hard-coded with the marine AI type or the Human team. There are no scripts that control this and it only works between you and marines exclusively for whatever reason. Edited by Me KS on Mar 8, 2010 at 05:32 PM
|