xavius05 Posted August 29, 2018 Share Posted August 29, 2018 So I've been trying to get the above command to work from my ini files. I first learned of this command via the godrays mod here:https://www.nexusmods.com/fallout4/mods/15211And for the longest time, it worked. I can clearly see the changes automatically typed in when I open the console upon loading the game. Now that I've come back to the game, I have a different setup of mods. This ini edit included, but now also I'd like to use "SetGameSetting fCombatMusicPlayerTargetedThreatRatio 1000" as well, only because I'm using the Game Config Menu mod which overwrites any mods that do it, and only has a max of 30 in it's menu. (Despite not touching the "Sound" section which can edit that and forcing the mod to read the "hardcoded" setting as it calls it and has described how to do so via resetting it, it still doesn't work.) And no, actual mods that force the combat music and more or less do the same thing as the above command don't work either.So I changed the .txt file I made from the godrays ini and included the last extra line, it now shows: gr grid 12gr scale .8gr maxcascade 1SetGameSetting fCombatMusicPlayerTargetedThreatRatio 1000 But despite having "sStartingConsoleCommand=bat startup" in my Fallout 4.ini, (I put it in prefs and custom as well, and I am using Mod Organizer 2 to run FO4 so yes I put it in the ini's MO2 reads from my profile) it doesn't seem to be working. If I type "bat startup" in the console once in-game, it does indeed work, (combat music starts immediately once I type it in after encountering an enemy that doesn't start the music) but it defeats the purpose of the edit having it start automatically.The thing is, something else is starting automatically, and I feel that's what's preventing it from being read as it might be doing the same thing. But I can't find another instance of "sStartingConsoleCommand" anywhere in any ini, so I don't know what I have that's causing it. When I do load the game, this appears in the console automatically: cl rim 0.0025; gr grid 12;gr scale 0.8Command: cl rim 0.0025;gr grid 12;gr scale 0.8Changed character light RIM strength from 0.020000 to 0.002500 I have read that semi-colons are used to execute multiple commands when using "sStartingConsoleCommand" but if you just use "bat" like I did above, it just runs the text of the file name you give as a batch file. So whatever this is, I think it's overwriting it. Does this look familiar to anyone?This is my load order pasted from LOOT: 0 0 Fallout4.esm 1 1 DLCRobot.esm 2 2 DLCworkshop01.esm 3 3 DLCCoast.esm 4 4 DLCworkshop02.esm 5 5 DLCworkshop03.esm 6 6 DLCNukaWorld.esm DLCUltraHighResolution.esm 7 7 Unofficial Fallout 4 Patch.esp 8 8 ArmorKeywords.esm254 FE 0 GCM_DLC_Automatron.esl 9 9 Homemaker.esm 10 a HUDFramework.esm254 FE 1 Loot Detector.esl 11 b NAC.esm 12 c SettlementKeywords.esm254 FE 2 GKX Worthwhile Caps Stashes.esl 13 d JonsMod.esm 14 e Loads.esm 15 f NewCalibers.esp 16 10 SimSettlements.esm 17 11 PlayerComments.esp 18 12 ValdacilsItemSorting-00-ValsPicks-DLCVersion-VanillaWeight.esp 19 13 Weaponsmith Extended 2.esp 20 14 3dscopes.esp 21 15 3dscopes-AddToSpawnList.esp 22 16 3dscopes-framework.esp 23 17 AlternateSettlements.esp 24 18 Armorsmith Extended.esp 25 19 AzarPonytailHairstyles.esp 26 1a Reverb and Ambiance Overhaul.esp 27 1b KSHairdos.esp 28 1c MiscHairstyle.esp 29 1d The Eyes Of Beauty.esp 30 1e Better Vendor Stalls.esp 31 1f dD-Action Ragdoll Force.esp 32 20 DD_bleu_Ump_Extreme_Lore_friendly_edition.esp 33 21 FunctionalDisplays.esp 34 22 FunctionalDisplays-Collectibles.esp 35 23 FunctionalDisplays-Patch-DLC-ALL-VIS.esp 36 24 GCM.esp 37 25 HoloTime.esp 38 26 Homemaker - Streetlights Use Passive Power.esp 39 27 Homemaker - Unlocked Institute Objects.esp 40 28 Immersive HUD.esp 41 29 IncreasedSettlerPopulation50.esp 42 2a InvisibleArmorAA.esp 43 2b K9TacticalHarness.esp 44 2c Loads of Ammo - Leveled Lists.esp 45 2d LongerPowerLines3x.esp 46 2e LooksMenu.esp 47 2f Lots More Facial Hair.esp 48 30 Lots More Female Hairstyles.esp 49 31 Lots More Male Hairstyles.esp 50 32 mjp_PTRS41ATR.esp 51 33 More Where That Came From Diamond City.esp 52 34 OLYMPUS-SM.esp 53 35 NAC-FarHarbor.esp 54 36 NAC-NukaWorld.esp 55 37 OCDecorator.esp 56 38 OCDecoratorDLC.esp 57 39 OCDispenser.esp 58 3a OWR2_CraftableDecor.esp 59 3b OWR2_CraftableDecor_CW.esp 60 3c OWR2_CraftableDecor_CW_SKPatch.esp 61 3d OWR2_CraftableDecor_SKPatch.esp 62 3e OWR_CraftableDecor.esp 63 3f OWR_CraftableDecor_CW.esp 64 40 OWR_CraftableDecor_SKPatch.esp 65 41 Pip-Boy Flashlight.esp 66 42 Quieter Settlements - Contraptions.esp 67 43 Quieter Settlements - Vanilla.esp 68 44 Quieter Settlements - Wasteland Workshop.esp 69 45 RAW INPUT.esp 70 46 SimSettlements_XPAC_IndustrialRevolution.esp 71 47 StandaloneHiddenHelmets.esp 72 48 Synth Overhaul.esp 73 49 ZellaHairDye.esp 74 4a THBrows.esp 75 4b TheEyesOfBeauty.esp 76 4c M14.esp 77 4d M2216.esp 78 4e This is MY Bed (Extended).esp 79 4f EFF.esp 80 50 VendorCaps.esp 81 51 AWPWandererCoat.esp 82 52 Weapon Brackets.esp 83 53 WestTekTacticalOptics.esp 84 54 CREAtiveClutter.esp 85 55 Faded Glory - Soundtrack Expansion.esp 86 56 BostonFPSFixAIO.esp 87 57 WelcometoGoodneighbor.esp 88 58 BTInteriors_Project.esp 89 59 3DNPC_FO4.esp 90 5a Eli_Faction Housing Overhaul - AiO.esp 91 5b subwayrunnnerdynamiclighting.esp 92 5c OutcastsAndRemnants.esp 93 5d ProjectValkyrie.esp ConcordEXPANDED.esp BeantownConcordExpandedPatch.esp 94 5e Stm_DiamondCityExpansion.esp 95 5f AlootHomePlate.esp 96 60 Eli_Armour_Compendium.esp 97 61 BostonCommonPlayerHome.esp 98 62 AA FusionCityRising.esp 99 63 NAC-AE Patch.esp100 64 wastelandwoundcare.esp101 65 10mmRevolver.esp102 66 Crimsomrider's 1950s Feminine Outfits.esp103 67 el_AgentOutfit.esp104 68 Ambient Wasteland.esp105 69 CHEF.esp106 6a WZWildWasteland.esp107 6b Ketaros_TradingCards.esp108 6c Backpacks of the Commonwealth.esp109 6d QuazHighTechLoftOLD.esp110 6e RealComics.esp111 6f CAPP.esp112 70 Immortal Cats 2.esp113 71 BetterSettlers.esp114 72 BetterSettlersCleanFacePack.esp115 73 Mercenary.esp116 74 MAGS.esp117 75 MoreBobbleheads.esp118 76 MsRae_Shops.esp119 77 stumbleuponinteriors.esp120 78 ScavengedMercGear.esp121 79 Eli_Accessories.esp122 7a ASVektor.esp123 7b BattleRifle.esp124 7c BasementLiving.esp125 7d Be Exceptional.esp126 7e BetterCompanions.esp127 7f Move (Get Out the Way).esp128 80 BetterSettlersNoLollygagging.esp129 81 BetterSettlersCCAPack2.0.esp130 82 BountifulBoards.esp131 83 SlowTime.esp132 84 Business Settlements.esp133 85 Campsite.esp134 86 Collectable_Trucks.esp135 87 CompanionStatus.esp136 88 Yona_Weapon_DefenseGun.esp137 89 Dogmeat's Backpack.esp138 8a dD-Enhanced Blood.esp139 8b AtomicAnnieLagrieGun.esp140 8c OWR.esp141 8d OWR2.esp142 8e OWR2_SKEPatch.esp143 8f Scavenged NCR Armor.esp144 90 SKKQuantumStorage.esp145 91 Blues Radio DBR.esp146 92 Conelrad 640-1240.esp147 93 FO4Hotkeys.esp148 94 AES_Renovated Furniture.esp149 95 SSC.esp150 96 FO4Hotkeys_SSC_patch.esp151 97 Crafting Workbench.esp152 98 Crafting Workbenches - Ammo.esp153 99 Crafting Workbenches - Ammo Special.esp154 9a Crafting Workbenches - Automatron DLC.esp155 9b Crafting Workbenches - Junk Items.esp156 9c Crafting Workbenches - Power Armor.esp157 9d Crafting Workbenches - Pre War and Manufactured.esp158 9e AkaSinger.esp159 9f AkaSingersWardrobe.esp160 a0 SKKDynamicTimescale.esp161 a1 SKKCombatStalkers.esp162 a2 SKKKillXP.esp163 a3 PD_LowerWeapon.esp164 a4 def_inv_scrap_en.esp165 a5 FunctionalDisplays-MISC-VIS.esp166 a6 Workshop Shipments Rebalanced - discount.esp167 a7 F04Merged.esp168 a8 FunctionalDisplays-AID-VIS.esp169 a9 Wasteland Heroines Replacer All in One_1.0.0.esp170 aa Dogmeat A True Companion.esp171 ab EnhancedGrass_Low.esp172 ac CBBE.esp173 ad ProjectValkyrie - NC-Loads-AE-VIS Patch.esp174 ae Rusty Face Fix.esp175 af DNHeavy.esp176 b0 ValiusHDTextures2K.esp177 b1 Existence 2.0.esp178 b2 AnotherLife.esp179 b3 Bashed Patch, 0.esp Thanks for any help. Link to comment Share on other sites More sharing options...
Deleted3082751User Posted August 29, 2018 Share Posted August 29, 2018 (edited) going to quote my other post: "download this: https://www.nexusmod...llout4/mods/102 place it in your fallout 4 root folder, open fallout4ConfigTool - Click on the Tweaks Tab - Click on AutoExec - Click on Add - and add all of them commands into the AutoExec.txt Document that Pops up, save the document, then back on the tool, click on Save. you should be good to go i have tried it myself with many commands and it worked flawlessly the game has to check all 3 fallout 4 ini files on load, which is likely why it is flopping after the first command, where as using the method above, it will check the commands at the right time, meaning it will have a much higher success rate. because it is an AutoExec document (Auto Execute, has the highest priority), as the game will read it as soon as the game launches, quite possibly before everything else." Edited August 29, 2018 by Guest Link to comment Share on other sites More sharing options...
xavius05 Posted August 29, 2018 Author Share Posted August 29, 2018 I saw this before and thought about it. I'll give this a try, hopefully I can get this to work with running the game via MO2, what with it using a seperate set of .inis, thanks. Link to comment Share on other sites More sharing options...
xavius05 Posted August 29, 2018 Author Share Posted August 29, 2018 Didn't seem to work, unless it does it in the background and just doesn't display the commands in the console. Will have to get into some fights to see if it worked or not. Link to comment Share on other sites More sharing options...
Deleted3082751User Posted August 29, 2018 Share Posted August 29, 2018 (edited) in the AutoExec.txt it needs to be added exactly as below: sStartingConsoleCommand=cl rim 0.0025; gr grid 12; gr scale 0.8 going to assume, because you did not get messages from the console, that would imply you might of not added the sStartingConsoleCommand at the start of these commands ? or try: sStartingConsoleCommand=cl rim 0.0025;gr grid 12;gr scale 0.8 (basically without the spaces) it has been a long time since i done the above so cannot remember exactly how i entered the commands alternatively, just add the sStartingConsoleCommand=bat Test then create a text document called Test, and paste each command into it,as you put in your first quote: "gr grid 12gr scale .8gr maxcascade 1SetGameSetting fCombatMusicPlayerTargetedThreatRatio 1000" without the quotation marks so the autoexec, launches the bat file, meaning the bat file loads immediately on game load, eliminating delay, meaning a higher success rate. Edited August 29, 2018 by Guest Link to comment Share on other sites More sharing options...
xavius05 Posted August 29, 2018 Author Share Posted August 29, 2018 (edited) Well, not getting messages in the console, but I have yet to encounter something that didn't trigger combat music. So, it's working maybe? Maybe it just doesn't display them?I did do an edit to the "Immersive Super Ultra Hype Combat Music Overhaul" mod last night though, replacing the "MUS_Combat_Low" with any of the "MUS_Combat_XX". (I just copied the higher threat files and renamed them.) For some reason in that mod, the "low threat" music triggers in fights that aren't exactly "low threat" at all for some reason, so I changed them to just place any of the other songs again. But AFAIK "fCombatMusicPlayerTargetedThreatRatio" just forces combat music to happen at all at a given threshold, low threat version or otherwise.I didn't put "sStartingConsoleCommand" since I thought that's exactly what the auto.txt was doing, so I just put the commands. So far it's either working, or the edit to the music mod I did is treating all threats high. Either way it's doing what I want, but if something happens I'll put that command at the top. Thanks. Edited August 29, 2018 by xavius05 Link to comment Share on other sites More sharing options...
zorak912 Posted January 15, 2019 Share Posted January 15, 2019 In case anyone still wants to know the cause of the problem is NAC. In Data folder you will find NAC.ini and you will see that there is the sStartingConsoleCommand= that you must edit. Link to comment Share on other sites More sharing options...
baloney8sammich Posted January 16, 2019 Share Posted January 16, 2019 In case anyone still wants to know the cause of the problem is NAC. In Data folder you will find NAC.ini and you will see that there is the sStartingConsoleCommand= that you must edit. I see OP's load order includes NAC.esm, so I assume NAC.ini is part of the same mod. Out of curiosity, what mod is it? Link to comment Share on other sites More sharing options...
crimsonskull13 Posted April 16, 2019 Share Posted April 16, 2019 Well, not getting messages in the console, but I have yet to encounter something that didn't trigger combat music. So, it's working maybe? Maybe it just doesn't display them? I did do an edit to the "Immersive Super Ultra Hype Combat Music Overhaul" mod last night though, replacing the "MUS_Combat_Low" with any of the "MUS_Combat_XX". (I just copied the higher threat files and renamed them.) For some reason in that mod, the "low threat" music triggers in fights that aren't exactly "low threat" at all for some reason, so I changed them to just place any of the other songs again. But AFAIK "fCombatMusicPlayerTargetedThreatRatio" just forces combat music to happen at all at a given threshold, low threat version or otherwise. I didn't put "sStartingConsoleCommand" since I thought that's exactly what the auto.txt was doing, so I just put the commands. So far it's either working, or the edit to the music mod I did is treating all threats high. Either way it's doing what I want, but if something happens I'll put that command at the top. Thanks. Thank you good sir. That was my problem too. Link to comment Share on other sites More sharing options...
crimsonskull13 Posted April 16, 2019 Share Posted April 16, 2019 In case anyone still wants to know the cause of the problem is NAC. In Data folder you will find NAC.ini and you will see that there is the sStartingConsoleCommand= that you must edit. Thank you good sir. That was my problem too. Link to comment Share on other sites More sharing options...
Recommended Posts