shegontal1 Posted July 6, 2014 Posted July 6, 2014 Adding many possibly unnecessary complications. Did not know that about MCM, especially the "new way of scripting." Sounds almost like that old scripting style, before OOP where you would make references to lines of code in the coding, but you'd have to renumber it if you added anything in the middle. Forgot what that coding was called, spaghetti maybe? Learn something new everyday! Thanks!
nyaalich Posted July 6, 2014 Posted July 6, 2014 I'm sure it's not as bad as I'm making it out to be. Slashes and numbers in strings. Different things in different sections. I put the code of my MCM menu under the Spoiler so you can get an idea. scn SexoutBangMCMQuestSCRIPT ; ;;;;;;;;;;;;;;;;Add PN_ListClear for OffLimits and Allowed form lists ; ;short iMaster ;short iMouseover ;short iOption ;short iTemp ;int iSubMenu ;int iEnableStrapOns ;int iStrapOn ;int iStrapOnCon ;int iStrapOnPlayerNC ;int iStrapOnNPCNC ;int iSelectCreatures ;int iNonCon ;int iCreatureMenu ;float fTemp ;float fValue ;reference rList ; ;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 SexoutBangMCMToken ; endif ; endif ;end ; ;begin MenuMode 1013 ; if IsModLoaded "The Mod Configuration Menu.esp" ; else ; Return ; endif ; ; if (GetUIFloat "StartMenu/MCM/_ActiveMod" == GetModIndex "SexoutBangatron.esp" && GetUIFloat "StartMenu/MCM/_ActiveMenu" == 0) ; Set iOption to GetUIFloat "StartMenu/MCM/_ActiveOption" ; Set fValue to GetUIFloat "StartMenu/MCM/_Value" ; ; 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" "Mod Settings" ; SetUIString "StartMenu/MCM/*:8/SubTitle1/string" "Mod Settings" ; ; SetUIFloat "StartMenu/MCM/*:5/SubMenu2/_enable" 1 ; SetUIString "StartMenu/MCM/*:5/SubMenu2/text/string" "NPC & Creature Types" ; SetUIString "StartMenu/MCM/*:8/SubTitle2/string" "NPC & Creature Types" ; endif ; ; Set iSubMenu to GetUIFloat "StartMenu/MCM/_ActiveSubMenu" ; ;;1 -RESET ; ; if (GetUIFloat "StartMenu/MCM/_Reset" != 0) ; SetUIFloat "StartMenu/MCM/_Reset" 0 ; if (iSubmenu == 1) ; SetUIFloat "StartMenu/MCM/*:1/_columns" 1 ; ; SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:1/_textOff" "OFF" ; SetUIString "StartMenu/MCM/*:1/*:1/_textOn" "ON" ; SetUIString "StartMenu/MCM/*:1/*:1/_title" "Debug Mode" ; SetUIFloat "StartMenu/MCM/*:1/*:1/_type" 6 ; Set SexoutBangMain.iDebugging to GetDebugMode ; SetUIFloat "StartMenu/MCM/*:1/*:1/_value" SexoutBangMain.iDebugging ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:2/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:2/_title" "Masturbation Menu Hotkey" ; SetUIFloat "StartMenu/MCM/*:1/*:2/_type" 3 ; SetUIStringEx "StartMenu/MCM/*:1/*:2/value/*:1/string" "%k" SexoutBangMain.iMasturbation ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:3/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:3/_title" "Con Sex Hotkey" ; SetUIFloat "StartMenu/MCM/*:1/*:3/_type" 3 ; SetUIStringEx "StartMenu/MCM/*:1/*:3/value/*:1/string" "%k" SexoutBangMain.iConSex ; ; SetUIFloat "StartMenu/MCM/*:1/*:4/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:4/_title" "Non-Con Sex Options" ; SetUIFloat "StartMenu/MCM/*:1/*:4/_type" 0 ; SetUIFloat "StartMenu/MCM/*:1/*:4/_RGB" 050241137 ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:5/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:5/_title" "Enable Non-Con Sex?" ; SetUIFloat "StartMenu/MCM/*:1/*:5/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:5/_value" SexoutBangMain.iEnableNonCon ; ; Set iNonCon to 2 - SexoutBangMain.iEnableNonCon ; ; SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" iNonCon ; SetUIString "StartMenu/MCM/*:1/*:6/_title" "Player-Initiated Non-Con Sex Hotkey" ; SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 3 ; SetUIStringEx "StartMenu/MCM/*:1/*:6/value/*:1/string" "%k" SexoutBangMain.iNonConSexPlayer ; ; SetUIFloat "StartMenu/MCM/*:1/*:7/_enable" iNonCon ; SetUIString "StartMenu/MCM/*:1/*:7/_title" "NPC-Initiated Non-Con Sex Hotkey" ; SetUIFloat "StartMenu/MCM/*:1/*:7/_type" 3 ; SetUIStringEx "StartMenu/MCM/*:1/*:7/value/*:1/string" "%k" SexoutBangMain.iNonConSexNPC ; ; ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:8/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:8/_title" "Strap-On Options" ; SetUIFloat "StartMenu/MCM/*:1/*:8/_type" 0 ; SetUIFloat "StartMenu/MCM/*:1/*:8/_RGB" 050241137 ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:9/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:9/_title" "Select a Strap-On" ; SetUIFloat "StartMenu/MCM/*:1/*:9/_type" 1 ; if iStrapOn == 1 ; SetUIString "StartMenu/MCM/*:1/*:9/value/*:1/string" "SexoutSKSTStrapon01" ; elseif iStrapOn == 2 ; SetUIString "StartMenu/MCM/*:1/*:9/value/*:1/string" "SexoutSKSTStrapon02" ; elseif iStrapOn == 3 ; SetUIString "StartMenu/MCM/*:1/*:9/value/*:1/string" "SexoutSKSTStrapon02Twin" ; elseif iStrapOn == 4 ; SetUIString "StartMenu/MCM/*:1/*:9/value/*:1/string" "SexoutSKSTStrapon03" ; elseif iStrapOn == 5 ; SetUIString "StartMenu/MCM/*:1/*:9/value/*:1/string" "SexoutSKSTStrapon04" ; elseif iStrapOn == 6 ; SetUIString "StartMenu/MCM/*:1/*:9/value/*:1/string" "SexoutSKSTStrapon05DildoPurple" ; elseif iStrapOn == 7 ; SetUIString "StartMenu/MCM/*:1/*:9/value/*:1/string" "SexoutSKSTStrapon05DildoBlack" ; elseif iStrapOn == 8 ; SetUIString "StartMenu/MCM/*:1/*:9/value/*:1/string" "SexoutSKSTStrapon05DildoPink" ; elseif iStrapOn == 9 ; SetUIString "StartMenu/MCM/*:1/*:9/value/*:1/string" "SexoutSKSTStrapon06Tentacle02" ; elseif iStrapOn == 10 ; SetUIString "StartMenu/MCM/*:1/*:9/value/*:1/string" "SexoutSKSTStrapon07" ; endif ; ; SetUIFloat "StartMenu/MCM/*:1/*:10/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:10/_title" "Con Sex: Use Strap-Ons?" ; SetUIFloat "StartMenu/MCM/*:1/*:10/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:10/_value" SexoutBangMain.iUseStrapOnOnGuy ; ; Set iStrapOnCon to 2 - SexoutBangMain.iUseStrapOnOnGuy ; ; SetUIFloat "StartMenu/MCM/*:1/*:11/_enable" iStrapOnCon ; SetUIFloat "StartMenu/MCM/*:1/*:11/_suffix" 1 ; SetUIString "StartMenu/MCM/*:1/*:11/_suffixText" "%" ; SetUIString "StartMenu/MCM/*:1/*:11/_title" "Strap-On Chance" ; SetUIFloat "StartMenu/MCM/*:1/*:11/_type" 2 ; SetUIFloat "StartMenu/MCM/*:1/*:11/_value" SexoutBangMain.iStrapOnChance ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:12/_enable" iNonCon ; SetUIString "StartMenu/MCM/*:1/*:12/_title" "Player-Initiated Non-Con Sex: Use Strap-Ons?" ; SetUIFloat "StartMenu/MCM/*:1/*:12/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:12/_value" SexoutBangMain.iUseStrapOnOnGuyPlayerNC ; ; if (SexoutBangMain.iEnableNonCon && SexoutBangMain.iUseStrapOnOnGuyPlayerNC) ; Set iStrapOnPlayerNC to 1 ; else ; Set iStrapOnPlayerNC to 2 ; endif ; ; SetUIFloat "StartMenu/MCM/*:1/*:13/_enable" iStrapOnPlayerNC ; SetUIFloat "StartMenu/MCM/*:1/*:13/_suffix" 1 ; SetUIString "StartMenu/MCM/*:1/*:13/_suffixText" "%" ; SetUIString "StartMenu/MCM/*:1/*:13/_title" "Strap-On Chance" ; SetUIFloat "StartMenu/MCM/*:1/*:13/_type" 2 ; SetUIFloat "StartMenu/MCM/*:1/*:13/_value" SexoutBangMain.iStrapOnChancePlayerNC ; ; SetUIFloat "StartMenu/MCM/*:1/*:14/_enable" iNonCon ; SetUIString "StartMenu/MCM/*:1/*:14/_title" "NPC-Initiated Non-Con Sex: Use Strap-Ons?" ; SetUIFloat "StartMenu/MCM/*:1/*:14/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:14/_value" SexoutBangMain.iUseStrapOnOnGuyNPCNC ; ; ; if (SexoutBangMain.iEnableNonCon && SexoutBangMain.iUseStrapOnOnGuyNPCNC) ; Set iStrapOnNPCNC to 1 ; else ; Set iStrapOnNPCNC to 2 ; endif ; ; SetUIFloat "StartMenu/MCM/*:1/*:15/_enable" iStrapOnNPCNC ; SetUIFloat "StartMenu/MCM/*:1/*:15/_suffix" 1 ; SetUIString "StartMenu/MCM/*:1/*:15/_suffixText" "%" ; SetUIString "StartMenu/MCM/*:1/*:15/_title" "Strap-On Chance" ; SetUIFloat "StartMenu/MCM/*:1/*:15/_type" 2 ; SetUIFloat "StartMenu/MCM/*:1/*:15/_value" SexoutBangMain.iStrapOnChanceNPCNC ; ;Duration - Slider vs. Drop-Down List ; ;; SetUIFloat "StartMenu/MCM/*:1/*:15/_enable" 1 ;; SetUIString "StartMenu/MCM/*:1/*:15/_title" "Sex Duration Options" ;; SetUIFloat "StartMenu/MCM/*:1/*:15/_type" 0 ;; SetUIFloat "StartMenu/MCM/*:1/*:15/_RGB" 255255255 ; ; ; elseif (iSubmenu == 2) ; SetUIFloat "StartMenu/MCM/*:1/_columns" 2 ; SetUIFloat "StartMenu/MCM/*:1/*:1/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:1/_title" "Selectable Humanoids" ; SetUIFloat "StartMenu/MCM/*:1/*:1/_type" 0 ; SetUIFloat "StartMenu/MCM/*:1/*:1/_RGB" 050241137 ; ; SetUIFloat "StartMenu/MCM/*:1/*:3/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:3/_title" "Humans" ; SetUIFloat "StartMenu/MCM/*:1/*:3/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:3/_value" SexoutBangMain.iHumans ; ; SetUIFloat "StartMenu/MCM/*:1/*:4/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:4/_title" "Ghouls" ; SetUIFloat "StartMenu/MCM/*:1/*:4/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:4/_value" SexoutBangMain.iGhouls ; ; SetUIFloat "StartMenu/MCM/*:1/*:5/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:5/_title" "Super Mutants" ; SetUIFloat "StartMenu/MCM/*:1/*:5/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:5/_value" SexoutBangMain.iSuperMutant ; ; SetUIFloat "StartMenu/MCM/*:1/*:9/_enable" 1 ; SetUIString "StartMenu/MCM/*:1/*:9/_textOff" "NO" ; SetUIString "StartMenu/MCM/*:1/*:9/_textOn" "YES" ; SetUIString "StartMenu/MCM/*:1/*:9/_title" "Allow Creatures?" ; SetUIFloat "StartMenu/MCM/*:1/*:9/_type" 6 ; SetUIFloat "StartMenu/MCM/*:1/*:9/_value" SexoutBangMain.iAllowCreatures ; SetUIFloat "StartMenu/MCM/*:1/*:9/_RGB" 050241137 ; ; ; Set iSelectCreatures to 2 - SexoutBangMain.iAllowCreatures ; ; SetUIFloat "StartMenu/MCM/*:1/*:11/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:11/_title" "Ants" ; SetUIFloat "StartMenu/MCM/*:1/*:11/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:11/_value" SexoutBangMain.iAnt ; ; SetUIFloat "StartMenu/MCM/*:1/*:12/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:12/_title" "Mantises" ; SetUIFloat "StartMenu/MCM/*:1/*:12/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:12/_value" SexoutBangMain.iMantis ; ; SetUIFloat "StartMenu/MCM/*:1/*:13/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:13/_title" "Bighorners" ; SetUIFloat "StartMenu/MCM/*:1/*:13/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:13/_value" SexoutBangMain.iBighorner ; ; SetUIFloat "StartMenu/MCM/*:1/*:14/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:14/_title" "Mole Rats" ; SetUIFloat "StartMenu/MCM/*:1/*:14/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:14/_value" SexoutBangMain.iMoleRats ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:15/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:15/_title" "Bloatflies" ; SetUIFloat "StartMenu/MCM/*:1/*:15/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:15/_value" SexoutBangMain.iBloatfly ; ; SetUIFloat "StartMenu/MCM/*:1/*:16/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:16/_title" "Lakelurks" ; SetUIFloat "StartMenu/MCM/*:1/*:16/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:16/_value" SexoutBangMain.iMirelurk ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:17/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:17/_title" "Cazadors" ; SetUIFloat "StartMenu/MCM/*:1/*:17/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:17/_value" SexoutBangMain.iCazador ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:18/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:18/_title" "Nightstalkers" ; SetUIFloat "StartMenu/MCM/*:1/*:18/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:18/_value" SexoutBangMain.iNightstalker ; ; SetUIFloat "StartMenu/MCM/*:1/*:19/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:19/_title" "Centaurs" ; SetUIFloat "StartMenu/MCM/*:1/*:19/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:19/_value" SexoutBangMain.iCentaur ; ; SetUIFloat "StartMenu/MCM/*:1/*:20/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:20/_title" "Radroaches" ; SetUIFloat "StartMenu/MCM/*:1/*:20/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:20/_value" SexoutBangMain.iRadroaches ; ; SetUIFloat "StartMenu/MCM/*:1/*:21/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:21/_title" "Deathclaws" ; SetUIFloat "StartMenu/MCM/*:1/*:21/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:21/_value" SexoutBangMain.iDeathclaw ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:22/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:22/_title" "Rats" ; SetUIFloat "StartMenu/MCM/*:1/*:22/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:22/_value" SexoutBangMain.iGiantRats ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:23/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:23/_title" "Dogs" ; SetUIFloat "StartMenu/MCM/*:1/*:23/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:23/_value" SexoutBangMain.iDog ; ; SetUIFloat "StartMenu/MCM/*:1/*:24/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:24/_title" "Scorpions" ; SetUIFloat "StartMenu/MCM/*:1/*:24/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:24/_value" SexoutBangMain.iScorpions ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:25/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:25/_title" "Feral Ghouls" ; SetUIFloat "StartMenu/MCM/*:1/*:25/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:25/_value" SexoutBangMain.iFeralGhoul ; ; ; SetUIFloat "StartMenu/MCM/*:1/*:26/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:26/_title" "Spore Plants" ; SetUIFloat "StartMenu/MCM/*:1/*:26/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:26/_value" SexoutBangMain.iSporePlant ; ; SetUIFloat "StartMenu/MCM/*:1/*:27/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:27/_title" "Geckos" ; SetUIFloat "StartMenu/MCM/*:1/*:27/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:27/_value" SexoutBangMain.iGecko ; ; SetUIFloat "StartMenu/MCM/*:1/*:28/_enable" iSelectCreatures ; SetUIString "StartMenu/MCM/*:1/*:28/_title" "Other" ; SetUIFloat "StartMenu/MCM/*:1/*:28/_type" 5 ; SetUIFloat "StartMenu/MCM/*:1/*:28/_value" SexoutBangMain.iOther ; endif ;;2 - DEFAULT ; elseif GetUIFloat "StartMenu/MCM/_Default" ; SetUIFloat "StartMenu/MCM/_Default" 0 ; SetUIFloat "StartMenu/MCM/_Reset" 1 ; if (1 == iSubMenu) ; Set SexoutBangMain.iMasturbation to 21 ; Set SexoutBangMain.iConSex to 36 ; Set SexoutBangMain.iUseStrapOnOnGuy to 1 ; Set SexoutBangMain.iStrapOnChance to 50 ; Set SexoutBangMain.iUseStrapOnOnGuyPlayerNC to 1 ; Set SexoutBangMain.iStrapOnChancePlayerNC to 100 ; Set SexoutBangMain.iUseStrapOnOnGuyNPCNC to 1 ; Set SexoutBangMain.iStrapOnChanceNPCNC to 100 ; Set iStrapOn to 4 ; SetDebugMode 0 ; Set SexoutBangMain.iDebugging to 0 ; Set SexoutBangMain.rStrapOn to SexoutSKSTStrapon03 ; Set SexoutBangMain.iEnableNonCon to 1 ; Set SexoutBangMain.iNonConSexPlayer to 37 ; Set SexoutBangMain.iNonConSexNPC to 38 ; ; elseif (2 == iSubMenu) ; Set SexoutBangMain.iHumans to 1 ; Set SexoutBangMain.iGhouls to 1 ; Set SexoutBangMain.iSuperMutant to 1 ; Set SexoutBangMain.iAllowCreatures to 1 ; Set SexoutBangMain.iAnt to 1 ; Set SexoutBangMain.iMantis to 1 ; Set SexoutBangMain.iBighorner to 1 ; Set SexoutBangMain.iMoleRats to 1 ; Set SexoutBangMain.iBloatfly to 1 ; Set SexoutBangMain.iMirelurk to 1 ; Set SexoutBangMain.iCazador to 1 ; Set SexoutBangMain.iNightstalker to 1 ; Set SexoutBangMain.iCentaur to 1 ; Set SexoutBangMain.iRadroaches to 1 ; Set SexoutBangMain.iDeathclaw to 1 ; Set SexoutBangMain.iGiantRats to 1 ; Set SexoutBangMain.iDog to 1 ; Set SexoutBangMain.iScorpions to 1 ; Set SexoutBangMain.iFeralGhoul to 1 ; Set SexoutBangMain.iSporePlant to 1 ; Set SexoutBangMain.iGecko to 1 ; Set SexoutBangMain.iOther to 1 ; endif ; ;;3 - NEW VALUE ; elseif (GetUIFloat "StartMenu/MCM/_NewValue" != 0) ; SetUIFloat "StartMenu/MCM/_NewValue" 0 ; SetUIFloat "StartMenu/MCM/_Reset" 1 ; if (iSubmenu == 1) ; if (iOption == 1) ; if GetDebugMode ; SetDebugMode 0 ; set SexoutBangMain.iDebugging to 0 ; PrintToConsole "Debug mode DISabled" ; DebugPrint "You should NOT see this" ; else ; SetDebugMode 1 ; set SexoutBangMain.iDebugging to 1 ; PrintToConsole "Debug mode ENabled" ; DebugPrint "You should see this debug message" ; endif ; elseif (iOption == 2) ; if (fValue != SexoutBangMain.iConSex) ; set SexoutBangMain.iMasturbation to fValue ; endif ; elseif (iOption == 3) ; if (fValue != SexoutBangMain.iMasturbation) ; set SexoutBangMain.iConSex to fValue ; endif ; elseif (iOption == 5) ; set SexoutBangMain.iEnableNonCon to fValue ; elseif (iOption == 6) ; if ((fValue != SexoutBangMain.iConSex) && (fValue != SexoutBangMain.iNonConSexNPC) && (fValue != SexoutBangMain.iMasturbation)) ; set SexoutBangMain.iNonConSexPlayer to fValue ; endif ; elseif (iOption == 7) ; if ((fValue != SexoutBangMain.iConSex) && (fValue != SexoutBangMain.iNonConSexPlayer) && (fValue != SexoutBangMain.iMasturbation)) ; set SexoutBangMain.iNonConSexNPC to fValue ; endif ; elseif (iOption == 9) ; set iStrapOn to fValue ; if iStrapOn == 1 ; set SexoutBangMain.rStrapOn to SexoutSKSTStrapon01 ; elseif iStrapOn == 2 ; set SexoutBangMain.rStrapOn to SexoutSKSTStrapon02 ; elseif iStrapOn == 3 ; set SexoutBangMain.rStrapOn to SexoutSKSTStrapon02Twin ; elseif iStrapOn == 4 ; set SexoutBangMain.rStrapOn to SexoutSKSTStrapon03 ; elseif iStrapOn == 5 ; set SexoutBangMain.rStrapOn to SexoutSKSTStrapon04 ; elseif iStrapOn == 6 ; set SexoutBangMain.rStrapOn to SexoutSKSTStrapon05DildoPurple ; elseif iStrapOn == 7 ; set SexoutBangMain.rStrapOn to SexoutSKSTStrapon05DildoBlack ; elseif iStrapOn == 8 ; set SexoutBangMain.rStrapOn to SexoutSKSTStrapon05DildoPink ; elseif iStrapOn == 9 ; set SexoutBangMain.rStrapOn to SexoutSKSTStrapon06Tentacle02 ; elseif iStrapOn == 10 ; set SexoutBangMain.rStrapOn to SexoutSKSTStrapon07 ; endif ; elseif (iOption == 10) ; set SexoutBangMain.iUseStrapOnOnGuy to fValue ; elseif (iOption == 11) ; set SexoutBangMain.iStrapOnChance to fValue ; elseif (iOption == 12) ; set SexoutBangMain.iUseStrapOnOnGuyPlayerNC to fValue ; elseif (iOption == 13) ; set SexoutBangMain.iStrapOnChancePlayerNC to fValue ; elseif (iOption == 14) ; set SexoutBangMain.iUseStrapOnOnGuyNPCNC to fValue ; elseif (iOption == 15) ; set SexoutBangMain.iStrapOnChanceNPCNC to fValue ; endif ; elseif (iSubmenu == 2) ; if (iOption == 3) ; set SexoutBangMain.iHumans to fValue ; elseif (iOption == 4) ; set SexoutBangMain.iGhouls to fValue ; elseif (iOption == 5) ; set SexoutBangMain.iSuperMutant to fValue ; elseif (iOption == 9) ; set SexoutBangMain.iAllowCreatures to fValue ; elseif (iOption == 11) ; set SexoutBangMain.iAnt to fValue ; elseif (iOption == 12) ; set SexoutBangMain.iMantis to fValue ; elseif (iOption == 13) ; set SexoutBangMain.iBighorner to fValue ; elseif (iOption == 14) ; set SexoutBangMain.iMoleRats to fValue ; elseif (iOption == 15) ; set SexoutBangMain.iBloatfly to fValue ; elseif (iOption == 16) ; set SexoutBangMain.iMirelurk to fValue ; elseif (iOption == 17) ; set SexoutBangMain.iCazador to fValue ; elseif (iOption == 18) ; set SexoutBangMain.iNightstalker to fValue ; elseif (iOption == 19) ; set SexoutBangMain.iCentaur to fValue ; elseif (iOption == 20) ; set SexoutBangMain.iRadroaches to fValue ; elseif (iOption == 21) ; set SexoutBangMain.iDeathclaw to fValue ; elseif (iOption == 22) ; set SexoutBangMain.iGiantRats to fValue ; elseif (iOption == 23) ; set SexoutBangMain.iDog to fValue ; elseif (iOption == 24) ; set SexoutBangMain.iScorpions to fValue ; elseif (iOption == 25) ; set SexoutBangMain.iFeralGhoul to fValue ; elseif (iOption == 26) ; set SexoutBangMain.iSporePlant to fValue ; elseif (iOption == 27) ; set SexoutBangMain.iGecko to fValue ; elseif (iOption == 28) ; set SexoutBangMain.iOther to fValue ; endif ; endif ; ; ; ;;4 - SHOW LIST ; elseif GetUIFloat "StartMenu/MCM/_ShowList" == 1 ; SetUIFloat "StartMenu/MCM/_ShowList" 2 ; if (1 == iSubMenu) ; if (iOption == 9) ; SetUIString "StartMenu/MCM/*:3/_title" "Select a Strap-On" ; SetUIFloat "StartMenu/MCM/*:3/*:1/_enable" 1 ; SetUIFloat "StartMenu/MCM/*:3/*:2/_enable" 1 ; SetUIFloat "StartMenu/MCM/*:3/*:3/_enable" 1 ; SetUIFloat "StartMenu/MCM/*:3/*:4/_enable" 1 ; SetUIFloat "StartMenu/MCM/*:3/*:5/_enable" 1 ; SetUIFloat "StartMenu/MCM/*:3/*:6/_enable" 1 ; SetUIFloat "StartMenu/MCM/*:3/*:7/_enable" 1 ; SetUIFloat "StartMenu/MCM/*:3/*:8/_enable" 1 ; SetUIFloat "StartMenu/MCM/*:3/*:9/_enable" 1 ; SetUIFloat "StartMenu/MCM/*:3/*:10/_enable" 1 ; SetUIString "StartMenu/MCM/*:3/*:1/text/string" "SexoutSKSTStrapon01 (Black w/ Straps)" ; SetUIString "StartMenu/MCM/*:3/*:2/text/string" "SexoutSKSTStrapon02 (Red w/ Straps)" ; SetUIString "StartMenu/MCM/*:3/*:3/text/string" "SexoutSKSTStrapon02Twin (2 Dildos w/ Straps)" ; SetUIString "StartMenu/MCM/*:3/*:4/text/string" "SexoutSKSTStrapon03 (Light Pink w/ Straps)" ; SetUIString "StartMenu/MCM/*:3/*:5/text/string" "SexoutSKSTStrapon04 (Black w/ Straps)" ; SetUIString "StartMenu/MCM/*:3/*:6/text/string" "SexoutSKSTStrapon05DildoPurple (Purple w/o Straps)" ; SetUIString "StartMenu/MCM/*:3/*:7/text/string" "SexoutSKSTStrapon05DildoBlack (Black w/o Straps)" ; SetUIString "StartMenu/MCM/*:3/*:8/text/string" "SexoutSKSTStrapon05DildoPink (Pink w/o Straps)" ; SetUIString "StartMenu/MCM/*:3/*:9/text/string" "SexoutSKSTStrapon06Tentacle02 (Fleshy w/o Straps)" ; SetUIString "StartMenu/MCM/*:3/*:10/text/string" "SexoutSKSTStrapon07 (White w/ Straps)" ; SetUIFloat "StartMenu/MCM/_Value" iStrapOn ; endif ; elseif (2 == iSubMenu) ; endif ;;5 - SHOW SCALE ; elseif GetUIFloat "StartMenu/MCM/_ShowScale" == 1 ; SetUIFloat "StartMenu/MCM/_ShowScale" 2 ; if (iSubMenu == 1) ; if (iOption == 11) ; SetUIFloat "StartMenu/MCM/_Value" SexoutBangMain.iStrapOnChance ; SetUIFloat "StartMenu/MCM/_ValueDecimal" 0 ; SetUIFloat "StartMenu/MCM/_ValueIncrement" 1 ; SetUIFloat "StartMenu/MCM/_ValueMax" 100 ; SetUIFloat "StartMenu/MCM/_ValueMin" 1 ; SetUIString "StartMenu/MCM/*:2/_suffixText" "%" ; SetUIString "StartMenu/MCM/*:2/_title" "Strap-On Chance" ; elseif (iOption == 13) ; SetUIFloat "StartMenu/MCM/_Value" SexoutBangMain.iStrapOnChancePlayerNC ; SetUIFloat "StartMenu/MCM/_ValueDecimal" 0 ; SetUIFloat "StartMenu/MCM/_ValueIncrement" 1 ; SetUIFloat "StartMenu/MCM/_ValueMax" 100 ; SetUIFloat "StartMenu/MCM/_ValueMin" 1 ; SetUIString "StartMenu/MCM/*:2/_suffixText" "%" ; SetUIString "StartMenu/MCM/*:2/_title" "Player Strap-On Chance" ; elseif (iOption == 15) ; SetUIFloat "StartMenu/MCM/_Value" SexoutBangMain.iStrapOnChanceNPCNC ; SetUIFloat "StartMenu/MCM/_ValueDecimal" 0 ; SetUIFloat "StartMenu/MCM/_ValueIncrement" 1 ; SetUIFloat "StartMenu/MCM/_ValueMax" 100 ; SetUIFloat "StartMenu/MCM/_ValueMin" 1 ; SetUIString "StartMenu/MCM/*:2/_suffixText" "%" ; SetUIString "StartMenu/MCM/*:2/_title" "NPC Strap-On Chance" ; endif ; elseif (2 == iSubMenu) ; endif ;;6 - DEFAULT SCALE ; elseif GetUIFloat "StartMenu/MCM/_DefaultScale" ; SetUIFloat "StartMenu/MCM/_DefaultScale" 0 ; SetUIFloat "StartMenu/MCM/_ShowScale" 2 ; if (1 == iSubMenu) ; if (11 == iOption) ; SetUIFloat "StartMenu/MCM/_Value" 50 ; elseif (13 == iOption) ; SetUIFloat "StartMenu/MCM/_Value" 100 ; elseif (15 == iOption) ; SetUIFloat "StartMenu/MCM/_Value" 100 ; endif ; elseif (2 == iSubMenu) ; endif ; endif ;;7 - MOUSE-OVER ; elseif iMouseover != GetUIFloat "StartMenu/MCM/*:1/_optionID" ; set iMouseover to GetUIFloat "StartMenu/MCM/*:1/_optionID" ; if iMouseover ; SetUIFloat "StartMenu/MCM/MCM_Info/visible" 1 ; if (1 == iSubMenu) ; if iMouseover == 1 ; else ; SetUIFloat "StartMenu/MCM/*:9/visible" 0 ; endif ; elseif (2 == iSubMenu) ; ; endif ; endif ; endif ; ;end ;
shegontal1 Posted July 6, 2014 Posted July 6, 2014 Okay. Yeah, not as bad. Just looks... clumpy? I guess would be the word. I think, if I needed to, I could learn it, but see the hesitation on throwing it into every mod and/or needing to edit it You see, I really want to learn to code out some mods, so information like this is a big help anyhow. I'm taking on the strategy of learning through osmosis until I can find the time to just sit through tutorial after tutorial But yeah, that example gives me a pretty good idea.
nyaalich Posted July 6, 2014 Posted July 6, 2014 If you've done coding, actual scripting in the GECK is fine. You just have to learn how the different forms (NPCs, races, objects, etc.) interact and deal with some of the not working or not working like you thought it would functions.
shegontal1 Posted July 6, 2014 Posted July 6, 2014 Yeah. My coding experience extends to simple old Java due to my classes mainly focusing with that one. I've noticed syntax similarities between the two that I really appreciate, although I think most of the similarities are just common threads in general throughout the languages. It just seems very much like a similar logic, so I think I can pick it up.
nyaalich Posted July 6, 2014 Posted July 6, 2014 Easiest way to learn is to open up a mod that's got something in it that's similar to what you want to do. If you want to make a custom companion, download Willow, Niner, etc. and see how they're put together.
shegontal1 Posted July 6, 2014 Posted July 6, 2014 Thanks. I'm gonna do that. Truth be told, I've done a lot of snooping in Sexout's coding as well. lol
t3589 Posted July 6, 2014 Author Posted July 6, 2014 MCM is simply a personal preference in my case. There's no reason I don't use it, other than I just despise dicking with it. I'll use it only if nothing else will work. I used to use it just because it was 'fancy', but later I understood more clearly that it is a tool like any other. No need to wear yourself out swatting flies with a shovel.
nyaalich Posted July 7, 2014 Posted July 7, 2014 Bangatron! would have required endless menus to account for all of the creatures. I think I did it because of that and because it's what the cool kids were doing.
t3589 Posted July 7, 2014 Author Posted July 7, 2014 Bangatron! would have required endless menus to account for all of the creatures. I think I did it because of that and because it's what the cool kids were doing. I'm really enjoying this terminal method so far. Granted it took 13 of them to interface with the clothing eval lists. It's very tidy, a little slow, but provides room for tons of options if you page them out right.
Halstrom Posted July 7, 2014 Posted July 7, 2014 No need to wear yourself out swatting flies with a shovel.An ordinary swatter is no good for NV flies, go the shovel
t3589 Posted July 7, 2014 Author Posted July 7, 2014 Hmmm multiple choice date locations? Not sure how I feel about warping yet. I'm going to remove the marker items and use the control terminal. So it will go something like: - Travel to player home exterior entrance. - Set exterior entrance marker in the ConTerm. - Go inside player home. - Set interior entrance marker in the ConTerm. Then.... I'm thinking something like: - Unlock 3 date location markers. - Travel to date location. - Set date location marker in the ConTerm. Then when you go on a date you have the choices of Home, Location A, Location B, Location C, or Manual Follow. Which would show up depending upon how many you set. When you set the marker a fourth time, the first one would be removed. So you could step your 3 locations as you play through, or spread them out at great distances. What do you guys think? Would you like auto date locations, or would you rather travel to your date locations manually?
nyaalich Posted July 7, 2014 Posted July 7, 2014 Can't speak to how it works w/ non-companions yet, so I don't know if there's some limit to the time that they will follow you (i.e., fast travel always worked for me, although I imagine that it's not realistic enough for you ). Terminals are nice for layouts, but I still think you're limited with the number of choices you can have on screen. Of course, you're more limited horizontally with menus, so there you go.
nyaalich Posted July 7, 2014 Posted July 7, 2014 There's a cheat terminal that I use that has selections for Mark Location [1-4] and Recall Location [1-4]. To mark it is to set it. To recall is to transport. If you mark something new, that replaces the old one. You could do something like that, or if you wanted to add more options, you could have a page for marking or transporting to, what, 8 locations?
t3589 Posted July 7, 2014 Author Posted July 7, 2014 There's a cheat terminal that I use that has selections for Mark Location [1-4] and Recall Location [1-4]. To mark it is to set it. To recall is to transport. If you mark something new, that replaces the old one. You could do something like that, or if you wanted to add more options, you could have a page for marking or transporting to, what, 8 locations? They're not for transport by click. They're options to fast travel to date locations. For example: - Open dialog with NPC - Choose 'Ready For Date' or whatever. - NPC says 'Sure'. - Dialog Returns... a. Manual Follow (as it is now) b. Date Location A (fast travel together to custom location A) c. Date Location B (fast travel together to custom location B ) d. Date Location C (fast travel together to custom location C) Then once you get there, open dialog and 'Start Date Here'. The date locations being locations you have chosen and set in the ConTerm. Though you would have to be mindful of factions. ie. Don't want to take an NPC to a place you know their faction doesn't get along with.
nyaalich Posted July 7, 2014 Posted July 7, 2014 Maybe it's something I did on my end (I manually installed TTW previously...tried the FOMM way this time since the fomods actually built this time). TTW 2.6's been exceptionally screwy with different things. Maybe because I had TTW startup menu enabled only to find out that it fucks up/prevents the wake up at Doc Mitchell's scene after the train journey, so I disabled it. I've gotten one generic is interested message, but named NPCs generate a "NPC is incompatible." I forced my level up to their's (or equivalent by Level + Charisma), and there aren't any DRL dialogue choices. Of course, this matters little since you're rewriting it, T!. I just wanted to let the other poster know that s/he isn't crazy.
BoondockSaint Posted July 8, 2014 Posted July 8, 2014 I think Jezzy made some or was talking about making some images for the SCR (I think it's added by that) perks. Being just interested in not many SO mods -I just have installed now 'Intimacy Project', 'SO sound replacer', 'SO pregnancy' and 'Character Resize'-, I tend to forget that I also have installed a ton of required mods that also add stuff. Anyway, It's cool that somebody is going to add images to the new perks. Thanks for the info. On a different note: > Be at the Vikki and Vance casino > 'Ruby Nash is giving you the evil eye' message appears, while the game triggers on her the vanilla nose-picking animation > Getting unconfortable so I GTFO quickily from there to kill more convicts > Not sure If I want her casserole anymore. > No idea what the 'evil eye' will trigger, but I dont want to know. I hope the alpha is going fine, I cant wait to use this now that 'NV Redesigned 3' is released!
nyaalich Posted July 8, 2014 Posted July 8, 2014 I'm the same way. I think that I run 3-4, but when I look, it's more than that. You were about to get insulted (or that's what always seemed to happen to me). Good call on avoiding the casserole.
t3589 Posted July 8, 2014 Author Posted July 8, 2014 Still plugging away at it. I should have something ready for testing before this weekend. EDIT: - Added 'Public Morals' setting to the ConTerm. Low = Internal reactions only., Med = Reactions to sex only., High = Reactions to nudity and sex. - added 3 Action Profiles. Now the ordering of the NPCs 'do' priorities can change dynamically. Currently 'Creatures', 'Masculine NPCs', and 'Feminine NPCs', each have their own prioritization of which actions to perform first. - added Dialog Profiles. Dialog Profiles are a replacement for dialog 'IsSex' checks. Now the dialog no longer checks for male/female, but instead checks for Masculine/Feminine. Which means you can easily set males to use feminine dialog and visa versa depending upon the NPC role. - added 2 NPC Roles. In addition to the masc/fem, and dom/sub roles, two new roles were added. 'Provider' and 'Dependent'. - added moods. They are: Uninhibted, Devoted, Envious, Sweet, Sexual, Jealous, Angry, Done, Flirty, and Nice. More to come.
BoondockSaint Posted July 10, 2014 Posted July 10, 2014 Cool those new feats! A suggestion, If this mod has in mind the NPC orientation, could eventually also have in mind If the NPC is already married or on a relationship? Rightnow I remember: The McBrides in Novac The Nash in Primm Joana and Carlitos Wayne in the Strip The King and his groupies Just to know what do you guys think about this. If t3589 thinks It's cool -or already thought about It- and could eventually be implemented, we could discuss it later.
nyaalich Posted July 10, 2014 Posted July 10, 2014 I know that back in the day, he had couples on the exclusion list. Who knows what awesomeness will be in the next build?
t3589 Posted July 10, 2014 Author Posted July 10, 2014 Cool those new feats! A suggestion, If this mod has in mind the NPC orientation, could eventually also have in mind If the NPC is already married or on a relationship? Rightnow I remember: The McBrides in Novac The Nash in Primm Joana and Carlitos Wayne in the Strip The King and his groupies Just to know what do you guys think about this. If t3589 thinks It's cool -or already thought about It- and could eventually be implemented, we could discuss it later. I've been adding them to the ban list since the prototype. I do not plan to implement any kind of home wrecking. Though these coupled NPCs may be used in fantasies later.
BoondockSaint Posted July 11, 2014 Posted July 11, 2014 Oh, another suggestion: a couple of times, in the Mojave Outpost, Ranger Ghost seemed interested. So, she leaves her post to start dialogue with the PC. After tnat, she stands where she started the dialogue for the rest of the game. This could be applied to any NPC who's static and shouldnt move because It's role in the game: when It leaves his/her post, It stands there forever. I think placing a floor marker using the GECK should be enough so the NPCs return to their post if they dont have an AI package or daily schedule.
nyaalich Posted July 11, 2014 Posted July 11, 2014 Doc Mitchell has a daily schedule, but he decided to follow me outside of his house. After a few days of moping around the truck like a lost puppy, I finally went back inside, warped him to me, and reset his ai. Don't know how time consuming it would be to dynamically add the markers at the start of an approach and force NPCs to return to them at package completion. Perhaps it's what he's currently doing with post-date returns as that I've only been wooing companions SINCE JULIE FARKAS HATES GIVING ME THE TIME OF DAY! One day, Julie. One day, you will follow my apoca...hmm...maybe that's why she won't give me the time of day. Side question: Are you making NPCs who are returning on their own essential until they reach their starting point? I'm thinking about going over long distances (Julie to Goodsprings) rather than Trudy walking 20 ft. in town when/if some battle is triggered there.
jaam Posted July 11, 2014 Posted July 11, 2014 You cannot create the markers out of thin air. So they have to be prebuilt, and so in limited quantity. At least that was true before NX and arrays. There might be a way to do totally dynamic markers with one of those.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.