Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scn PPAMCMScript
- string_var strModIndex
- short sDoOnce
- short iModIndex
- short iMaster
- short iMouseover
- short iOption
- short iSubMenu
- short iTemp
- float fTemp
- float fValue
- reference rList
- int hasDUI
- int altFont
- begin GameMode
- if GetGameRestarted
- if IsModLoaded "The Mod Configuration Menu.esp"
- set iMaster to GetModIndex "The Mod Configuration Menu.esp"
- set rList to BuildRef iMaster 2790
- ListAddForm rList PPAMCMMenuToken
- ListAddForm rList PPAMCMPillarMenuToken
- set hasDUI to (GetUIFloat "HUDMainMenu\_DUIF3") > 0
- endif
- endif
- end
- begin MenuMode 1013
- set iModIndex to GetModIndex "Powered Power Armor.esp"
- set strModIndex to NumtoHex iModIndex 2
- if sDoOnce == 0
- printc "%z" strModIndex
- set sDoOnce to 1
- ENDIf
- if IsModLoaded "The Mod Configuration Menu.esp"
- else
- Return
- endif
- if hasDUI
- set altFont to 3
- else
- set altFont to 1
- endif
- if GetUIFloat "StartMenu/MCM/_ActiveMod" == GetModIndex "Powered Power Armor.esp"
- set iOption to GetUIFloat "StartMenu/MCM/_ActiveOption"
- set fValue to GetUIFloat "StartMenu/MCM/_Value"
- if GetUIFloat "StartMenu/MCM/_ActiveMenu" == 1
- elseif GetUIFloat "StartMenu/MCM/_ActiveMenu" == 2
- endif
- if GetUIFloat "StartMenu/MCM/*:5/SubMenu1/_enable" == 0
- SetUIFloat "StartMenu/MCM/_ActiveSubMenu" 1
- SetUIFloat "StartMenu/MCM/*:5/SubMenu1/_enable" 1
- SetUIString "StartMenu/MCM/*:5/SubMenu1/text/string" "General Configuration"
- SetUIString "StartMenu/MCM/*:8/SubTitle1/string" "PPA Setup and Hotkeys"
- SetUIFloat "StartMenu/MCM/*:5/SubMenu2/_enable" 1
- SetUIString "StartMenu/MCM/*:5/SubMenu2/text/string" "Vision Settings"
- SetUIString "StartMenu/MCM/*:8/SubTitle2/string" "Enable FOV Options and Limits"
- SetUIFloat "StartMenu/MCM/*:5/SubMenu3/_enable" 1
- SetUIString "StartMenu/MCM/*:5/SubMenu3/text/string" "PA MOD: Configuration"
- SetUIString "StartMenu/MCM/*:8/SubTitle3/string" "Settings for TRO and Stimjack (if owned)"
- SetUIFloat "StartMenu/MCM/*:5/SubMenu4/_enable" 1
- SetUIString "StartMenu/MCM/*:5/SubMenu4/text/string" "PA Weapons: Configuration"
- SetUIString "StartMenu/MCM/*:8/SubTitle4/string" "Settings for P.I.L.L.A.R. and related weapons (if owned)"
- endif
- set iSubMenu to GetUIFloat "StartMenu/MCM/_ActiveSubMenu"
- if GetUIFloat "StartMenu/MCM/_Reset" ;1 - RESET
- SetUIFloat "StartMenu/MCM/_Reset" 0
- SetUIFloat "StartMenu/MCM/*:1/_columns" 1
- if iSubMenu == 1
- SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:1/_title" "General PA Settings"
- SetUIFloat "StartMenu/MCM/*:1/*:1/_type" 0
- ; SetUIFloat "StartMenu/MCM/*:1/*:1/_type" 7
- ; SetUIString "StartMenu/MCM/*:1/*:1/value/*:1/string" strModIndex
- SetUIFloat "StartMenu/MCM/*:1/*:2/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:2/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:2/_title" "PA Explosions"
- SetUIFloat "StartMenu/MCM/*:1/*:2/_type" 4
- SetUIFloat "StartMenu/MCM/*:1/*:2/_value" PPAEnableKaboom
- SetUIFloat "StartMenu/MCM/*:1/*:3/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:3/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:3/_title" "PA Deconstruction"
- SetUIFloat "StartMenu/MCM/*:1/*:3/_type" 4
- SetUIFloat "StartMenu/MCM/*:1/*:3/_value" PPAEnableDeconstruction
- SetUIFloat "StartMenu/MCM/*:1/*:4/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:4/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:4/_title" "PA Scaling"
- SetUIFloat "StartMenu/MCM/*:1/*:4/_type" 4
- SetUIFloat "StartMenu/MCM/*:1/*:4/_value" PPAEnablePAScaling
- SetUIFloat "StartMenu/MCM/*:1/*:5/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:5/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:5/_title" "Jump Fall Fixer"
- SetUIFloat "StartMenu/MCM/*:1/*:5/_type" 4
- SetUIFloat "StartMenu/MCM/*:1/*:5/_value" PPAJFFGlobal
- SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:6/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:6/_title" "Power Drain Multiplier"
- SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 2.5
- SetUIStringEx "StartMenu/MCM/*:1/*:6/value/*:1/string" "%.1f" PPADrainMult
- SetUIFloat "StartMenu/MCM/*:1/*:7/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:7/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:7/_title" "Heat Multiplier"
- SetUIFloat "StartMenu/MCM/*:1/*:7/_type" 2.5
- SetUIStringEx "StartMenu/MCM/*:1/*:7/value/*:1/string" "%.1f" PPAHeatMult
- SetUIFloat "StartMenu/MCM/*:1/*:9/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:9/_title" "Hotkeys"
- SetUIFloat "StartMenu/MCM/*:1/*:10/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:10/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:10/_title" "Field Recharge"
- SetUIFloat "StartMenu/MCM/*:1/*:10/_type" 3
- SetUIStringEx "StartMenu/MCM/*:1/*:10/value/*:1/string" "%k" PPAKeyCfg
- SetUIFloat "StartMenu/MCM/*:1/*:11/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:11/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:11/_title" "Thermal Override"
- SetUIFloat "StartMenu/MCM/*:1/*:11/_type" 3
- SetUIStringEx "StartMenu/MCM/*:1/*:11/value/*:1/string" "%k" PPAKeyTRO
- SetUIFloat "StartMenu/MCM/*:1/*:12/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:12/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:12/_title" "Energy Pulse"
- SetUIFloat "StartMenu/MCM/*:1/*:12/_type" 3
- SetUIStringEx "StartMenu/MCM/*:1/*:12/value/*:1/string" "%k" PPAKeyEPG
- SetUIFloat "StartMenu/MCM/*:1/*:13/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:13/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:13/_title" "Vision Mode Key"
- SetUIFloat "StartMenu/MCM/*:1/*:13/_type" 3
- SetUIStringEx "StartMenu/MCM/*:1/*:13/value/*:1/string" "%k" PPAKeyVision
- SetUIFloat "StartMenu/MCM/*:1/*:14/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:14/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:14/_title" "Vision Zoom Key"
- SetUIFloat "StartMenu/MCM/*:1/*:14/_type" 3
- SetUIStringEx "StartMenu/MCM/*:1/*:14/value/*:1/string" "%k" PPAKeyZoom
- elseif iSubMenu == 2
- SetUIFloat "StartMenu/MCM/*:1/_columns" 1
- SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:1/_title" "Vision Settings"
- SetUIFloat "StartMenu/MCM/*:1/*:2/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:2/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:2/_title" "FOV Scale"
- SetUIFloat "StartMenu/MCM/*:1/*:2/_type" 2
- SetUIFloat "StartMenu/MCM/*:1/*:2/_value" PPAFOVDefault
- SetUIFloat "StartMenu/MCM/*:1/*:3/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:3/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:3/_title" "Options without PA Helmet"
- SetUIFloat "StartMenu/MCM/*:1/*:4/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:4/_indent" 2
- SetUIString "StartMenu/MCM/*:1/*:4/_title" "Allow Scopeless Zoom"
- SetUIFloat "StartMenu/MCM/*:1/*:4/_type" 4
- SetUIFloat "StartMenu/MCM/*:1/*:4/_value" PPAEnableFOV1
- SetUIFloat "StartMenu/MCM/*:1/*:5/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:5/_indent" 2
- SetUIString "StartMenu/MCM/*:1/*:5/_title" "Auto Equip Binoculars if Available"
- SetUIFloat "StartMenu/MCM/*:1/*:5/_type" 4
- SetUIFloat "StartMenu/MCM/*:1/*:5/_value" PPAEnableFOV2
- SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:6/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:6/_title" "Options with PA Helmet"
- SetUIFloat "StartMenu/MCM/*:1/*:7/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:7/_indent" 2
- SetUIString "StartMenu/MCM/*:1/*:7/_title" "Allow Unaimed FOV adjustment"
- SetUIFloat "StartMenu/MCM/*:1/*:7/_type" 4
- SetUIFloat "StartMenu/MCM/*:1/*:7/_value" PPAEnableFOV3
- SetUIFloat "StartMenu/MCM/*:1/*:8/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:8/_indent" 2
- SetUIString "StartMenu/MCM/*:1/*:8/_title" "Allow Scoped Weapon Zoom"
- SetUIFloat "StartMenu/MCM/*:1/*:8/_type" 4
- SetUIFloat "StartMenu/MCM/*:1/*:8/_value" PPAEnableFOV4
- SetUIFloat "StartMenu/MCM/*:1/*:9/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:9/_indent" 2
- SetUIString "StartMenu/MCM/*:1/*:9/_title" "Allow Unscoped Weapon Zoom"
- SetUIFloat "StartMenu/MCM/*:1/*:9/_type" 4
- SetUIFloat "StartMenu/MCM/*:1/*:9/_value" PPAEnableFOV5
- SetUIFloat "StartMenu/MCM/*:1/*:10/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:10/_indent" 2
- SetUIString "StartMenu/MCM/*:1/*:10/_title" "Allow Vision Modes"
- SetUIFloat "StartMenu/MCM/*:1/*:10/_type" 4
- SetUIFloat "StartMenu/MCM/*:1/*:10/_value" PPAEnableFOV6
- elseif iSubMenu == 3
- SetUIFloat "StartMenu/MCM/*:1/_columns" 1
- SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:1/_title" "Thermal Regulator Override Settings"
- SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1 ;iEnableTRO
- SetUIString "StartMenu/MCM/*:1/*:1/_title" "Thermal Regulator Override Settings"
- SetUIFloat "StartMenu/MCM/*:1/*:2/_enable" 1 ;iEnableTRO
- SetUIString "StartMenu/MCM/*:1/*:2/_indent" 1
- SetUIFloat "StartMenu/MCM/*:1/*:2/_suffix" 1
- SetUIString "StartMenu/MCM/*:1/*:2/_suffixText" "%"
- SetUIString "StartMenu/MCM/*:1/*:2/_title" "Speed Boost %"
- SetUIFloat "StartMenu/MCM/*:1/*:2/_type" 2.5
- SetUIStringEx "StartMenu/MCM/*:1/*:2/value/*:1/string" "%.1f" PPATROBoost
- SetUIFloat "StartMenu/MCM/*:1/*:3/_enable" 1 ;iEnableTRO
- SetUIString "StartMenu/MCM/*:1/*:3/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:3/_title" "Strength Amplification Factor"
- SetUIFloat "StartMenu/MCM/*:1/*:3/_type" 2
- SetUIFloat "StartMenu/MCM/*:1/*:3/_value/" PPATROSAF
- SetUIFloat "StartMenu/MCM/*:1/*:4/_enable" 1
- SetUIString "StartMenu/MCM/*:1/*:4/_title" "StimJack Settings"
- SetUIFloat "StartMenu/MCM/*:1/*:5/_enable" 1 ;iEnableSJ
- SetUIString "StartMenu/MCM/*:1/*:5/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:5/_title" "Combat Regeneration HP/Sec"
- SetUIFloat "StartMenu/MCM/*:1/*:5/_type" 2
- SetUIFloat "StartMenu/MCM/*:1/*:5/_value" PPASJCombat
- SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 1 ;iEnableSJ
- SetUIString "StartMenu/MCM/*:1/*:6/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:6/_title" "Non-Combat Regeneration HP/Sec"
- SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 2
- SetUIFloat "StartMenu/MCM/*:1/*:6/_value" PPASJNonCombat
- SetUIFloat "StartMenu/MCM/*:1/*:7/_enable" 1 ;iEnableSJ
- SetUIString "StartMenu/MCM/*:1/*:7/_indent" 1
- SetUIString "StartMenu/MCM/*:1/*:7/_title" "Stimpack Reserve"
- SetUIFloat "StartMenu/MCM/*:1/*:7/_type" 2
- SetUIFloat "StartMenu/MCM/*:1/*:7/_value" PPASJReserve
- endif
- elseif GetUIFloat "StartMenu/MCM/_Default" ;2 - DEFAULT
- SetUIFloat "StartMenu/MCM/_Default" 0
- SetUIFloat "StartMenu/MCM/_Reset" 1
- if iSubMenu == 1
- set PPAEnableKaboom to 1
- set PPAEnableDeconstruction to 1
- set PPAEnablePAScaling to 0
- set PPAJFFGlobal to 1
- set PPADrainMult to 1
- set PPAHeatMult to 1
- set PPAKeyCfg to 25
- set PPAKeyTRO to 21
- set PPAKeyEPG to 48
- set PPAKeyVision to 51
- set PPAKeyZoom to 58
- elseif iSubMenu == 2
- set PPAFOVDefault to 75
- set PPAEnableFOV1 to 0
- set PPAEnableFOV2 to 1
- set PPAEnableFOV3 to 1
- set PPAEnableFOV4 to 1
- set PPAEnableFOV5 to 1
- set PPAEnableFOV6 to 1
- elseif iSubMenu == 3
- set PPATROBoost to .6
- set PPATROSAF to 1.2
- set PPASJCombat to 10
- set PPASJNonCombat to 5
- set PPASJReserve to 4
- endif
- elseif GetUIFloat "StartMenu/MCM/_NewValue" ;3 - NEW VALUE
- SetUIFloat "StartMenu/MCM/_NewValue" 0
- SetUIFloat "StartMenu/MCM/_Reset" 1
- if iSubMenu == 1
- if iOption == 2
- set PPAEnableKaboom to fValue
- elseif iOption == 3
- set PPAEnableDeconstruction to fValue
- elseif iOption == 4
- set PPAEnablePAScaling to fValue
- elseif iOption == 5
- set PPAJFFGlobal to fValue
- elseif iOption == 6
- set PPADrainMult to fValue
- elseif iOption == 7
- set PPAHeatMult to fValue
- elseif iOption == 10
- set PPAKeyCfg to fValue
- elseif iOption == 11
- set PPAKeyTRO to fValue
- elseif iOption == 12
- set PPAKeyEPG to fValue
- elseif iOption == 13
- set PPAKeyVision to fValue
- elseif iOption == 14
- set PPAKeyZoom to fValue
- endif
- elseif iSubMenu == 2
- if iOption == 2
- set PPAFOVDefault to fValue
- elseif iOption == 4
- set PPAEnableFOV1 to fValue
- elseif iOption == 5
- set PPAEnableFOV2 to fValue
- elseif iOption == 7
- set PPAEnableFOV3 to fValue
- elseif iOption == 8
- set PPAEnableFOV4 to fValue
- elseif iOption == 9
- set PPAEnableFOV5 to fValue
- elseif iOption == 10
- set PPAEnableFOV6 to fValue
- endif
- elseif iSubMenu == 3
- if iOption == 2
- set PPATROBoost to fValue
- elseif iOption == 3
- set PPATROSAF to fValue
- elseif iOption == 5
- set PPASJCombat to fValue
- elseif iOption == 6
- set PPASJNonCombat to fValue
- elseif iOption == 7
- set PPASJReserve to fValue
- endif
- endif
- elseif GetUIFloat "StartMenu/MCM/_ShowScale" == 1 ;5 - SHOW SCALE
- SetUIFloat "StartMenu/MCM/_ShowScale" 2
- if iSubMenu == 1
- if iOption == 6
- SetUIFloat "StartMenu/MCM/_Value" PPADrainMult
- SetUIFloat "StartMenu/MCM/_ValueDecimal" 2
- SetUIFloat "StartMenu/MCM/_ValueIncrement" 0.05
- SetUIFloat "StartMenu/MCM/_ValueMax" 3
- SetUIFloat "StartMenu/MCM/_ValueMin" 0.05
- SetUIString "StartMenu/MCM/*:2/_title" "Power Drain Multiplier"
- elseif iOption == 7
- SetUIFloat "StartMenu/MCM/_Value" PPAHeatMult
- SetUIFloat "StartMenu/MCM/_ValueDecimal" 3
- SetUIFloat "StartMenu/MCM/_ValueIncrement" 0.05
- SetUIFloat "StartMenu/MCM/_ValueMax" 3
- SetUIFloat "StartMenu/MCM/_ValueMin" 0.05
- SetUIString "StartMenu/MCM/*:2/_title" "Heat Multiplier"
- endif
- elseif iSubMenu == 2
- if iOption == 2
- SetUIFloat "StartMenu/MCM/_Value" PPAFOVDefault
- SetUIFloat "StartMenu/MCM/_ValueDecimal" 0
- SetUIFloat "StartMenu/MCM/_ValueIncrement" 5
- SetUIFloat "StartMenu/MCM/_ValueMax" 110
- SetUIFloat "StartMenu/MCM/_ValueMin" 45
- SetUIString "StartMenu/MCM/*:2/_title" "FOV Default"
- endif
- elseif iSubMenu == 3
- if iOption == 2
- SetUIFloat "StartMenu/MCM/_Value" PPATROBoost
- SetUIFloat "StartMenu/MCM/_ValueDecimal" 0
- SetUIFloat "StartMenu/MCM/_ValueIncrement" 5
- SetUIFloat "StartMenu/MCM/_ValueMax" 300
- SetUIFloat "StartMenu/MCM/_ValueMin" 60
- SetUIString "StartMenu/MCM/*:6/_suffixText" "%"
- SetUIString "StartMenu/MCM/*:6/_title" "Speed Boost"
- elseif iOption == 3
- SetUIFloat "StartMenu/MCM/_Value" PPATROSAF
- SetUIFloat "StartMenu/MCM/_ValueDecimal" 1
- SetUIFloat "StartMenu/MCM/_ValueIncrement" 0.1
- SetUIFloat "StartMenu/MCM/_ValueMax" 3
- SetUIFloat "StartMenu/MCM/_ValueMin" 1
- SetUIString "StartMenu/MCM/*:2/_title" "Strength Amplification Factor"
- elseif iOption == 5
- SetUIFloat "StartMenu/MCM/_Value" PPASJCombat
- SetUIFloat "StartMenu/MCM/_ValueDecimal" 0
- SetUIFloat "StartMenu/MCM/_ValueIncrement" 1
- SetUIFloat "StartMenu/MCM/_ValueMax" 25
- SetUIFloat "StartMenu/MCM/_ValueMin" 5
- SetUIString "StartMenu/MCM/*:2/_title" "Combat HP/Sec"
- elseif iOption == 6
- SetUIFloat "StartMenu/MCM/_Value" PPASJNonCombat
- SetUIFloat "StartMenu/MCM/_ValueDecimal" 0
- SetUIFloat "StartMenu/MCM/_ValueIncrement" 1
- SetUIFloat "StartMenu/MCM/_ValueMax" 10
- SetUIFloat "StartMenu/MCM/_ValueMin" 5
- SetUIString "StartMenu/MCM/*:2/_title" "Combat HP/Sec"
- elseif iOption == 7
- SetUIFloat "StartMenu/MCM/_Value" PPASJReserve
- SetUIFloat "StartMenu/MCM/_ValueDecimal" 0
- SetUIFloat "StartMenu/MCM/_ValueIncrement" 1
- SetUIFloat "StartMenu/MCM/_ValueMax" 40
- SetUIFloat "StartMenu/MCM/_ValueMin" 0
- SetUIString "StartMenu/MCM/*:2/_title" "Stimpack Reserve"
- endif
- endif
- elseif GetUIFloat "StartMenu/MCM/_DefaultScale" ;6 - DEFAULT SCALE
- SetUIFloat "StartMenu/MCM/_DefaultScale" 0
- SetUIFloat "StartMenu/MCM/_ShowScale" 2
- if iSubMenu == 1
- if iOption == 6
- SetUIFloat "StartMenu/MCM/_Value" 1
- elseif iOption == 7
- SetUIFloat "StartMenu/MCM/_Value" 1
- endif
- elseif iSubMenu == 2
- if iOption == 6
- SetUIFloat "StartMenu/MCM/_Value" 75
- endif
- elseif iSubMenu == 3
- if iOption == 2
- SetUIFloat "StartMenu/MCM/_Value" .6
- elseif iOption == 3
- SetUIFloat "StartMenu/MCM/_Value" 1.2
- elseif iOption == 5
- SetUIFloat "StartMenu/MCM/_Value" 10
- elseif iOption == 6
- SetUIFloat "StartMenu/MCM/_Value" 5
- elseif iOption == 7
- SetUIFloat "StartMenu/MCM/_Value" 4
- endif
- endif
- endif
- if iMouseover != GetUIFloat "StartMenu/MCM/*:1/_optionID" ;7 - MOUSE-OVER
- set iMouseover to GetUIFloat "StartMenu/MCM/*:1/_optionID"
- if iMouseover
- SetUIFloat "StartMenu/MCM/MCM_Info/visible" 1
- if iSubMenu == 1
- ;if iMouseover == 1
- ; SetUIStringEx "StartMenu/MCM/*:9/value" "%z" strModIndex
- ;else
- if iMouseover == 2
- SetUIString "StartMenu/MCM/*:9/string" "If enabled, power armor will occasionally explode if shot in the power plant."
- elseif iMouseover == 3
- SetUIString "StartMenu/MCM/*:9/string" "If enabled, power armor will break down into subcomponents if it is heavily damaged before its wearer is killed."
- elseif iMouseover == 4
- SetUIString "StartMenu/MCM/*:9/string" "If enabled, power armor will cause the wearer to scale up by approx 10% in height. Disable if this causes issues"
- elseif iMouseover == 5
- SetUIString "StartMenu/MCM/*:9/string" "Enabled by default to act as a workaround for the invisible ledge that crops up when jump height is increased too much. Disable if this causes issues"
- elseif iMouseover == 6
- SetUIString "StartMenu/MCM/*:9/string" " This value scales how long a charge will last. Lower = Easier / Higher = Hardcore "
- elseif iMouseover == 7
- SetUIString "StartMenu/MCM/*:9/string" " This value scales how quickly Power Armor will heat up. Lower = Easier / Higher = Hardcore "
- elseif iMouseover == 10
- SetUIString "StartMenu/MCM/*:9/string" "Tap this key to open the Field Recharge menu. Hold down and use the arrow keys to adjust the HUD location positioning for PPA"
- elseif iMouseover == 11
- SetUIString "StartMenu/MCM/*:9/string" "Tap this key to toggle Thermal Regulation Override on or off. If you also have the Liquid NInjA installed, double tapping this key while TRO is active will trigger liquid nitrogen injection."
- elseif iMouseover == 12
- SetUIString "StartMenu/MCM/*:9/string" "Tapping this key will trigger an energy pulse. Holding it will cycle through the available energy pulse modes."
- elseif iMouseover == 13
- SetUIString "StartMenu/MCM/*:9/string" "Tapping this key will switch between night vision, thermal vision, and millimeter wave radar. Holding it will allow you to adjust your non-aimed field of view via the mouse wheel, if you are wearing Advanced Optics capable headgear."
- elseif iMouseover == 14
- SetUIString "StartMenu/MCM/*:9/string" " "
- else
- SetUIFloat "StartMenu/MCM/*:9/visible" 0
- endif
- elseif iSubMenu == 2
- if iMouseover == 2
- SetUIString "StartMenu/MCM/*:9/string" "Alters the Field of Vision "
- elseif iMouseover == 4
- SetUIString "StartMenu/MCM/*:9/string" "Allow scopeless zooming without PA helmet (vanilla behavior)"
- elseif iMouseover == 5
- SetUIString "StartMenu/MCM/*:9/string" "Automatically equip binoculars if available"
- elseif iMouseover == 7
- SetUIString "StartMenu/MCM/*:9/string" "Allow unaimed FOV adjustment with PA helmet"
- elseif iMouseover == 8
- SetUIString "StartMenu/MCM/*:9/string" "Allow scoped weapon FOV adjustments with PA helmet "
- elseif iMouseover == 9
- SetUIString "StartMenu/MCM/*:9/string" "Allow unscoped weapon FOV adjustments with PA helmet "
- elseif iMouseover == 10
- SetUIString "StartMenu/MCM/*:9/string" "Enable vision modes with PA helmet "
- else
- SetUIFloat "StartMenu/MCM/*:9/visible" 0
- endif
- elseif iSubMenu == 3
- if iMouseover == 2
- SetUIString "StartMenu/MCM/*:9/string" " "
- elseif iMouseover == 3
- SetUIString "StartMenu/MCM/*:9/string" "A lower strength amplification factor will slow overheating, but may cause you to tire depending on what mods you have installed."
- elseif iMouseover == 4
- SetUIString "StartMenu/MCM/*:9/string" "Your StimJak will provide continuous health regeneration fueled by stimpacks. Faster rates are less efficient. The Fast Metabolism perk will improve efficiency by 20%"
- elseif iMouseover == 5
- SetUIString "StartMenu/MCM/*:9/string" " "
- elseif iMouseover == 6
- SetUIString "StartMenu/MCM/*:9/string" " "
- elseif iMouseover == 7
- SetUIString "StartMenu/MCM/*:9/string" "Sets the amount of Stim Packs placed in reserve"
- else
- SetUIFloat "StartMenu/MCM/*:9/visible" 0
- endif
- endif
- else
- SetUIFloat "StartMenu/MCM/MCM_Info/visible" 0
- endif
- endif
- endif
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement