0 of 0

File information

Last updated

Original upload

Created by

Verteiron

Uploaded by

verteiron

Virus scan

Safe to use

About this mod

In the vanilla game, the combat music was frequently your first indication that you had been targeted by an unseen enemy. SCM does away with that, forcing you remain alert and be aware of your surroundings. It can also play musical cues for surprise attacks, silence the normal music when enemies are nearby, and adds an optional victory fanfare aft

Requirements
Permissions and credits
Donations
Inspired by this Reddit thread, Smarter Combat Music disables the game's own handling of the combat music and replaces it with a more nuanced, customizable system.

What it does

In the vanilla game, the combat music is often the first sign that you have been targeted by an unseen enemy. Many consider this a break in immersion, as well as conferring an unfair advantage to the player.

SCM does away with that, forcing you remain alert and be aware of your surroundings. SCM keeps track of the player's combat state, as well as that of nearby hostile actors. When enemies detect you but you have not yet seen them, the normal music will continue playing as if all is well. Only upon hitting, being hit or spotting the opponent before they reach you will the combat music play.

You can also use a more subtle cue: the normal background music will fade when you are spotted. This provides a gentle, more immersive warning and allows you to better hear your attacker's approach.

If you are struck by an unseen opponent or while your weapons are sheathed, a startling musical "stinger" can be played before combat music begins, adding tension to the fight.

After a particularly grueling battle with many opponents, a short musical fanfare or reward track can be played to celebrate your victory against overwhelming odds. This can be customized to one of two built-in victory tracks, or a custom track of your own choosing.

All features are optional and can be controlled through SkyUI's MCM. SCM's features will not be applied to dragon fights, ensuring the music is played.

Updates

Version 1.12
  • Restored a safety check that makes sure combat music halts when player is not in combat. This should resolve cases where the combat music became stuck on after the player was killed.


Version 1.11
  • Fixed a bug that could cause the standard background music to continue playing underneath combat music if the player is hit by a surprise attack. Background music is now force-muted before the stinger plays.
  • Fixed a bug that could cause the combat music to linger for a long time after a stealth kill.
  • Restored the combat stats to their own page in MCM.
  • Fixed a bug that could cause version upgrades to shut down combat tracking.


Version 1.10 (the "why didn't I do it this way in the first place?" release):
  • Complete rewrite of combat detection engine to make it more efficient, reliable and almost entirely event-driven.
  • Fixed a bug where after loading your game, sometimes the combat tracking script would not re-register its ModEvents (special thanks to Hyacathusarullistad for providing me some vital info about it!)
  • Added a simple threat-level check, to keep music from playing for enemies that are very weak compared to you. This is adjustable in the MCM as "Health Check Multiplier".
  • Added an option to allow subtle, half, or total silence
  • Added two more tracks for selection as a fanfare: "Level Up" and "Word of Power". They are... less subtle.
  • Updated documentation to show correct location of custom music track. It must be placed in Data/Music/Combat, not Data/Music
  • Changed how surprise attacks (attacks from an enemy you haven't seen yet) are detected. Should result in fewer false positives and more actual surprises.
  • Made it much less likely to stop and restart combat music in a fight.
  • And a TON of others, see the changelog for the complete list, it's a doozy!


Requirements

This mod requires SKSE to operate. And you'll need SkyUI if you want to change any of the settings. To save some time, here are the answers to the questions I get most frequently: No, it will not work without SKSE, not even a little bit. No, I will not create a version that doesn't require SKSE. Although it would be possible to do so, it would be dramatically less efficient and a great deal more resource-intensive, less safe, and time-consuming to build. Not going to happen. You should be running SKSE anyway to fix invalid registrations caused by the vanilla game. Go get it, there's even an automated installer for it now, so you have no excuse to not be using it.

Compatibility

This mod has been CONFIRMED (tested by the author) compatible with:
  • Psyrim
  • Fantasy Soundtrack Project (formerly Fantasy Music Overhaul) including the Dawnguard, Unique Places, and Combat add-ons, in either replacer or non-replacer mode.
  • Audio Overhaul for Skyrim (and all addons/patches)


This mod has been REPORTED (tested by others) compatible with:
  • Personalized Music.


This mod SHOULD be compatible with any other music mod as long as it is using the same FormID as vanilla for its combat music tracks. SCM does not alter existing MusicType forms, which is why it is compatible with pretty much any music or sound effect mod you can find.

SCM does use duplicated versions of MUSStinger, MUSReward, MUSLevelUp, MUSReveal, and a few other tracks. That means that changes to those MusicType forms will not be applied to SCM (though they will play correctly in all the original places), but replacing the actual tracks (XWM files) will work just fine. Since there don't seem to be any mods that add tracks to those MusicTypes, it is for now a moot point.

Scripts

SCM's scripts have been thoroughly tested and do not place an undue load on the scripting engine. While SCM does run many scripts in parallel, these are almost entirely event-driven and consume very few resources under normal circumstances. It is possible that you may encounter some slight delays in combat tracking/music updates when fighting very large groups of enemies. This problem will be more prevalent on minimum-spec machines, and will be exacerbated if you are also running other script-intensive mods. On a system that well exceeds the minimum requirements for playing Skyrim, this should not be an issue unless another mod hogs/hangs the script engine (which is of course out of my control).

Installation/Upgrades

SCM can be installed and upgraded using NMM or by extracting the 7z file into your Skyrim/Data directory.

Configuration

SCM is configured through SkyUI's MCM controls. Most options are self-explanatory and all have additional information available when highlighted. Any of the following features can be disabled entirely if you don't want to use them.

Health Check Multiplier

The short version is that the Health Check Multiplier determines when combat music plays, based on how strong enemies are compared to the player. The higher you set it, the lower the requirement for combat music to play. The check is very simple: the health of every enemy currently in combat with you is added together, and multiplied by the Health Check Multiplier. If this number is greater than your current health, combat music will play. That's it! The default is 3, which will play music for most one-on-one encounters with auto-leveled enemies well into level 50 or so. Weak enemies (mudcrabs, etc) can still start combat music if there are enough of them.

Obviously this system isn't perfect: a powerful enemy mage may have fairly low HP and not set off the music. This is rare in vanilla (as the game level-balances by inflating Health) but if you you are running a major gameplay overhaul mod, it may happen a lot. If so, just increase the value of the multiplier. Better checks are coming.

Configuring Silence

SCM can fade out the normal background music when you are spotted, or when there are enemies nearby. This is less jarring than the sudden introduction of combat music while still providing you with some gentle warning.

There are three silence levels to choose from. The default is now "Subtle", which reduces the music just a little bit to allow you to better hear your surroundings. "Half" is identical to the default setting in 1.0, reducing the volume noticeably. "Total" completely cuts out the music when you are spotted.

"Silence on Alert" means that the music will get quieter when enemies have detected you but haven't actually attacked you yet. "Silence on Lost" means that if you are hiding and enemies are searching for you, the regular background music will not resume until they have given up or moved well away from you.

Configuring the Fanfare

You can configure an optional fanfare that will play after a battle that meets the requirements you define. The parameters are:
Combat duration - How long the combat lasts in real time (not game time), measured from the moment you are hit or spotted until the moment your last foe is dead and there are no more "red dots".
Kill count - How many foes you killed during the battle.
Kill rate - Your average kills per minute during the battle.
Player hits - How many hits the player took during the battle.

If your stats during the battle exceed all four of these values, then the selected victory fanfare will play. This can get annoying quickly, so the default values are pretty high. You can change of any them, or remove them entirely by setting them to 0.

The available fanfare tracks are:

  • Reward - One of four short in-game tracks that sometimes get played when you complete a dungeon or find a large treasure.
  • Reveal - One of four longer, more powerful tracks that the game usually plays only when you discover a special place.
  • Word of Power - One of three fanfares that normally play when you absorb a dragon soul or learn a new Word. Pretty powerful, so you probably want to crank the fanfare requirements up.
  • Level Up - One of three tracks played when you visit the Perks screen after gaining a level. Like "Word of Power", this is a strident track, so you probably don't want it playing after every fight with a mudcrab.
  • Custom - To use your own track for the victory fanfare, place the XWM file in Skyrim/Data/Music/Combat. It must be called vSCM_fanfare.xwm. Once you've done that, choose this option to use it as the victory fanfare.


Uninstalling

Although in theory the mod should be safe to remove without shutting it down first, it is HIGHLY recommended that you use the MCM control panel and uncheck "Enable Combat Tracking". This will disable all features of the mod and shutdown all scripts. After you receive the "SCM has shut down!" message, it is safe to save your game and remove the mod.

Troubleshooting

The problem in version 1.0 that caused combat music to rarely stay stuck on should be completely resolved. If you encounter this issue PLEASE report it.

Problem: Combat music restarts frequently during combat.
Solution: By default, Combat music will end about 5 seconds after all enemies have lost sight of you. If you're primarily a stealth character and you have the "Shadow Warrior" perk, you may find this happening too frequently. I'm working on a proper fix, but in the meantime you can disable "Silence on Lost" in MCM. This should largely fix the problem by keeping the combat music playing until all enemies have given up looking for you.

Problem: Opponents are attacking me during brawls.
Solution: This is the "brawl bug", and it affects nearly any mod that uses Cloak spells to apply scripts. I've taken some steps to avoid it but if you're running into this you have a couple of options. You can either disable the mod temporarily by unchecking "Enable Combat Tracking" before the brawl, or you can install Brawl Bugs Patch.

Todo

  • Improve the threat-level checking to better estimate the actual threat posed by an enemy.
  • Allow fanfare to be dependent on the threat level of the foes defeated, so that killing 6 wolves is never fanfare-worthy but killing 3 giants at once is.
  • Optionally exclude certain races from ever playing combat music (mudcrabs and skeevers, for example)


Bugs

  • If you are fighting a regular enemy and a dragon shows up, sometimes the boss combat music will not start until the regular combat music has finished. This is actually a bug in vanilla, but I should be able to fix it.
  • Combat music still occasionally restarts during a fight, though usually because the enemies lost detection on you for more than 5 seconds. See "Troubleshooting".
  • Rarely, an enemy that is attacking you will fail to start the combat music even though it should. This is usually caused by engaging an enemy immediately after entering a new location or using COC/COW from the console.
  • If the killcam gets activated, very rarely the foe will not count as a player kill for the fanfare requirement tracking. I believe I have fixed this but have not thoroughly tested it yet.
  • Combat music may stop or start during the Civil War battle sequences instead of playing continuously.


History
3/10/2014 - 1.11 - Minor bugfixes, restored combat stats to MCM
3/09/2014 - 1.10 - The "why didn't I do it this way the first time?" release. Huge list of bugfixes, see the changelog.
2/28/2014 - 1.00 - Initial release

REPORT BUG
Top