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

Sidebar.YuriFileNames

From ModEnc
Jump to navigation Jump to search
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: Sidebar.YuriFileNames
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: Sides

This flag is part of Ares. Do not use it without Ares installed.



Whether to use a file naming rule similar to the original Yuri's sidec02md.mix.

Notes

The original Yuri faction's UI loads additional, independent radar and background images (and their palette files) from sidec02md.mix. These files override their corresponding assets from the Soviet faction's sidec02.mix.

Following the same logic, a custom faction's sidebar can also use separate files: radary.shp and radaryuri.pal instead of the default radar.shp and sidebar.pal.

For the exact filename structure, refer to Yuri's Revenge's original shape files located in the ra2md.mix/localmd.mix/sidec02md.mix file path.

The numeric index # in the filename sidec0#md.mix must match the value set in Sidebar.MixFileIndex.

The design purpose of this logic is to support independent palettes. It is not necessary to separate the set of files that use independent palettes and their palettes into files with the md suffix, as was done before. In other words, you can directly put radary.shp into sidec0#.mix without having to create a sidec0#md.mix file.

File Name Comparison Table
File Purpose Original Naming Rule Yuri-style Naming Rule
Radar Animation radar.shp radary.shp
Radar Palette sidebar.pal (Many other files also share this palette) radaryuri.pal
Background - Large bkgdlg.shp bkgdlgy.shp
Background - Medium bkgdmd.shp bkgdmdy.shp
Background - Small bkgdsm.shp bkgdsmy.shp
Background Palette uibkgd.pal uibkgdy.pal