MichikoUnknownFox Posted May 15, 2010 Share Posted May 15, 2010 Hi. I'm currently making a new mod and I think it's a good idea to allow potential users of my mod when it's finished to fully customize its functions. I also love customizing functions myself, as many potentially great mods simply don't fit my game very well by their default settings, and therefore, I have to manually adjust them in the CS or remove them altogether, which I hope never happens to my mod. I also think that editing the INI is better than using a customization item in game, because you can write descriptive text about what each customizable function does, to allow the users to make informed decisions about settings and values. Also, it wouldn't clutter up the inventory this way. So anyway, the main question is how do I link an ini file to my mod for customization options? I already run the CS with OBSE, so that shouldn't be a problem, if it's an OBSE-only thing. OBSE doesn't seem to have documentation on it, and neither does the CS wiki (unless I'm just looking for the wrong tersm). Thanks in advance. :) Link to comment Share on other sites More sharing options...
Maskar Posted May 15, 2010 Share Posted May 15, 2010 Hi. I'm currently making a new mod and I think it's a good idea to allow potential users of my mod when it's finished to fully customize its functions. I also love customizing functions myself, as many potentially great mods simply don't fit my game very well by their default settings, and therefore, I have to manually adjust them in the CS or remove them altogether, which I hope never happens to my mod. I also think that editing the INI is better than using a customization item in game, because you can write descriptive text about what each customizable function does, to allow the users to make informed decisions about settings and values. Also, it wouldn't clutter up the inventory this way. So anyway, the main question is how do I link an ini file to my mod for customization options? I already run the CS with OBSE, so that shouldn't be a problem, if it's an OBSE-only thing. OBSE doesn't seem to have documentation on it, and neither does the CS wiki (unless I'm just looking for the wrong tersm). Thanks in advance. :) Use the RunBatchScript command for ini files. Example: Scn myscriptBegin GamemodeIf GetGameLoaded RunBatchScript "Data\myaddon.ini"EndifEnd Link to comment Share on other sites More sharing options...
MichikoUnknownFox Posted May 16, 2010 Author Share Posted May 16, 2010 Ooh thank you! :D Link to comment Share on other sites More sharing options...
Recommended Posts