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

Difference between revisions of "Rules.ini"

From ModEnc
Jump to: navigation, search
m (Added to category (wow...and it's only 2 AM!))
(17 intermediate revisions by 11 users not shown)
Line 1: Line 1:
The rules.ini (rulesmd.ini for [[Yuri's Revenge|YR]]) is the core file of C&C Modding. As indicated by the name, it includes the "rules" of the game, i.e. the properties of every object, weapon, warhead, etc. in the game. This is the main file you're editing when you're modding any C&C from [[Red Alert|RA]] to [[Yuri's Revenge|YR]]. For [[Generals]] and everything else basing on the [[SAGE]] [[engine]], the INI-system was changed to a more complex, wide-spread one.<br><br>
+
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 &ndash; the properties of every object, weapon, warhead, etc. in the game. For any C&C game from {{Ra}} to {{Yr}}, 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.
  
Keep in mind, though, that there are two sides of the medal: On one hand, you can edit almost everything in the game from the rules.ini, on the other hand, if you can't change something in the rules, you can't change it anywhere. There's a 99,9% chance that it's [[hardcoded]]. (Except, of course, it's [[art]]-related. Then you still have a chance ;))<br><br>
+
Disregarding the side functions of the other various [[INIs|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 for{{fnl|1}}. Not everything in the game is customizable. Features that cannot be modified are called [[hardcoded|"hardcoded"]] features.
The rules.ini of RA2 is located in RA2.mix --> local.mix, the YR one is located in expandmd01.mix
 
<br><br>
 
*See also: [[art|art.ini]]
 
*See also: [[INIs]]
 
*See also: [[Ini_commenting]]
 
  
[[Category:General_Editing_Information]]
+
 
 +
==File Locations==
 +
{| align="center" cellpadding="4" class="table_descrow"
 +
!Game
 +
!Location
 +
!Notes
 +
|-
 +
|{{ra}}
 +
|{{tt|redalert.mix}} {{Arr|r}} {{tt|local.mix}}
 +
|
 +
|-
 +
|{{ts}}
 +
|{{tt|tibsun.mix}} {{Arr|r}} {{tt|local.mix}}
 +
|The patches add a new rules.ini to {{tt|patch.mix}}
 +
|-
 +
|{{fs}}
 +
|{{tt|expand01.mix}}
 +
|rules-equivalent is called {{tt|firestrm.ini}}, the mix also contains a new {{tt|rules.ini}} ''for regular TS''.
 +
|-
 +
|{{ra2}}
 +
|{{tt|ra2.mix}} {{Arr|r}} {{tt|local.mix}}
 +
|
 +
|-
 +
|{{yr}}
 +
|{{tt|expandmd01.mix}}
 +
|Called {{tt|rules'''md'''.ini}}, for '''m'''ission '''d'''isk.
 +
|}
 +
 
 +
==Footnotes==
 +
{{fn|1|An exception to this would be pd's [[RockPatch]].}}
 +
 
 +
== See Also ==
 +
*[[Art.ini]]
 +
*[[Sound.ini]]
 +
*[[Hardcoded|Hardcoded features]]
 +
*[[:Category:Rules(md).ini Sections|Rules(md).ini Sections]]
 +
*[[:Category:Rules(md).ini Flags|Rules(md).ini Flags]]
 +
*[[:Category:Lists_of_Applicable_INI_Flags|Lists of Applicable INI Flags]]
 +
 
 +
[[Category:General Editing Information]]
 +
[[Category:INI Files]]
 +
 
 +
__NOTOC__

Revision as of 17:09, 25 July 2016

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.

Footnotes

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

See Also