ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
VeteranAircraft: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m A bit more detail on the "double SHAD" bug would be nice... |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
This tag is used to list aircraft that can be built as veterans by certain countries. The tag should be included under the relevant country header in the [[Country Statistics]] section i.e. | {{Flag | ||
|name=VeteranAircraft | |||
|files={{Categ|Rules(md).ini}} | |||
|values=Comma-separated list of strings | |||
|default=None | |||
|types={{Categ|Countries}} | |||
|ra2=yes | |||
|yr=yes | |||
|rp=yes | |||
}} | |||
This tag is used to list aircraft that can be built and start the game as veterans by certain countries. The tag should be included under the relevant country header in the [[Country Statistics]] section i.e. | |||
[Germans] | [Germans] | ||
VeteranAircraft=ORCA | VeteranAircraft=ORCA | ||
The aircraft listed must also be listed under the [AircraftTypes] | The aircraft listed must also be listed under the [{{f|AircraftTypes|link}}] list and should be owned by the country in question to prevent possible errors. | ||
{{Trap}}In {{ra2}} and {{yr}}, the unmodded {{ini|rules}} file includes this statement: | |||
[British] | |||
'';VeteranAircraft=SHAD'' | |||
Uncommenting it will cause errors, because SHAD is listed under {{f|VehicleTypes|link}}, so there will be two instances of SHAD on the sidebar. | |||
One behaves like a JumpJet VehicleType, the other like an AircraftType (rotors don't move, for example). | |||
[[Category:Rules(md).ini Flags]] |
Latest revision as of 21:22, 13 August 2018
Flag: | VeteranAircraft |
File(s): | Rules(md).ini |
Values: | Comma-separated list of strings |
Default: | None |
Applicable to: | Countries |
This tag is used to list aircraft that can be built and start the game as veterans by certain countries. The tag should be included under the relevant country header in the Country Statistics section i.e.
[Germans] VeteranAircraft=ORCA
The aircraft listed must also be listed under the [AircraftTypes] list and should be owned by the country in question to prevent possible errors.
Warning: The default INI files contain commented out or unexplained usage of this flag/section which, when restored (often simply out of curiousity), results in problems that are hard to trace and are seemingly unrelated.
In Red Alert 2 and Yuri's Revenge, the unmodded rules(md).ini file includes this statement:
[British] ;VeteranAircraft=SHAD
Uncommenting it will cause errors, because SHAD is listed under VehicleTypes, so there will be two instances of SHAD on the sidebar. One behaves like a JumpJet VehicleType, the other like an AircraftType (rotors don't move, for example).