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

Difference between revisions of "INI-Editing"

From ModEnc
Jump to: navigation, search
(Added DCoder's part)
Line 9: Line 9:
 
<li>Bad techlevel, prerequistites, and/or owners.</ul>
 
<li>Bad techlevel, prerequistites, and/or owners.</ul>
  
 +
== Things you have to know (by DCoder) ==
  
 +
Before you start reading the tutorials, reade this article to make sure you know what is necessary.
 +
 +
*INI files are case-sensitive. This isn't stressed enough. The files are case-sensitive, so if you reference a weapon called BIGGUN, you have to have [BIGGUN], not [BigGUn], not [BiGGUN], not [biggun], not [BIGGUn] or any other way. It's spelling must be consistent.
 +
*You can use spaces between [ brackets ], but it's best not to.
 +
*Some of the INI files need some dummy lines in the end, else they won't work. This is because of a parsing bug in the RA2 code, which prevents the last section from being read correctly.
 +
*Read the [[DeeZire]]'s [[INI Editing Guide]]. It is an invaluable source of information.
 +
*Read the [[Glossary of Common Editing Terms]]
 +
<br><br>
 
* See also: [[NCO-Bug]]
 
* See also: [[NCO-Bug]]

Revision as of 16:14, 11 August 2004

The process of editing the Engine's INI-Files. This is technically equal to "modding", as in the moment you edited the INIs, you modified the game.

In the case of CnC games, this can either be done with a normal text editor like wordpad (as most people do), or with a special tool like TibEd.

Common INI Coding Mistakes (by Kravvitz)

  • Spelling and capitalization errors.
  • Missing list entry.
  • Missing art(md).ini entry.
  • Bad techlevel, prerequistites, and/or owners.

Things you have to know (by DCoder)

Before you start reading the tutorials, reade this article to make sure you know what is necessary.

  • INI files are case-sensitive. This isn't stressed enough. The files are case-sensitive, so if you reference a weapon called BIGGUN, you have to have [BIGGUN], not [BigGUn], not [BiGGUN], not [biggun], not [BIGGUn] or any other way. It's spelling must be consistent.
  • You can use spaces between [ brackets ], but it's best not to.
  • Some of the INI files need some dummy lines in the end, else they won't work. This is because of a parsing bug in the RA2 code, which prevents the last section from being read correctly.
  • Read the DeeZire's INI Editing Guide. It is an invaluable source of information.
  • Read the Glossary of Common Editing Terms