AIBasePlanningSide: Difference between revisions
Appearance
en>Renegade {{arr|r}}ModEnc:Styleguide, rewrite |
No edit summary |
||
| (12 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{Flag | {{Flag | ||
| | |files={{categ|ini=rules}} | ||
| | |values={{values|signed integers}} | ||
| | |default=–1 | ||
| | |types={{categ|BuildingTypes}} | ||
| | |ra2=yes | ||
| | |yr=yes | ||
| | |||
}} | }} | ||
{{Tt|AIBasePlanningSide}} must be set on all [[BuildingTypes]] for the AI to be able to use them correctly, only the [[Sides|Side]] it belongs to will build it. | |||
{{ | In {{ra2}} and {{yr}}, every [[Sides|Side]] has its own version of a building, but due to the fact that every building has its [[Owner]] set to every [[Houses|House]], and the AI tends to ignore [[Prerequisite]] values, it needs a simple method of controlling which faction builds which building. | ||
Below is a table of acceptable values: | |||
{| | {| class="wikitable" | ||
! | |- | ||
!Side | ! Parameter !! Side Selected | ||
|- | |||
|‐1 | |||
|All sides | |||
|- | |- | ||
|0 | |0 | ||
|Allied ( | |Allied (aka GDI) | ||
|- | |- | ||
|1 | |1 | ||
|Soviet ( | |Soviet (aka NOD) | ||
|- | |- | ||
|2 | |2 | ||
| | |YuriCountry (YR only) | ||
|- | |||
|3 | |||
|Fourth Side (Requires engine extension) | |||
|- | |||
|... | |||
|Etc.. | |||
|- | |- | ||
|} | |} | ||
==Notes== | |||
On non-building [[TechnoTypes]], this tag only influences the [[Cameo Sorting]] order. | |||
{{ | {{Tt|AIBasePlanningSide}} affects the [[Stolen Tech Logic]]. | ||
Latest revision as of 05:37, 22 April 2025
|
|
|
|
|
|
| Flag: | AIBasePlanningSide |
| File(s): | rules(md).ini |
| Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
| Default: | –1 |
| Applicable to: | BuildingTypes |
AIBasePlanningSide must be set on all BuildingTypes for the AI to be able to use them correctly, only the Side it belongs to will build it.
In Red Alert 2 and Yuri's Revenge, every Side has its own version of a building, but due to the fact that every building has its Owner set to every House, and the AI tends to ignore Prerequisite values, it needs a simple method of controlling which faction builds which building.
Below is a table of acceptable values:
| Parameter | Side Selected |
|---|---|
| ‐1 | All sides |
| 0 | Allied (aka GDI) |
| 1 | Soviet (aka NOD) |
| 2 | YuriCountry (YR only) |
| 3 | Fourth Side (Requires engine extension) |
| ... | Etc.. |
Notes
On non-building TechnoTypes, this tag only influences the Cameo Sorting order.
AIBasePlanningSide affects the Stolen Tech Logic.





