Ability to control the in-game ambient player from mods.

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Artanis_Mattias
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Nov 20, 2018 3:30 am
Contact:

Ability to control the in-game ambient player from mods.

Post by Artanis_Mattias »

Hello, it would be nice if I could, under certain conditions, force the game player of a specific player to play specific music from my mod.

For example, the player is in battle and there are many biters near him, if these conditions are met, then the player plays more dynamic music from those that I presented in the array of my mod.

Logical representation of functions:
1. Turn on the specified music \ music array
2. Stop the music.
3. Stop the music and transfer control to the in-game function of controlling ambient sound.
4. Play music \ music from the array to the end and transfer control to the in-game function of controlling ambient sound.

Interval control functions:
1. Set the timer between the end of the old and the beginning of the new composition.
2. Request the remaining time of the timer specified above.
3. Reset the timer control to the default mode.

Optional, but highly desirable:
1. Function for displaying the name of the musical composition being played
2. Function for displaying the playing time of the musical composition.

These two functions allow you to implement a dynamic transition between conditionally 2 compositions that differ in a set of instruments and, accordingly, in dynamism.

It would also be nice if there was an option to replace the initial sound (main-menu-motif) from mods.
Post Reply

Return to “Ideas and Suggestions”