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 (Little template fix)
(better formatting)
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 includes 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>
+
Discounting the side functions of the other various [[INIs|INI files]], including [[ai.ini]] and [[art.ini]], there is no way to make any changes to the game other than what the rules.ini allows for. An exception to this would be pd's [[RockPatch]]. Not everything in the game is customizable. Features that cannot be modified are called "[[hardcoded]]" features.
  
== File locations ==
+
== File Locations ==
* RA version is in {{Tt|redalert.mix -> local.mix}}.
+
 
* TS version is in {{Tt|tibsun.mix -> local.mix}}, the patches add a different version to {{Tt|patch.mix}}.
+
=== Red Alert ===
* FS version (named {{Tt|firestrm.ini}}) is in {{Tt|expand01.mix}}. (This mix file also contains {{Tt|rules.ini}}, which introduces the generic gameplay changes to plain TS as well.)
+
{{tt|rules.ini}}, located in {{tt|redalert.mix}} {{Arr|r}} {{tt|local.mix}}
* RA2 version is in {{Tt|ra2.mix -> local.mix}}.
+
 
* YR version (named {{Tt|rulesmd.ini}}) is in {{Tt|expandmd01.mix}}.
+
=== Tiberian Sun ===
 +
{{tt|rules.ini}}, located in {{tt|tibsun.mix}} {{Arr|r}} {{tt|local.mix}}
 +
: The patches add a new rules.ini to {{tt|patch.mix}}
 +
 
 +
=== Firestorm ===
 +
{{tt|firestorm.ini}}, located in {{tt|expand01.mix}}
 +
: Expand01.mix also contains a new rules.ini for the Firestorm-installed, regular Tiberian Sun game.
 +
 
 +
=== Red Alert 2 ===
 +
{{tt|rules.ini}}, located in {{tt|ra2.mix}} {{Arr|r}} {{tt|local.mix}}
 +
 
 +
=== Yuri's Revenge ===
 +
{{tt|rulesmd.ini}}, located in {{tt|expandmd01.mix}}
  
 
== See Also ==
 
== See Also ==
*[[art|art.ini]]
+
*[[:Category:Rules(md).ini Sections]]
 +
*[[:Category:Rules(md).ini Flags]]
 
*[[INIs]]
 
*[[INIs]]
 
*[[Ini_commenting]]
 
*[[Ini_commenting]]
Line 17: Line 30:
 
[[Category:General_Editing_Information]]
 
[[Category:General_Editing_Information]]
 
[[Category: INI Files]]
 
[[Category: INI Files]]
 +
 +
__NOTOC__

Revision as of 14:36, 10 September 2006

The rules.ini (naming variations for expansions) is the core file of C&C modding. As indicated by the name, it includes 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.

Discounting the side functions of the other various INI files, including ai.ini and art.ini, there is no way to make any changes to the game other than what the rules.ini allows for. An exception to this would be pd's RockPatch. Not everything in the game is customizable. Features that cannot be modified are called "hardcoded" features.

File Locations

Red Alert

rules.ini, located in redalert.mixlocal.mix

Tiberian Sun

rules.ini, located in tibsun.mixlocal.mix

The patches add a new rules.ini to patch.mix

Firestorm

firestorm.ini, located in expand01.mix

Expand01.mix also contains a new rules.ini for the Firestorm-installed, regular Tiberian Sun game.

Red Alert 2

rules.ini, located in ra2.mixlocal.mix

Yuri's Revenge

rulesmd.ini, located in expandmd01.mix

See Also