ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "VeteranAircraft"

From ModEnc
Jump to: navigation, search
m (Adding trap)
m (A bit more detail on the "double SHAD" bug would be nice...)
 
(One intermediate revision by one other user not shown)
Line 15: Line 15:
 
  VeteranAircraft=ORCA
 
  VeteranAircraft=ORCA
  
The aircraft listed must also be listed under the [{{TTL|AircraftTypes}}] list and should be owned by the country in question to prevent possible errors.
+
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:
 
{{Trap}}In {{ra2}} and {{yr}}, the unmodded {{ini|rules}} file includes this statement:
Line 21: Line 21:
 
  '';VeteranAircraft=SHAD''
 
  '';VeteranAircraft=SHAD''
  
Uncommenting it will cause errors, because SHAD is listed under {{TTL|VehicleTypes}}, so there will be two instances of SHAD on the sidebar.
+
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]]
 
[[Category:Rules(md).ini Flags]]

Latest revision as of 22:22, 13 August 2018

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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.

Cc core.png
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).