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

Rules.ini: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:


==File Locations==
==File Locations==
{| align="center" cellpadding="4" class="table_descrow"
{| align="center" cellpadding="4" class="wikitable"
!Game
!Game
!Location
!Location
Line 29: Line 29:
|{{tt|expandmd01.mix}}
|{{tt|expandmd01.mix}}
|Called {{tt|rules'''md'''.ini}}, for '''m'''ission '''d'''isk.
|Called {{tt|rules'''md'''.ini}}, for '''m'''ission '''d'''isk.
|-
|[[Mental Omega]]
|{{tt|expandmo99.mix}}
|Called {{tt|rules'''mo'''.ini}}, for '''M'''ental '''O'''mega.
|}
|}



Revision as of 04:48, 14 February 2024

The rules.ini (naming variations for expansions) is the core file of C&C modding. As indicated by the name, it contains the "rules" of the game – the properties of every object, weapon, warhead, etc. in the game. For any C&C game from Red Alert to Yuri's Revenge, this is the main modification file. For Generals and everything else based on the SAGE engine, the INI-system is more complex and wide-spread.

Disregarding the side functions of the other various INI files (like ai.ini or art.ini), there is no way to make any changes to the game other than what the rules.ini allows for1. Not everything in the game is customizable. Features that cannot be modified are called "hardcoded" features.


File Locations

Game Location Notes
Red Alert redalert.mixlocal.mix
Tiberian Sun tibsun.mixlocal.mix The patches add a new rules.ini to patch.mix
Firestorm expand01.mix rules-equivalent is called firestrm.ini, the mix also contains a new rules.ini for regular TS.
Red Alert 2 ra2.mixlocal.mix
Yuri's Revenge expandmd01.mix Called rulesmd.ini, for mission disk.
Mental Omega expandmo99.mix Called rulesmo.ini, for Mental Omega.

Footnotes

1 An exception to this would be pd's RockPatch.

See Also