DayZ
Оценок: 120
Metro 2033 Radio by Buddy
2
2
2
2
2
2
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
64.754 MB
2 авг. 2021 г. в 13:40
20 июн. 2022 г. в 10:22
Обновлений: 4 (просмотреть)

Подпишитесь, чтобы загрузить
Metro 2033 Radio by Buddy

Описание
Metro 2033 themed radio.
I got the model here, I didn´t create it myself: https://sketchfab.com/3d-models/soviet-radio-from-metro-2033-c29479e7fe7749d1bb2d4d2e31466d2d

NEW ADDON THAT LETS YOU ADJUST THE VOLUME INGAME:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?edit=true&id=3229793852

This radio is fully functional, it can play ANY song you want. Per default there are only five songs, but they can be replaced with your own songs.
When turned on all songs defined play endlessly. The order is random. The radio emits a bit light during night-time.

There are two versions of the radio; a static one and a non static.
The non static requires a battery to operate, the static one doesn´t. The static is suppoed to be placed by the server owners.

When the battery is detached the music stops, when its taken into inventory the music stops. When ruined the music stops.

When the static one is deleted the music stops.

Item names:

metro_radio
metro_radio_static

At the moment the following songs are added (with permission from its creator):
-01 Klangsegler - Shadows in motion
-02 Klangsegler - Pripyat remembrance
-05 Klangsegler - Empty roads
-06 Klangsegler - Down in darkness
-16 Dez - Priboi Story 1 2 (main theme)

If you want to add your own songs you have to create SoundSets and SoundShaders. Here is an example:

class CfgSoundShaders
{
class baseCharacter_SoundShader;
class your_song_SoundShader: baseCharacter_SoundShader
{
samples[]=
{

{
"PATH TO YOUR SONG",
1
}
};
volume=0.3548134;
};
};

class CfgSoundSets
{
class baseCharacter_SoundSet;
class your_song_SoundSet: baseCharacter_SoundSet
{
soundShaders[]=
{
"your_song_SoundShader"
};
loop=1;
};
};

When the server starts the first time it will create a file called Radios.json

Per Default it will look like this:

{
"m_Volume": 1,
"m_RadioPlayList": [
"metro_radio",
"metro_radio2",
"metro_radio3",
"metro_radio4",
"metro_radio5"
]
}

If you want to add your own SoundSet and you created one that is called "your_song_SoundSet" just add "your_song" like this:

{
"m_Volume": 1,
"m_RadioPlayList": [
"metro_radio",
"metro_radio2",
"metro_radio3",
"metro_radio4",
"metro_radio5",
"your_song"
]
}

Add me in DC if you need assistance with this mod: Buddy#1170

##################### Credits #####################

Thanks @ MisterJ for the god-like scripting.
Thanks @ Klangsegler for your permission to use the songs.
Популярные обсуждения Просмотреть все (1)
1
11 мая. 2023 г. в 21:52
Mute option for the radio
S.T.A.L.K.E.R
Комментариев: 195
Buddy  [создатель] 7 июн в 4:24 
@Overside thanks for the very detailed description
Overside 7 июн в 4:16 
Broken
MUDARKEN 11 мая в 4:09 
Hi I found a solution to this problem send ?

[EffectSound::Effect] :: [WARNING] :: Created Effect on server.
Class: 'EffectSound'
Function: 'Effect'

Can I repackage the corrected version ?
Виктор 19 янв в 7:01 
hi can i repack your mod?
IronFalcon5074 12 дек. 2024 г. в 5:50 
don't know if ur still offering it but i dmed you on discord for an example config bc i probably messed something up @Buddy
IronFalcon5074 12 дек. 2024 г. в 5:40 
plus some others
------------------------------------
[EffectSound::Effect] :: [WARNING] :: Created Effect on server.
Class: 'EffectSound'
Function: 'Effect'
------------------------------------
NULL pointer to instance
Function: 'GetFreeEffectID'
------------------------------------
NULL pointer to instance
Class: 'EffectSound'
Function: 'EffectUnregister'
IronFalcon5074 12 дек. 2024 г. в 5:40 
I keep getting this error and dont know how to fix it...
NULL pointer to instance
Class: 'metro_radio'
Entity id:3046329
Function: 'OnWorkStart'
Stack trace:
MetroRadio/Scripts/4_World/entities\itembase\metro_radio.c:166
scripts/3_Game/tools\component\componentenergymanager.c:1793
scripts/3_Game/tools\component\componentenergymanager.c:386
scripts/4_World/classes\useractionscomponent\actions\interact\actionturnonwhileonground.c:26
scripts/4_World/classes\useractionscomponent\animatedactionbase.c:197
DayZExpansion/Core/Scripts/4_World/dayzexpansion_core\classes\useractionscomponent\actions\animatedactionbase.c:17
scripts/4_World/classes\useractionscomponent\animatedactionbase.c:219
scripts/4_World/classes\useractionscomponent\animatedactionbase.c:227
scripts/4_World/classes\useractionscomponent\actionmanagerbase.c:122
scripts/4_World/classes\useractionscomponent\actionmanagerserver.c:193
scripts/4_World/entities\manbase\playerbase.c:2958
Buddy  [создатель] 26 ноя. 2024 г. в 11:18 
@SounDkaiL.Be yes, you can do that yourself, as seen in the description
SounDkaiL.Be 26 ноя. 2024 г. в 10:36 
hello bro its possible for add new music ? Danakil , Alpha Blondy , SoundkaiL ,fonky family and sniper ? thx thx
Toffy Mc Fly 11 ноя. 2024 г. в 6:31 
Hello I sent you a friend request for your Radio mod.
THANKS