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)
(12 intermediate revisions by 10 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.
  
== File locations ==
+
 
* RA version is in {{Tt|redalert.mix -> local.mix}}.
+
==File Locations==
* TS version is in {{Tt|tibsun.mix -> local.mix}}, the patches add a different version to {{Tt|patch.mix}}.
+
{| align="center" cellpadding="4" class="table_descrow"
* 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.)
+
!Game
* RA2 version is in {{Tt|ra2.mix -> local.mix}}.
+
!Location
* YR version (named {{Tt|rulesmd.ini}}) is in {{Tt|expandmd01.mix}}.
+
!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 ==
 
== See Also ==
*[[art|art.ini]]
+
*[[Art.ini]]
*[[INIs]]
+
*[[Sound.ini]]
*[[Ini_commenting]]
+
*[[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]]
  
[[Category:General_Editing_Information]]
+
__NOTOC__
[[Category: INI Files]]
 

Revision as of 18: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