Search found 5 matches

by Artanis_Mattias
Mon May 05, 2025 4:56 pm
Forum: Ideas and Suggestions
Topic: Ability to control the in-game ambient player from mods.
Replies: 0
Views: 76

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

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 ...
by Artanis_Mattias
Mon Sep 23, 2024 11:47 pm
Forum: News
Topic: Friday Facts #416 - Fluids 2.0
Replies: 464
Views: 123592

Re: Friday Facts #416 - Fluids 2.0

For me, this is sad.
Since in order to force the withdrawal or, on the contrary, the inflow of something somewhere, it was necessary to bother, I liked it, it is usually interesting and fun! And now it will be... too casual.

In my eyes, the development of this idea looks something like this: It is ...
by Artanis_Mattias
Wed Nov 21, 2018 6:27 pm
Forum: Modding help
Topic: How to turn off the original music?
Replies: 5
Views: 1959

Re: How to turn off the original music?

Unfortunately, all the music from the game is gone. Including added music added by this mod.


for key,_ in pairs (data.raw["ambient-sound"]) do
data.raw["ambient-sound"][key] = nil
end
data:extend(
{
{
type = "ambient-sound",
name = "1",
track_type = "main-track",
sound =
{
filename ...
by Artanis_Mattias
Tue Nov 20, 2018 4:01 pm
Forum: Modding help
Topic: How to turn off the original music?
Replies: 5
Views: 1959

Re: How to turn off the original music?

Thanks for the answer!
I did everything right? If yes, then, unfortunately, it did not work.

for i, sound in pairs (data.raw["ambient-sound"]) do
if sound.track_type and sound.track_type == "main-track" then
sound = nil
end
end
data:extend(
{
{
type = "ambient-sound",
name = "1",
track_type ...
by Artanis_Mattias
Tue Nov 20, 2018 3:46 am
Forum: Modding help
Topic: How to turn off the original music?
Replies: 5
Views: 1959

How to turn off the original music?

Good afternoon, I'm new here.
I must warn you right away, I do not know English very well, I am from Russia, and I am only learning it.
I made a couple of music mods, but my friends wanted something to turn off the original songs.
You do not know how this can be done?


data:extend(
{
{
type ...

Go to advanced search