Jump to content

How to make an ini file for my mod?


MichikoUnknownFox

Recommended Posts

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

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 myscript

Begin Gamemode

If GetGameLoaded

RunBatchScript "Data\myaddon.ini"

Endif

End

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...