07.10.2008, 14:44:03
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.
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.