Jump to content

MultiplayerAICM: Difference between revisions

From ModEnc²
en>DCoder
m See Also
en>EvilRenegade
m Replacing Template:TTL with Template:F.
Line 7: Line 7:
}}
}}


Each AI player whose country is {{TTL|MultiplayPassive|no}} gets an additional amount of cash at the beginning of the match. The amount is:
Each AI player whose country is {{f|MultiplayPassive|no|link}} gets an additional amount of cash at the beginning of the match. The amount is:
  int availMoney = House->Available_Money(); ''// in this case that is the money that house starts with''
  int availMoney = House->Available_Money(); ''// in this case that is the money that house starts with''
  int AICM = Rules->MultiplayerAICM[House->AI_Difficulty];
  int AICM = Rules->MultiplayerAICM[House->AI_Difficulty];

Revision as of 10:19, 27 November 2009

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: MultiplayerAICM
File(s): rules(md).ini
Values: Comma-separated list of integers. (Limited to: integers, one for each Difficulty level)
Applicable to: General


Each AI player whose country is MultiplayPassive=no gets an additional amount of cash at the beginning of the match. The amount is:

int availMoney = House->Available_Money(); // in this case that is the money that house starts with
int AICM = Rules->MultiplayerAICM[House->AI_Difficulty];
int bonus = AICM * 0.01 * availMoney;
House->GiveMoney(bonus);

In other words, this value is a percentage of the starting credits that the AI gets on top of the usual starting amount.

See Also