If VersionLessThan 1.1.2 Message "This mod must be installed by OBMM version 1.1.2 or later to prevent install script errors." FatalError EndIf IfNot ScriptExtenderNewerThan 0.0.20.0 If DataFileExists "..\\obse_steam_loader.dll" Message "This mod requires Oblivion Script Extender v0020 or higher to work. You appear to have the steam version of OBSE installed without obse_loader.exe. Without obse_loader.exe OBMM cannot detect what version of OBSE you have installed, so this mod may not work correctly." "WARNING - OBSE REQUIRED" Else Message "This mod requires Oblivion Script Extender v0020 or higher and has been disabled." "WARNING - OBSE REQUIRED" FatalError EndIf EndIf AllowRunOnLines DontInstallDataFolder "menus" Message "Realistic Leveling needs a levelup menu with the attribute bonus selection parts removed. Other mods%NewLine%like DarNified UI or DarkUI'd DarN have compatible levelup menus, but they usually also remove the level%NewLine%progress meter from the stats menu. For a working level progress meter, do not select the KCAS-AF Menus%NewLine%option in other UI mods and instead overwrite their default levelup menu with one of the following." "Levelup Menu Required" SelectWithDescriptions "Select Levelup Menu.", \ "|Vanilla Levelup Menu", "Install the levelup menu for the normal UI. Select this if you don't use any customized user interface mod.", \ "DarnUI Levelup Menu", "Install the levelup menu for the Darn UI. Select this if you use the DarNified UI user interface mod.", \ "DarkUI Levelup Menu", "Install the levelup menu for the Dark UI. Select this if you use the DarkUI DarN user interface mod.", \ "No Levelup Menu", "Don't install a levelup menu. Select this if you have installed your own custom levelup menu with the attribute bonus selection parts removed." Case Vanilla Levelup Menu InstallDataFile "menus\\levelup_menu.xml" Break Case DarnUI Levelup Menu CopyDataFile "menus\\levelup_menu_darnui.xml" "menus\\levelup_menu.xml" Break Case DarkUI Levelup Menu CopyDataFile "menus\\levelup_menu_darkui.xml" "menus\\levelup_menu.xml" Break EndSelect SelectWithDescriptions "Select leveling mode.", \ "Vanilla Leveling", "This uses Realistic Leveling only for advancing attributes and not levels, so level advancement will use vanilla's default of 10 major skillups required to levelup.", \ "Silent Leveling", "You will level up automatically with no notification. This mode has the limitation that the world will not levelup with you until you go through a loading door or change cells.", \ "|Verbose Leveling (recommended)", "You will level up automatically and be notified by the levelup menu. This mode is more compatible than silent leveling and is the recommended mode.", \ "Sleep Leveling", "You will get notification by message and icon when you are ready to levelup, but you will not levelup until you sleep." Case Vanilla Leveling SetVar mode 1 Break Case Silent Leveling SetVar mode 2 Break Case Verbose Leveling (recommended) SetVar mode 3 Break Case Sleep Leveling SetVar mode 4 Break EndSelect SelectWithDescriptions "Select leveling rate and maximum level.", \ "Very Slow (55)", "This means your level will advance very slowly relative to your skills and you will reach a maximum level of 55 when all your skills are at 100.", \ "Slow (60)", "This means your level will advance slowly relative to your skills and you will reach a maximum level of 60 when all your skills are at 100.", \ "|Medium (65)", "This means your level will advance normally relative to your skills and you will reach a maximum level of 65 when all your skills are at 100.", \ "Fast (70)", "This means your level will advance fast relative to your skills and you will reach a maximum level of 70 when all your skills are at 100.", \ "Very Fast (75)", "This means your level will advance very fast relative to your skills and you will reach a maximum level of 75 when all your skills are at 100." Case Very Slow (55) SetVar levelMax 55 Break Case Slow (60) SetVar levelMax 60 Break Case Medium (65) SetVar levelMax 65 Break Case Fast (70) SetVar levelMax 70 Break Case Very Fast (75) SetVar levelMax 75 Break EndSelect SelectWithDescriptions "Select training sessions allowed per level.", \ "Vanilla (5)", "This is the normal vanilla number of training sessions allowed per level.", \ "Double (10)", "This is double the normal vanilla number of training sessions allowed per level.", \ "Triple (15)", "This is triple the normal vanilla number of training sessions allowed per level.", \ "|Unlimited (100)", "This setting makes training sessions effectively unlimited because you will levelup before you train this many times." Case Vanilla (5) SetVar iTrainingSkills 5 Break Case Double (10) SetVar iTrainingSkills 10 Break Case Triple (15) SetVar iTrainingSkills 15 Break Case Unlimited (100) SetVar iTrainingSkills 100 Break EndSelect EditXMLReplace "RealisticLeveling.ini", "", "%mode%" EditXMLReplace "RealisticLeveling.ini", "", "%levelMax%" EditXMLReplace "RealisticLeveling.ini", "", "%iTrainingSkills%" Message "RealisticLeveling is fully configurable by editing RealisticLeveling.ini in the Oblivion\\Data folder." "RealisticLeveling Configuration"