Jump to content

A better solution to modify "TRIGGERED_DANGER_MUSIC" ?


Recommended Posts

Currently, many modders want to add epic boss music in their mods, and some of them want to add background music.

It's a common way to modify TRIGGERED_DANGER_MUSIC to add musics.However, the TRIGGERED_DANGER_MUSIC itself is a local variable, use UpvalueHacker to modify it is not very convenient, and the game may carsh if more than one mod using UpvalueHacker at the same time.

I hope Klei programmers can a API,which allows modders to modify TRIGGERED_DANGER_MUSIC.And add a "priority mechanism" for triggeredmusic: when a triggeredmusic with higher priority is played, it will kill other triggeredmusics with lower priority(Otherwise, just image that if many triggeredmusics are played at same time, and the noise and contradiction XD ).

 

Edited by Liquid Ocelot
  • GL Happy 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...