Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.15 KB | None | 0 0
  1. scn PPAMCMScript
  2.  
  3. string_var strModIndex
  4.  
  5. short sDoOnce
  6. short iModIndex
  7. short iMaster
  8. short iMouseover
  9. short iOption
  10. short iSubMenu
  11. short iTemp
  12. float fTemp
  13. float fValue
  14. reference rList
  15.  
  16. int hasDUI
  17. int altFont
  18.  
  19.  
  20. begin GameMode
  21. if GetGameRestarted
  22. if IsModLoaded "The Mod Configuration Menu.esp"
  23. set iMaster to GetModIndex "The Mod Configuration Menu.esp"
  24. set rList to BuildRef iMaster 2790
  25. ListAddForm rList PPAMCMMenuToken
  26. ListAddForm rList PPAMCMPillarMenuToken
  27. set hasDUI to (GetUIFloat "HUDMainMenu\_DUIF3") > 0
  28. endif
  29. endif
  30. end
  31.  
  32. begin MenuMode 1013
  33. set iModIndex to GetModIndex "Powered Power Armor.esp"
  34. set strModIndex to NumtoHex iModIndex 2
  35. if sDoOnce == 0
  36. printc "%z" strModIndex
  37. set sDoOnce to 1
  38. ENDIf
  39. if IsModLoaded "The Mod Configuration Menu.esp"
  40. else
  41. Return
  42. endif
  43. if hasDUI
  44. set altFont to 3
  45. else
  46. set altFont to 1
  47. endif
  48. if GetUIFloat "StartMenu/MCM/_ActiveMod" == GetModIndex "Powered Power Armor.esp"
  49. set iOption to GetUIFloat "StartMenu/MCM/_ActiveOption"
  50. set fValue to GetUIFloat "StartMenu/MCM/_Value"
  51.  
  52. if GetUIFloat "StartMenu/MCM/_ActiveMenu" == 1
  53. elseif GetUIFloat "StartMenu/MCM/_ActiveMenu" == 2
  54. endif
  55. if GetUIFloat "StartMenu/MCM/*:5/SubMenu1/_enable" == 0
  56. SetUIFloat "StartMenu/MCM/_ActiveSubMenu" 1
  57. SetUIFloat "StartMenu/MCM/*:5/SubMenu1/_enable" 1
  58. SetUIString "StartMenu/MCM/*:5/SubMenu1/text/string" "General Configuration"
  59. SetUIString "StartMenu/MCM/*:8/SubTitle1/string" "PPA Setup and Hotkeys"
  60.  
  61. SetUIFloat "StartMenu/MCM/*:5/SubMenu2/_enable" 1
  62. SetUIString "StartMenu/MCM/*:5/SubMenu2/text/string" "Vision Settings"
  63. SetUIString "StartMenu/MCM/*:8/SubTitle2/string" "Enable FOV Options and Limits"
  64.  
  65. SetUIFloat "StartMenu/MCM/*:5/SubMenu3/_enable" 1
  66. SetUIString "StartMenu/MCM/*:5/SubMenu3/text/string" "PA MOD: Configuration"
  67. SetUIString "StartMenu/MCM/*:8/SubTitle3/string" "Settings for TRO and Stimjack (if owned)"
  68.  
  69. SetUIFloat "StartMenu/MCM/*:5/SubMenu4/_enable" 1
  70. SetUIString "StartMenu/MCM/*:5/SubMenu4/text/string" "PA Weapons: Configuration"
  71. SetUIString "StartMenu/MCM/*:8/SubTitle4/string" "Settings for P.I.L.L.A.R. and related weapons (if owned)"
  72. endif
  73.  
  74. set iSubMenu to GetUIFloat "StartMenu/MCM/_ActiveSubMenu"
  75.  
  76. if GetUIFloat "StartMenu/MCM/_Reset" ;1 - RESET
  77. SetUIFloat "StartMenu/MCM/_Reset" 0
  78. SetUIFloat "StartMenu/MCM/*:1/_columns" 1
  79. if iSubMenu == 1
  80. SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1
  81. SetUIString "StartMenu/MCM/*:1/*:1/_title" "General PA Settings"
  82. SetUIFloat "StartMenu/MCM/*:1/*:1/_type" 0
  83. ; SetUIFloat "StartMenu/MCM/*:1/*:1/_type" 7
  84. ; SetUIString "StartMenu/MCM/*:1/*:1/value/*:1/string" strModIndex
  85.  
  86. SetUIFloat "StartMenu/MCM/*:1/*:2/_enable" 1
  87. SetUIString "StartMenu/MCM/*:1/*:2/_indent" 1
  88. SetUIString "StartMenu/MCM/*:1/*:2/_title" "PA Explosions"
  89. SetUIFloat "StartMenu/MCM/*:1/*:2/_type" 4
  90. SetUIFloat "StartMenu/MCM/*:1/*:2/_value" PPAEnableKaboom
  91.  
  92. SetUIFloat "StartMenu/MCM/*:1/*:3/_enable" 1
  93. SetUIString "StartMenu/MCM/*:1/*:3/_indent" 1
  94. SetUIString "StartMenu/MCM/*:1/*:3/_title" "PA Deconstruction"
  95. SetUIFloat "StartMenu/MCM/*:1/*:3/_type" 4
  96. SetUIFloat "StartMenu/MCM/*:1/*:3/_value" PPAEnableDeconstruction
  97.  
  98. SetUIFloat "StartMenu/MCM/*:1/*:4/_enable" 1
  99. SetUIString "StartMenu/MCM/*:1/*:4/_indent" 1
  100. SetUIString "StartMenu/MCM/*:1/*:4/_title" "PA Scaling"
  101. SetUIFloat "StartMenu/MCM/*:1/*:4/_type" 4
  102. SetUIFloat "StartMenu/MCM/*:1/*:4/_value" PPAEnablePAScaling
  103.  
  104. SetUIFloat "StartMenu/MCM/*:1/*:5/_enable" 1
  105. SetUIString "StartMenu/MCM/*:1/*:5/_indent" 1
  106. SetUIString "StartMenu/MCM/*:1/*:5/_title" "Jump Fall Fixer"
  107. SetUIFloat "StartMenu/MCM/*:1/*:5/_type" 4
  108. SetUIFloat "StartMenu/MCM/*:1/*:5/_value" PPAJFFGlobal
  109.  
  110. SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 1
  111. SetUIString "StartMenu/MCM/*:1/*:6/_indent" 1
  112. SetUIString "StartMenu/MCM/*:1/*:6/_title" "Power Drain Multiplier"
  113. SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 2.5
  114. SetUIStringEx "StartMenu/MCM/*:1/*:6/value/*:1/string" "%.1f" PPADrainMult
  115.  
  116. SetUIFloat "StartMenu/MCM/*:1/*:7/_enable" 1
  117. SetUIString "StartMenu/MCM/*:1/*:7/_indent" 1
  118. SetUIString "StartMenu/MCM/*:1/*:7/_title" "Heat Multiplier"
  119. SetUIFloat "StartMenu/MCM/*:1/*:7/_type" 2.5
  120. SetUIStringEx "StartMenu/MCM/*:1/*:7/value/*:1/string" "%.1f" PPAHeatMult
  121.  
  122. SetUIFloat "StartMenu/MCM/*:1/*:9/_enable" 1
  123. SetUIString "StartMenu/MCM/*:1/*:9/_title" "Hotkeys"
  124.  
  125. SetUIFloat "StartMenu/MCM/*:1/*:10/_enable" 1
  126. SetUIString "StartMenu/MCM/*:1/*:10/_indent" 1
  127. SetUIString "StartMenu/MCM/*:1/*:10/_title" "Field Recharge"
  128. SetUIFloat "StartMenu/MCM/*:1/*:10/_type" 3
  129. SetUIStringEx "StartMenu/MCM/*:1/*:10/value/*:1/string" "%k" PPAKeyCfg
  130.  
  131. SetUIFloat "StartMenu/MCM/*:1/*:11/_enable" 1
  132. SetUIString "StartMenu/MCM/*:1/*:11/_indent" 1
  133. SetUIString "StartMenu/MCM/*:1/*:11/_title" "Thermal Override"
  134. SetUIFloat "StartMenu/MCM/*:1/*:11/_type" 3
  135. SetUIStringEx "StartMenu/MCM/*:1/*:11/value/*:1/string" "%k" PPAKeyTRO
  136.  
  137. SetUIFloat "StartMenu/MCM/*:1/*:12/_enable" 1
  138. SetUIString "StartMenu/MCM/*:1/*:12/_indent" 1
  139. SetUIString "StartMenu/MCM/*:1/*:12/_title" "Energy Pulse"
  140. SetUIFloat "StartMenu/MCM/*:1/*:12/_type" 3
  141. SetUIStringEx "StartMenu/MCM/*:1/*:12/value/*:1/string" "%k" PPAKeyEPG
  142.  
  143. SetUIFloat "StartMenu/MCM/*:1/*:13/_enable" 1
  144. SetUIString "StartMenu/MCM/*:1/*:13/_indent" 1
  145. SetUIString "StartMenu/MCM/*:1/*:13/_title" "Vision Mode Key"
  146. SetUIFloat "StartMenu/MCM/*:1/*:13/_type" 3
  147. SetUIStringEx "StartMenu/MCM/*:1/*:13/value/*:1/string" "%k" PPAKeyVision
  148.  
  149. SetUIFloat "StartMenu/MCM/*:1/*:14/_enable" 1
  150. SetUIString "StartMenu/MCM/*:1/*:14/_indent" 1
  151. SetUIString "StartMenu/MCM/*:1/*:14/_title" "Vision Zoom Key"
  152. SetUIFloat "StartMenu/MCM/*:1/*:14/_type" 3
  153. SetUIStringEx "StartMenu/MCM/*:1/*:14/value/*:1/string" "%k" PPAKeyZoom
  154.  
  155. elseif iSubMenu == 2
  156.  
  157. SetUIFloat "StartMenu/MCM/*:1/_columns" 1
  158.  
  159. SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1
  160. SetUIString "StartMenu/MCM/*:1/*:1/_title" "Vision Settings"
  161.  
  162. SetUIFloat "StartMenu/MCM/*:1/*:2/_enable" 1
  163. SetUIString "StartMenu/MCM/*:1/*:2/_indent" 1
  164. SetUIString "StartMenu/MCM/*:1/*:2/_title" "FOV Scale"
  165. SetUIFloat "StartMenu/MCM/*:1/*:2/_type" 2
  166. SetUIFloat "StartMenu/MCM/*:1/*:2/_value" PPAFOVDefault
  167.  
  168. SetUIFloat "StartMenu/MCM/*:1/*:3/_enable" 1
  169. SetUIString "StartMenu/MCM/*:1/*:3/_indent" 1
  170. SetUIString "StartMenu/MCM/*:1/*:3/_title" "Options without PA Helmet"
  171.  
  172. SetUIFloat "StartMenu/MCM/*:1/*:4/_enable" 1
  173. SetUIString "StartMenu/MCM/*:1/*:4/_indent" 2
  174. SetUIString "StartMenu/MCM/*:1/*:4/_title" "Allow Scopeless Zoom"
  175. SetUIFloat "StartMenu/MCM/*:1/*:4/_type" 4
  176. SetUIFloat "StartMenu/MCM/*:1/*:4/_value" PPAEnableFOV1
  177.  
  178. SetUIFloat "StartMenu/MCM/*:1/*:5/_enable" 1
  179. SetUIString "StartMenu/MCM/*:1/*:5/_indent" 2
  180. SetUIString "StartMenu/MCM/*:1/*:5/_title" "Auto Equip Binoculars if Available"
  181. SetUIFloat "StartMenu/MCM/*:1/*:5/_type" 4
  182. SetUIFloat "StartMenu/MCM/*:1/*:5/_value" PPAEnableFOV2
  183.  
  184. SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 1
  185. SetUIString "StartMenu/MCM/*:1/*:6/_indent" 1
  186. SetUIString "StartMenu/MCM/*:1/*:6/_title" "Options with PA Helmet"
  187.  
  188. SetUIFloat "StartMenu/MCM/*:1/*:7/_enable" 1
  189. SetUIString "StartMenu/MCM/*:1/*:7/_indent" 2
  190. SetUIString "StartMenu/MCM/*:1/*:7/_title" "Allow Unaimed FOV adjustment"
  191. SetUIFloat "StartMenu/MCM/*:1/*:7/_type" 4
  192. SetUIFloat "StartMenu/MCM/*:1/*:7/_value" PPAEnableFOV3
  193.  
  194. SetUIFloat "StartMenu/MCM/*:1/*:8/_enable" 1
  195. SetUIString "StartMenu/MCM/*:1/*:8/_indent" 2
  196. SetUIString "StartMenu/MCM/*:1/*:8/_title" "Allow Scoped Weapon Zoom"
  197. SetUIFloat "StartMenu/MCM/*:1/*:8/_type" 4
  198. SetUIFloat "StartMenu/MCM/*:1/*:8/_value" PPAEnableFOV4
  199.  
  200. SetUIFloat "StartMenu/MCM/*:1/*:9/_enable" 1
  201. SetUIString "StartMenu/MCM/*:1/*:9/_indent" 2
  202. SetUIString "StartMenu/MCM/*:1/*:9/_title" "Allow Unscoped Weapon Zoom"
  203. SetUIFloat "StartMenu/MCM/*:1/*:9/_type" 4
  204. SetUIFloat "StartMenu/MCM/*:1/*:9/_value" PPAEnableFOV5
  205.  
  206. SetUIFloat "StartMenu/MCM/*:1/*:10/_enable" 1
  207. SetUIString "StartMenu/MCM/*:1/*:10/_indent" 2
  208. SetUIString "StartMenu/MCM/*:1/*:10/_title" "Allow Vision Modes"
  209. SetUIFloat "StartMenu/MCM/*:1/*:10/_type" 4
  210. SetUIFloat "StartMenu/MCM/*:1/*:10/_value" PPAEnableFOV6
  211.  
  212. elseif iSubMenu == 3
  213.  
  214. SetUIFloat "StartMenu/MCM/*:1/_columns" 1
  215.  
  216. SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1
  217. SetUIString "StartMenu/MCM/*:1/*:1/_title" "Thermal Regulator Override Settings"
  218.  
  219. SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1 ;iEnableTRO
  220. SetUIString "StartMenu/MCM/*:1/*:1/_title" "Thermal Regulator Override Settings"
  221.  
  222. SetUIFloat "StartMenu/MCM/*:1/*:2/_enable" 1 ;iEnableTRO
  223. SetUIString "StartMenu/MCM/*:1/*:2/_indent" 1
  224. SetUIFloat "StartMenu/MCM/*:1/*:2/_suffix" 1
  225. SetUIString "StartMenu/MCM/*:1/*:2/_suffixText" "%"
  226. SetUIString "StartMenu/MCM/*:1/*:2/_title" "Speed Boost %"
  227. SetUIFloat "StartMenu/MCM/*:1/*:2/_type" 2.5
  228. SetUIStringEx "StartMenu/MCM/*:1/*:2/value/*:1/string" "%.1f" PPATROBoost
  229.  
  230. SetUIFloat "StartMenu/MCM/*:1/*:3/_enable" 1 ;iEnableTRO
  231. SetUIString "StartMenu/MCM/*:1/*:3/_indent" 1
  232. SetUIString "StartMenu/MCM/*:1/*:3/_title" "Strength Amplification Factor"
  233. SetUIFloat "StartMenu/MCM/*:1/*:3/_type" 2
  234. SetUIFloat "StartMenu/MCM/*:1/*:3/_value/" PPATROSAF
  235.  
  236. SetUIFloat "StartMenu/MCM/*:1/*:4/_enable" 1
  237. SetUIString "StartMenu/MCM/*:1/*:4/_title" "StimJack Settings"
  238.  
  239. SetUIFloat "StartMenu/MCM/*:1/*:5/_enable" 1 ;iEnableSJ
  240. SetUIString "StartMenu/MCM/*:1/*:5/_indent" 1
  241. SetUIString "StartMenu/MCM/*:1/*:5/_title" "Combat Regeneration HP/Sec"
  242. SetUIFloat "StartMenu/MCM/*:1/*:5/_type" 2
  243. SetUIFloat "StartMenu/MCM/*:1/*:5/_value" PPASJCombat
  244.  
  245. SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 1 ;iEnableSJ
  246. SetUIString "StartMenu/MCM/*:1/*:6/_indent" 1
  247. SetUIString "StartMenu/MCM/*:1/*:6/_title" "Non-Combat Regeneration HP/Sec"
  248. SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 2
  249. SetUIFloat "StartMenu/MCM/*:1/*:6/_value" PPASJNonCombat
  250.  
  251. SetUIFloat "StartMenu/MCM/*:1/*:7/_enable" 1 ;iEnableSJ
  252. SetUIString "StartMenu/MCM/*:1/*:7/_indent" 1
  253. SetUIString "StartMenu/MCM/*:1/*:7/_title" "Stimpack Reserve"
  254. SetUIFloat "StartMenu/MCM/*:1/*:7/_type" 2
  255. SetUIFloat "StartMenu/MCM/*:1/*:7/_value" PPASJReserve
  256. endif
  257. elseif GetUIFloat "StartMenu/MCM/_Default" ;2 - DEFAULT
  258. SetUIFloat "StartMenu/MCM/_Default" 0
  259. SetUIFloat "StartMenu/MCM/_Reset" 1
  260.  
  261. if iSubMenu == 1
  262. set PPAEnableKaboom to 1
  263. set PPAEnableDeconstruction to 1
  264. set PPAEnablePAScaling to 0
  265. set PPAJFFGlobal to 1
  266. set PPADrainMult to 1
  267. set PPAHeatMult to 1
  268. set PPAKeyCfg to 25
  269. set PPAKeyTRO to 21
  270. set PPAKeyEPG to 48
  271. set PPAKeyVision to 51
  272. set PPAKeyZoom to 58
  273. elseif iSubMenu == 2
  274. set PPAFOVDefault to 75
  275. set PPAEnableFOV1 to 0
  276. set PPAEnableFOV2 to 1
  277. set PPAEnableFOV3 to 1
  278. set PPAEnableFOV4 to 1
  279. set PPAEnableFOV5 to 1
  280. set PPAEnableFOV6 to 1
  281. elseif iSubMenu == 3
  282. set PPATROBoost to .6
  283. set PPATROSAF to 1.2
  284. set PPASJCombat to 10
  285. set PPASJNonCombat to 5
  286. set PPASJReserve to 4
  287. endif
  288. elseif GetUIFloat "StartMenu/MCM/_NewValue" ;3 - NEW VALUE
  289. SetUIFloat "StartMenu/MCM/_NewValue" 0
  290. SetUIFloat "StartMenu/MCM/_Reset" 1
  291.  
  292. if iSubMenu == 1
  293. if iOption == 2
  294. set PPAEnableKaboom to fValue
  295. elseif iOption == 3
  296. set PPAEnableDeconstruction to fValue
  297. elseif iOption == 4
  298. set PPAEnablePAScaling to fValue
  299. elseif iOption == 5
  300. set PPAJFFGlobal to fValue
  301. elseif iOption == 6
  302. set PPADrainMult to fValue
  303. elseif iOption == 7
  304. set PPAHeatMult to fValue
  305. elseif iOption == 10
  306. set PPAKeyCfg to fValue
  307. elseif iOption == 11
  308. set PPAKeyTRO to fValue
  309. elseif iOption == 12
  310. set PPAKeyEPG to fValue
  311. elseif iOption == 13
  312. set PPAKeyVision to fValue
  313. elseif iOption == 14
  314. set PPAKeyZoom to fValue
  315. endif
  316. elseif iSubMenu == 2
  317. if iOption == 2
  318. set PPAFOVDefault to fValue
  319. elseif iOption == 4
  320. set PPAEnableFOV1 to fValue
  321. elseif iOption == 5
  322. set PPAEnableFOV2 to fValue
  323. elseif iOption == 7
  324. set PPAEnableFOV3 to fValue
  325. elseif iOption == 8
  326. set PPAEnableFOV4 to fValue
  327. elseif iOption == 9
  328. set PPAEnableFOV5 to fValue
  329. elseif iOption == 10
  330. set PPAEnableFOV6 to fValue
  331. endif
  332. elseif iSubMenu == 3
  333. if iOption == 2
  334. set PPATROBoost to fValue
  335. elseif iOption == 3
  336. set PPATROSAF to fValue
  337. elseif iOption == 5
  338. set PPASJCombat to fValue
  339. elseif iOption == 6
  340. set PPASJNonCombat to fValue
  341. elseif iOption == 7
  342. set PPASJReserve to fValue
  343. endif
  344. endif
  345. elseif GetUIFloat "StartMenu/MCM/_ShowScale" == 1 ;5 - SHOW SCALE
  346. SetUIFloat "StartMenu/MCM/_ShowScale" 2
  347.  
  348. if iSubMenu == 1
  349. if iOption == 6
  350. SetUIFloat "StartMenu/MCM/_Value" PPADrainMult
  351. SetUIFloat "StartMenu/MCM/_ValueDecimal" 2
  352. SetUIFloat "StartMenu/MCM/_ValueIncrement" 0.05
  353. SetUIFloat "StartMenu/MCM/_ValueMax" 3
  354. SetUIFloat "StartMenu/MCM/_ValueMin" 0.05
  355. SetUIString "StartMenu/MCM/*:2/_title" "Power Drain Multiplier"
  356. elseif iOption == 7
  357. SetUIFloat "StartMenu/MCM/_Value" PPAHeatMult
  358. SetUIFloat "StartMenu/MCM/_ValueDecimal" 3
  359. SetUIFloat "StartMenu/MCM/_ValueIncrement" 0.05
  360. SetUIFloat "StartMenu/MCM/_ValueMax" 3
  361. SetUIFloat "StartMenu/MCM/_ValueMin" 0.05
  362. SetUIString "StartMenu/MCM/*:2/_title" "Heat Multiplier"
  363. endif
  364. elseif iSubMenu == 2
  365. if iOption == 2
  366. SetUIFloat "StartMenu/MCM/_Value" PPAFOVDefault
  367. SetUIFloat "StartMenu/MCM/_ValueDecimal" 0
  368. SetUIFloat "StartMenu/MCM/_ValueIncrement" 5
  369. SetUIFloat "StartMenu/MCM/_ValueMax" 110
  370. SetUIFloat "StartMenu/MCM/_ValueMin" 45
  371. SetUIString "StartMenu/MCM/*:2/_title" "FOV Default"
  372. endif
  373. elseif iSubMenu == 3
  374. if iOption == 2
  375. SetUIFloat "StartMenu/MCM/_Value" PPATROBoost
  376. SetUIFloat "StartMenu/MCM/_ValueDecimal" 0
  377. SetUIFloat "StartMenu/MCM/_ValueIncrement" 5
  378. SetUIFloat "StartMenu/MCM/_ValueMax" 300
  379. SetUIFloat "StartMenu/MCM/_ValueMin" 60
  380. SetUIString "StartMenu/MCM/*:6/_suffixText" "%"
  381. SetUIString "StartMenu/MCM/*:6/_title" "Speed Boost"
  382. elseif iOption == 3
  383. SetUIFloat "StartMenu/MCM/_Value" PPATROSAF
  384. SetUIFloat "StartMenu/MCM/_ValueDecimal" 1
  385. SetUIFloat "StartMenu/MCM/_ValueIncrement" 0.1
  386. SetUIFloat "StartMenu/MCM/_ValueMax" 3
  387. SetUIFloat "StartMenu/MCM/_ValueMin" 1
  388. SetUIString "StartMenu/MCM/*:2/_title" "Strength Amplification Factor"
  389. elseif iOption == 5
  390. SetUIFloat "StartMenu/MCM/_Value" PPASJCombat
  391. SetUIFloat "StartMenu/MCM/_ValueDecimal" 0
  392. SetUIFloat "StartMenu/MCM/_ValueIncrement" 1
  393. SetUIFloat "StartMenu/MCM/_ValueMax" 25
  394. SetUIFloat "StartMenu/MCM/_ValueMin" 5
  395. SetUIString "StartMenu/MCM/*:2/_title" "Combat HP/Sec"
  396. elseif iOption == 6
  397. SetUIFloat "StartMenu/MCM/_Value" PPASJNonCombat
  398. SetUIFloat "StartMenu/MCM/_ValueDecimal" 0
  399. SetUIFloat "StartMenu/MCM/_ValueIncrement" 1
  400. SetUIFloat "StartMenu/MCM/_ValueMax" 10
  401. SetUIFloat "StartMenu/MCM/_ValueMin" 5
  402. SetUIString "StartMenu/MCM/*:2/_title" "Combat HP/Sec"
  403. elseif iOption == 7
  404. SetUIFloat "StartMenu/MCM/_Value" PPASJReserve
  405. SetUIFloat "StartMenu/MCM/_ValueDecimal" 0
  406. SetUIFloat "StartMenu/MCM/_ValueIncrement" 1
  407. SetUIFloat "StartMenu/MCM/_ValueMax" 40
  408. SetUIFloat "StartMenu/MCM/_ValueMin" 0
  409. SetUIString "StartMenu/MCM/*:2/_title" "Stimpack Reserve"
  410. endif
  411. endif
  412. elseif GetUIFloat "StartMenu/MCM/_DefaultScale" ;6 - DEFAULT SCALE
  413. SetUIFloat "StartMenu/MCM/_DefaultScale" 0
  414. SetUIFloat "StartMenu/MCM/_ShowScale" 2
  415.  
  416. if iSubMenu == 1
  417. if iOption == 6
  418. SetUIFloat "StartMenu/MCM/_Value" 1
  419. elseif iOption == 7
  420. SetUIFloat "StartMenu/MCM/_Value" 1
  421. endif
  422. elseif iSubMenu == 2
  423. if iOption == 6
  424. SetUIFloat "StartMenu/MCM/_Value" 75
  425. endif
  426. elseif iSubMenu == 3
  427. if iOption == 2
  428. SetUIFloat "StartMenu/MCM/_Value" .6
  429. elseif iOption == 3
  430. SetUIFloat "StartMenu/MCM/_Value" 1.2
  431. elseif iOption == 5
  432. SetUIFloat "StartMenu/MCM/_Value" 10
  433. elseif iOption == 6
  434. SetUIFloat "StartMenu/MCM/_Value" 5
  435. elseif iOption == 7
  436. SetUIFloat "StartMenu/MCM/_Value" 4
  437. endif
  438. endif
  439. endif
  440. if iMouseover != GetUIFloat "StartMenu/MCM/*:1/_optionID" ;7 - MOUSE-OVER
  441. set iMouseover to GetUIFloat "StartMenu/MCM/*:1/_optionID"
  442. if iMouseover
  443. SetUIFloat "StartMenu/MCM/MCM_Info/visible" 1
  444. if iSubMenu == 1
  445. ;if iMouseover == 1
  446. ; SetUIStringEx "StartMenu/MCM/*:9/value" "%z" strModIndex
  447. ;else
  448. if iMouseover == 2
  449. SetUIString "StartMenu/MCM/*:9/string" "If enabled, power armor will occasionally explode if shot in the power plant."
  450. elseif iMouseover == 3
  451. SetUIString "StartMenu/MCM/*:9/string" "If enabled, power armor will break down into subcomponents if it is heavily damaged before its wearer is killed."
  452. elseif iMouseover == 4
  453. 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"
  454. elseif iMouseover == 5
  455. 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"
  456. elseif iMouseover == 6
  457. SetUIString "StartMenu/MCM/*:9/string" " This value scales how long a charge will last. Lower = Easier / Higher = Hardcore "
  458. elseif iMouseover == 7
  459. SetUIString "StartMenu/MCM/*:9/string" " This value scales how quickly Power Armor will heat up. Lower = Easier / Higher = Hardcore "
  460. elseif iMouseover == 10
  461. 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"
  462. elseif iMouseover == 11
  463. 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."
  464. elseif iMouseover == 12
  465. SetUIString "StartMenu/MCM/*:9/string" "Tapping this key will trigger an energy pulse. Holding it will cycle through the available energy pulse modes."
  466. elseif iMouseover == 13
  467. 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."
  468. elseif iMouseover == 14
  469. SetUIString "StartMenu/MCM/*:9/string" " "
  470. else
  471. SetUIFloat "StartMenu/MCM/*:9/visible" 0
  472. endif
  473. elseif iSubMenu == 2
  474. if iMouseover == 2
  475. SetUIString "StartMenu/MCM/*:9/string" "Alters the Field of Vision "
  476. elseif iMouseover == 4
  477. SetUIString "StartMenu/MCM/*:9/string" "Allow scopeless zooming without PA helmet (vanilla behavior)"
  478. elseif iMouseover == 5
  479. SetUIString "StartMenu/MCM/*:9/string" "Automatically equip binoculars if available"
  480. elseif iMouseover == 7
  481. SetUIString "StartMenu/MCM/*:9/string" "Allow unaimed FOV adjustment with PA helmet"
  482. elseif iMouseover == 8
  483. SetUIString "StartMenu/MCM/*:9/string" "Allow scoped weapon FOV adjustments with PA helmet "
  484. elseif iMouseover == 9
  485. SetUIString "StartMenu/MCM/*:9/string" "Allow unscoped weapon FOV adjustments with PA helmet "
  486. elseif iMouseover == 10
  487. SetUIString "StartMenu/MCM/*:9/string" "Enable vision modes with PA helmet "
  488. else
  489. SetUIFloat "StartMenu/MCM/*:9/visible" 0
  490. endif
  491. elseif iSubMenu == 3
  492. if iMouseover == 2
  493. SetUIString "StartMenu/MCM/*:9/string" " "
  494. elseif iMouseover == 3
  495. 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."
  496. elseif iMouseover == 4
  497. 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%"
  498. elseif iMouseover == 5
  499. SetUIString "StartMenu/MCM/*:9/string" " "
  500. elseif iMouseover == 6
  501. SetUIString "StartMenu/MCM/*:9/string" " "
  502. elseif iMouseover == 7
  503. SetUIString "StartMenu/MCM/*:9/string" "Sets the amount of Stim Packs placed in reserve"
  504. else
  505. SetUIFloat "StartMenu/MCM/*:9/visible" 0
  506. endif
  507. endif
  508. else
  509. SetUIFloat "StartMenu/MCM/MCM_Info/visible" 0
  510. endif
  511. endif
  512.  
  513. endif
  514. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement