transfer of data / initializing....
- mr_chicken
- Member
- Posts: 37
- Joined: Sat Sep 07, 2019 07:18
- GitHub: root
- IRC: Doris Day
- In-game: Faded_Glory Rex_2000
- Location: Here
- Contact:
transfer of data / initializing....
Hi, if i write a mod to play a sound when something happens "on the client"! Is everything already downloaded by the client or is it downloaded as the player goes along in the game...
Playing minnoye ispytaniye on a Агат II, driving a Лaдa that goes 300 hectares on a single tank of kerosene
- ROllerozxa
- Member
- Posts: 157
- Joined: Sun Apr 25, 2021 12:25
- GitHub: ROllerozxa
- IRC: ROllerozxa
- In-game: ROllerozxa
- Location: Sweden
- Contact:
Re: transfer of data / initializing....
Sounds get sent as part of downloading media by the client on join and the server will then instruct the client to play these sounds afterward.
- apercy
- Member
- Posts: 640
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: transfer of data / initializing....
Yes! Except in specific case of dynamic media, as I use it on my experiment called ptt_talkROllerozxa wrote: ↑Sun Aug 14, 2022 14:48Sounds get sent as part of downloading media by the client on join and the server will then instruct the client to play these sounds afterward.
viewtopic.php?f=9&t=27875
- mr_chicken
- Member
- Posts: 37
- Joined: Sat Sep 07, 2019 07:18
- GitHub: root
- IRC: Doris Day
- In-game: Faded_Glory Rex_2000
- Location: Here
- Contact:
Re: transfer of data / initializing....
Ok, thanks guys, i might be able to surprise players after all :)
Playing minnoye ispytaniye on a Агат II, driving a Лaдa that goes 300 hectares on a single tank of kerosene
- Desour
- Member
- Posts: 1469
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: transfer of data / initializing....
Or if the sound is not provided by the server, the user can have it in their sound pack: https://wiki.minetest.net/Sound_Packs In this case, the sound file is loaded as a whole when it's first played.Except in specific case of dynamic media
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
Who is online
Users browsing this forum: Semrush [Bot] and 11 guests