The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 871 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.ini files read order
#1
Okay, so i have an idea here and i'm sure it have been brought up before somewhere. But i didn't see anything like this on this site so ill post it up.

Rules/Art/Sound/AI (md).ini files:

The probably worst thing when working on an complete Rules/Art/Sound/AI (md).ini file is that it's hard to track if you have made any errors, and if you accidentally edited any value in it that was not intended, because it's big, loads of comments etc. Of Course comments can be removed by programs and such but still.

So the idea is basicly like this: That you can have more than 1 of each .ini files at the same time and working the same way as the EXPAND## and ECACHE##. Thus allowing to add all modified stuff into 1 seperate ini file, making the mod smaller, easier to track and easier to remove/install. This could also work the same way as gamemode.ini(s) files and custom map codes. By doing like this, lets say i have first Rulesmd.ini unmodified and i also have a Erulesmd01.ini where i have all my modded code, etc.

Making it load Erulesmd01.ini ontop of rulesmd.ini, thus making all code in rulesmd.ini overwritten by all code in erulesmd.ini (which exist in rulesmd.ini) and all code that is not present in erulesmd01.ini will be loaded from rulesmd.ini. Like Layers.

This could be made for all .ini files or the ones we mod, could be discussed.

Shouldnt be to hard codewise since the logic already exists ingame but with other files.
Reply


Messages In This Thread
.ini files read order - by Guest - 07.10.2008, 14:44:03
RE: .ini files read order - by Beowulf - 08.10.2008, 01:06:02
RE: .ini files read order - by Bobingabout - 08.10.2008, 10:09:36
RE: .ini files read order - by Guest - 08.10.2008, 21:51:02
RE: .ini files read order - by Electro - 08.10.2008, 23:02:37
RE: .ini files read order - by Guest - 08.10.2008, 23:09:15



Users browsing this thread: 1 Guest(s)