Jump to content

VeteranAircraft: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 12 revisions imported
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Lists the aircraft that can be produced and start the game at Veteran level for this country. These must be valid entries from the [AircraftTypes] list and be owned by this country or you may get Internal Errors.
|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]
VeteranAircraft=ORCA
 
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 22:11, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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).