Media
Description ๐Ÿ‡ฌ๐Ÿ‡ง Description ๐Ÿ‡ซ๐Ÿ‡ท

Music areas system - Script

Demonstration Youtube video of Music areas system

Two music areas system allows you to give a musical ambiance to an environment or in a small zone, for example a musicis launched when a user enter in a store, a building, and it also allows you to name a place which will be notified in the corner of HUD when the player will enter the area.

All interaction button User can Disable or Enable the sound clientside Enable and Disable the system with a simple button Enable and Disable the persistence easily the first system use sound files the second youtube Two music areas system in the spawn menu of Garry's Mod Edit the name of the area like shop by example All languages available Music ambiance of Zone with youtube sound Music of Zone Cubic position-y-paint-hud-gmod

Maximum image size
Description

Description of Music areas system

๐Ÿš€ Presentation of Two music areas system


The Two Music Areas System lets you create a musical atmosphere in a given environment, such as a store or building. It also gives you the option of naming each area, whose name will be displayed in the user interface (HUD) when the player enters it. How do I use it?

You're probably already familiar with the concept. Simply move two points to create a volume. It's as simple as that.

Choose a name for each zone, which will be displayed in the top left-hand corner when the player enters it. For music, you can choose between two systems:

Mode 1: Use the original audio system (.wave, .mp3, .ogg). This is more optimized, as the audio files are already present on the server and require players to have these music files. So remember to share your favorite music via fastdl or workshop content.
Mode 2: Use links to YouTube videos. It's simpler. The player will download the music in real time as he enters the zone. Only the client's latency may vary depending on the quality of its connection, not that of the server.

To access the control panel, press "USE" when facing a cube.
All configurations can be carried out in real time via a graphical interface, without the need to restart the server.
What's more, you can use a client-side blocking system to avoid disturbing players who don't like music or who have a poor Internet connection.

In the script configuration file, you have the option of allowing your players to enable or disable music from YouTube or original audio files. You can make this choice via the configuration file.

In short, the two-zone music system is a complete, self-contained script that's easy to use and compatible with various administrative add-ons. It offers flexible management of background music in games, without requiring any knowledge of Lua.



โš ๏ธ Important facts :

-No need knowledge.
-There is no need to know Lua to use it, reading the tutorials, the pictures, the description and the video allow you to discover all of it's potential.
-Compatible with all gamemodes and maps.
-This is not a DLC, it is a complete script and independent of my others.
-Compatible with ULX ranks, ServerGuard and other administrative addons.
-The system works automatically.
-When configured you can forget about it and let it run. It is not possible to accidentally delete.
-You can use, without any apprehension Gmod's cleanup button.



๐Ÿ“Œ Panel & Tools :

-Access the config panel : Press "Use" on the entities.
-Complete Management Panel.
-Already translated into 20 languages you can permanently set in the panel's options. (Bulgarian, Czech, English, Estonian, Finnish, French, German, Greek, Italian, Japanese, Korean, Latvian, Norwegian, Polish, Portuguese, Romanian, Russian, Spanish, Swedish, Turkish).
-Edit the notifications.
-Edit the color.
-Edit the volume.
-Button to Activate/Desactivate the system.
-Button to Activate/Desactivate the Persistance.
-Button to Remove.
-Button to Remove All.
-Button to Disabled All.
-The Admin-Eyes tool will allow you to see the zones on the map.



๐Ÿ“Œ Persistence :

-My persistence system is included with this script.
-Configurations are saved, you can restart your server and everything will be kept.
-You can toggle the persistence with a simple button.
-The entities can not be deleted when the persistence is enabled.



๐Ÿ“Œ Console commands :

-Player can deactivate the sound clientside with : nord_mas
-Cleanup of the persistance file: area_music_persistancefile_cleanup
-Delete all zones: nordahl_musicarea_cleanup
-Disable all : area_music_disable_all
-Admin-Eyes to see all zones on all the maps: area_musics_admineyes

๐Ÿ”น WIKI & F.A.Q ๐Ÿ‡ฌ๐Ÿ‡ง
Wiki ๐Ÿ‡ฌ๐Ÿ‡ง Wiki ๐Ÿ‡ซ๐Ÿ‡ท

Wiki of Music areas system

Music areas system


โ˜ฐ 1. Installation of Music areas system
Installation: Download and Unzip the folder nordahl_music_of_zone.zip Install the addon in the addons file of your Gmod server,
Path: garrysmod/addons/nordahl_music_of_zone
โ˜ฐ 2. Where can I find resources and materials? What is the Music areas system Workshop id?
Vous trouverez les ressources dans le workshop de Garry's Mod sur Steam. - Gmod Workshop ID of Music areas system: 2513522146
- The AddWorkshop function is automatically added to the script server file and can be deactivated from the configuration file. : resource.AddWorkshop( 2513522146 )
- To add gmod workshop resources to your collection : Music areas system [Content Only] | Gmod Workshop
โ˜ฐ 3. How to enable/disable persistence?
In the panel of the entitie: Persistence button music areas
โ˜ฐ 4. How to set the language?
Click on the key in the panel, this changes the language for all my scripts.Languages list
โ˜ฐ 5. What are the different modules?
By default the system is disabled,
Mode 1: The system uses the sounds that you have put for example in the form of mp3 files on the server, don't forget to share the music with the customers, so place them in your fastdl or your workshop content.
Mode 2: The system uses the sounds that you have found on Youtube.modules list
โ˜ฐ 6. How to rename a zone?
Enter the name in the edit box and press -enter-, and it will be displayed when you go into the area.rename a zone
โ˜ฐ 7. How do I know that it works?
When you enter the area, you are warned.Notification when enter in zone
โ˜ฐ 8. How to add a audio file?
Scan of the audio file, click on the sound and press the space keyHow add audio file
โ˜ฐ 9. How to add music to youtube?
Copy the link of the video and press -enter-add music in youtube mod
โ˜ฐ 10. How to place the cubes?
Place the two points in each corner of the room.Set music zone
โ˜ฐ 11. Where to find the configuration File?
lua/entities
ordahl_zone_music/config.lua
โ˜ฐ 12. I don't have a system of administration, it is possible to have the rights anyway?
Go to the file
lua/entities
ordahl_zone_music/config.lua
to the line
OwnerSteamID="STEAM_0:0:00000000000000"
and replace it with your steamid, and restart your server.
โ˜ฐ 13. Play the sound in a loop since the version 1.2 (2018)
From the menu you can choose the length of a loop, (0=Off, the sound is played only one time)music areas system Play sound loop
โ˜ฐ 14. Your browser is obsolete and nothing work
I made a tutorial to explain how solve this here : How do I replace Awesomium with Chromium?
โ˜ฐ 15. How to hide the cubic entities?
The command:
nord_hide_cube 1 --To hide the display of cubic entities
nord_hide_cube 0 --displays cubic entities

This is a persistent command, it remains applied if you leave the server.
โ˜ฐ 16. How do I change the time frame for the appearance of place names?
In the configuration file find the variable : name_place_delay

ZCM_CONFIG.name_place_delay=35

Enter the duration in seconds the name of the place must remain displayed in the corner (default 35 = 35 seconds)
โ˜ฐ 17. Some user have HTML5 error on Gmod
Gmod's Awesomium is outdated and no longer meets today's safety standards. It is recommended to use Chromium I have explained here how to do so: /fr/help/remplacer-awesomium-chromium
โ˜ฐ 18. How do I change the height of the zone name notification?
If another script with a HUD overlaps your field notification you can change the height with the variable name_area_pos_y in the configuration file. 42 is the default height.

name_area_pos_y = 42
โ˜ฐ 19. Cant seem to make the annoying white boxes go away
Its not with the admin eyes button, only admin can see the boxes and the cube. If you hide the cube, the boxes is also disabled.

You can also use the command : nord_hide_cube 1 to hide, and nord_hide_cube 0 to show
โ˜ฐ 20. Give the choice to the clients not to launch the music on the client side.
Some of your members don't want the music. You as Owner can give the choice, if they are part of your universe or if your users are free to cut them from their interface.

To impose or give the choice in the configuration file:
cfg.clientside_choice=1 --1 = The client can disable the sound and youtube. 0 = Client have not choice


If set on 1, your players can deactivate the sound clientside with the panel clientside, with this command : nord_mas
โ˜ฐ 21. How do I set when I try to put a music with youtube with your addon it marks me : youtube is disabled
When you give the choice to cut the music from the server, with the command: "nord_mas" you have access to the choice interface on the client side (see question 18 on this subject).

Here the users can choose not to launch the music on their side.
โ˜ฐ 22. How Teleport a point outside a closed room?
For those of you who have problems with your map settings and want to move cubes through walls, I've added a command that teleports the last point hit with the physgun to your position.

You don't have to be off map.

gmod console command : tp_last_touched_point
โ˜ฐ 23. Solution: If youtube videos are blocked by the Awesomium browser version
When your youtube video doesn't work because your Awesomium browser is out of date.
Solution: How to replace Awesomium by Chromium on Gmod?
โ˜ฐ 24. Solution: How do I upload my music files to the Gmod workshop on Steam?
I've created this documentation which explains how to do it: How upload sound files on Steam Gmod workshop?
Tips

Tip to avoid the leak of Music areas system installed on your Garry's Mod server: How avoid the Leak of your Gmod scripts
How Install an addon on Gmod? : How install an addon on Gmod
How Publish an addon on the Gmod workshop? : Documentation how create a content pack to publish on the workshop?

Gmod Addon


๐Ÿ“ฅ Download 2.6


๐ŸŽซ Ouvrir Ticket


avatar-76561198033784269

Creator: Norda Scripts

Sales210
Published7 years
Last update
Versionversion 2.6
DRMYes
CategoriesGmod addons
RequierementsGarry's Mod Server
Languages๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡ซ๐Ÿ‡ท ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ช ๐Ÿ‡ฎ๐Ÿ‡น ๐Ÿ‡ฏ๐Ÿ‡ต ๐Ÿ‡ฐ๐Ÿ‡ท ๐Ÿ‡ณ๐Ÿ‡ด ๐Ÿ‡ท๐Ÿ‡บ ๐Ÿ‡ช๐Ÿ‡ธ ๐Ÿ‡ธ๐Ÿ‡ช
Admin Entities Event Gameplay Management Allgamemode Musics