MultiplayerAICM: Difference between revisions
Appearance
en>DCoder Rewrite per EXE |
m 5 revisions imported |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 2: | Line 2: | ||
|values={{values|intlist|integers, one for each Difficulty level}} | |values={{values|intlist|integers, one for each Difficulty level}} | ||
|types={{Categ|General}} | |types={{Categ|General}} | ||
|ts=yes | |||
|fs=yes | |||
|ra2=yes | |ra2=yes | ||
|yr=yes | |yr=yes | ||
| Line 7: | Line 9: | ||
}} | }} | ||
Each AI player whose country is {{ | Each AI player whose [[house]]/[[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]; | ||
| Line 13: | Line 15: | ||
House->GiveMoney(bonus); | 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. | 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 == | |||
*[[AIVirtualPurifiers]] | |||
Latest revision as of 21:59, 31 March 2025
|
|
|
|
|
|
| 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 house/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.





