SerchBoogie Posted December 28, 2016 Share Posted December 28, 2016 Hi. I'm working on a Mod for Vanilla Skyrim (no SE), and I want any of the Dragon Boss Music tracks to play during the battle with my custom Bosse, The problem is that I can't make it happen, I've tried a lot of things and it just won't happen. 1.- I've already added the "ActorTypeDragon" keyword to my actor: Nothing.2.- I've changed the combat style to boss, and added my Boss to the dragon faction; nothing3.- I've followed the tutorials on how to add your custom music, I've created the track, the music type, the Music folder, the song is in .wav format (ck no longer accepts other), I've created my custom keyword: Nothing4.- I've added this script on my actor: nothing Scriptname MusicaJefe extends ActorMusicType property MUSCombatBoss AutoEvent OnCombatStateChanged(Actor akTarget, int aeCombatState)if (akTarget == Game.GetPlayer())if (aeCombatState != 0)MUSCombatBoss.Add()endifendifendEventEvent OnDying (Actor akkiller)MUSCombatBoss.Remove()endEvent 5.- I've done all at the same time, custom music, default music, both keywords and the script: NOTHING!!!!.---------------------------------------------------------------------------- After hours of googling, reading forums and testing, I have the impression that THIS is hard coded in the game. This little piece of... game will play the damned music whenever it feels like, apparently it depends of the character level or enemy level, combat style maybe I don't know but sometimes it plays the music, sometimes not. I've tried with low level characters and nope, same problem, sometimes yes, sometimes not, most of the times not.I hate modding this game!, how something this simple and basic can't be done easily?. This is so frustrating, my mod fall a part if there is no boss battle music. What can I do to force the boss battle music to play every times?. Thanks. Link to comment Share on other sites More sharing options...
NexusComa Posted December 28, 2016 Share Posted December 28, 2016 Pretty sure this is keyed off your level or weapon level ... (test 1) Ran to dragon with full gears/weapon = no music(test 2) Ran without weapon = music plays(test 3) Without armor = music plays(test 4) No weapon/armor = music plays(test 5 and 6) Ran with full gears/weapon = no music,took off weapon during fight and boss music started immediately.(test 7) Ran with full gears/weapon = no music, waited a while and normal environmental theme played, took off all armor and boss music started immediately. Link to comment Share on other sites More sharing options...
SerchBoogie Posted December 28, 2016 Author Share Posted December 28, 2016 Pretty sure this is keyed off your level or weapon level ... (test 1) Ran to dragon with full gears/weapon = no music(test 2) Ran without weapon = music plays(test 3) Without armor = music plays(test 4) No weapon/armor = music plays(test 5 and 6) Ran with full gears/weapon = no music,took off weapon during fight and boss music started immediately.(test 7) Ran with full gears/weapon = no music, waited a while and normal environmental theme played, took off all armor and boss music started immediately. Did you really make those tests?. O.OI hope some Scripting Guru see this and throw me a bone here. I'm lost. Link to comment Share on other sites More sharing options...
NexusComa Posted December 28, 2016 Share Posted December 28, 2016 (edited) No I didn't, took it off a post I seen. However I do know this is a fact ...Only time you hear "boss music" is when you're screwed. lolAka: "run for your life" music. I was just thinking about this and you could try setting the music priority.I forget if it's higher or lower ... but that's how music overrides other music. Edited December 28, 2016 by NexusComa Link to comment Share on other sites More sharing options...
NexusComa Posted December 29, 2016 Share Posted December 29, 2016 (edited) Was looking around for something else and came across an old script of mine ...Hope this helps. You place the script right on the boss. Scriptname _XXX_BossMusic extends ObjectReference;* Boss Music Actor Property PlayerRef AutoMusicType property BlankMusicType AutoSound Property BossMusic AutoInt BossMusicIDEvent OnCombatStateChanged(Actor akTarget, int aeCombatState) if (akTarget == Game.GetPlayer()) if (aeCombatState != 0) BlankMusicType.Add() BossMusicID = BossMusic.Play(PlayerRef) endif endifEndEventEvent OnDying (Actor akkiller) Sound.StopInstance(BossMusicID) BlankMusicType.Remove()EndEvent Can't say for sure if it works but I did save it in my archives so ....I see it has a Game.GetPlayer() so it must have been a ruff draft.But, I don't archive scripts unless they work or are very close to it. Edited December 29, 2016 by NexusComa Link to comment Share on other sites More sharing options...
Recommended Posts