-
Notifications
You must be signed in to change notification settings - Fork 2
Naming conventions
DCxDemo edited this page Jul 30, 2023
·
4 revisions
Settings stored in LevelMod.ini are generally named as follows:
LM_[Category]_[var type letter][option name]
Example:
LM_Control_bWalliePlant=1
It denotes that the option is in control category, it's a boolean value and it toggles WalliePlant.
Option name better only describe the feature it affects, it's better to avoid inclusion of "IsDisabled" or "IsOn". This is mainly cause the function to check the setting is called IsSettingOn. So you naturally get IsSettingOn LM_Control_bWalliePlant