Add ambient sound and music
This commit is contained in:
		
							parent
							
								
									819bf6e26b
								
							
						
					
					
						commit
						9f97212ea4
					
				
					 8 changed files with 54 additions and 4 deletions
				
			
		
							
								
								
									
										12
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
					@ -145,3 +145,15 @@ If your modded lab is special and it should not support these science packs, use
 | 
				
			||||||
[_CodeGreen](https://mods.factorio.com/user/_CodeGreen)
 | 
					[_CodeGreen](https://mods.factorio.com/user/_CodeGreen)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Lignumis as starting planet inspired by [Any Planet Start](https://mods.factorio.com/mod/any-planet-start)
 | 
					- Lignumis as starting planet inspired by [Any Planet Start](https://mods.factorio.com/mod/any-planet-start)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Free Music Archive](https://freemusicarchive.org)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- [The Owl: telescope](https://freemusicarchive.org/music/The_Owl/Fairy_Forest/the_owl_-_fairy_forest_-_04_the_owl_-_telescope/) (CC BY-NC-ND)
 | 
				
			||||||
 | 
					- [malictusmusic: Forest Heartbeat](https://freemusicarchive.org/music/malictusmusic/free-cinematic-goodies/forest-heartbeat/) (CC BY)
 | 
				
			||||||
 | 
					- [Meydän: Surreal Forest](https://freemusicarchive.org/music/Meydan/Havor/4-_Surreal_Forest_1541/) (CC BY)
 | 
				
			||||||
 | 
					- [HoliznaCC0: Dark Forest](https://freemusicarchive.org/music/holiznacc0/retro-gamer-soundtrack/dark-forest/) (CC0)
 | 
				
			||||||
 | 
					- [Aaron Mist: Burning Forest](https://freemusicarchive.org/music/Aaron_Mist/Unnecessary_City/Aaron_Mist_-_Unnecessary_City_-_04_Burning_Forest/) (CC BY-NC)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Pixabay](https://pixabay.com)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- [AudioPapkin: Forest ambience](https://pixabay.com/sound-effects/forest-ambience-296528/)
 | 
				
			||||||
| 
						 | 
					@ -60,7 +60,7 @@ PlanetsLib:extend({
 | 
				
			||||||
            clouds = effects.default_clouds_effect_properties()
 | 
					            clouds = effects.default_clouds_effect_properties()
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        persistent_ambient_sounds = {
 | 
					        persistent_ambient_sounds = {
 | 
				
			||||||
            base_ambience = { filename = "__base__/sound/world/world_base_wind.ogg", volume = 0.3 },
 | 
					            base_ambience = { filename = "__lignumis__/sound/ambient/forest-ambience.ogg", volume = 0.1 },
 | 
				
			||||||
            wind = { filename = "__base__/sound/wind/wind.ogg", volume = 0.8 },
 | 
					            wind = { filename = "__base__/sound/wind/wind.ogg", volume = 0.8 },
 | 
				
			||||||
            crossfade = {
 | 
					            crossfade = {
 | 
				
			||||||
                order = { "wind", "base_ambience" },
 | 
					                order = { "wind", "base_ambience" },
 | 
				
			||||||
| 
						 | 
					@ -110,8 +110,6 @@ PlanetsLib:extend({
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PlanetsLib.borrow_music(data.raw.planet["nauvis"], data.raw.planet["lignumis"])
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
data:extend({
 | 
					data:extend({
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        type = "space-connection",
 | 
					        type = "space-connection",
 | 
				
			||||||
| 
						 | 
					@ -123,4 +121,44 @@ data:extend({
 | 
				
			||||||
        length = 2000,
 | 
					        length = 2000,
 | 
				
			||||||
        asteroid_spawn_definitions = asteroid_util.spawn_definitions(nauvis_lignumis)
 | 
					        asteroid_spawn_definitions = asteroid_util.spawn_definitions(nauvis_lignumis)
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "ambient-sound",
 | 
				
			||||||
 | 
					        name = "lignumis-1",
 | 
				
			||||||
 | 
					        track_type = "main-track",
 | 
				
			||||||
 | 
					        planet = "lignumis",
 | 
				
			||||||
 | 
					        sound = "__lignumis__/sound/music/lignumis-1.ogg",
 | 
				
			||||||
 | 
					        weight = 10
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "ambient-sound",
 | 
				
			||||||
 | 
					        name = "lignumis-2",
 | 
				
			||||||
 | 
					        track_type = "main-track",
 | 
				
			||||||
 | 
					        planet = "lignumis",
 | 
				
			||||||
 | 
					        sound = "__lignumis__/sound/music/lignumis-2.ogg",
 | 
				
			||||||
 | 
					        weight = 10
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "ambient-sound",
 | 
				
			||||||
 | 
					        name = "lignumis-3",
 | 
				
			||||||
 | 
					        track_type = "main-track",
 | 
				
			||||||
 | 
					        planet = "lignumis",
 | 
				
			||||||
 | 
					        sound = "__lignumis__/sound/music/lignumis-3.ogg",
 | 
				
			||||||
 | 
					        weight = 7
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "ambient-sound",
 | 
				
			||||||
 | 
					        name = "lignumis-4",
 | 
				
			||||||
 | 
					        track_type = "main-track",
 | 
				
			||||||
 | 
					        planet = "lignumis",
 | 
				
			||||||
 | 
					        sound = "__lignumis__/sound/music/lignumis-4.ogg",
 | 
				
			||||||
 | 
					        weight = 8
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "ambient-sound",
 | 
				
			||||||
 | 
					        name = "lignumis-5",
 | 
				
			||||||
 | 
					        track_type = "main-track",
 | 
				
			||||||
 | 
					        planet = "lignumis",
 | 
				
			||||||
 | 
					        sound = "__lignumis__/sound/music/lignumis-5.ogg",
 | 
				
			||||||
 | 
					        weight = 4
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								lignumis/sound/ambient/forest-ambience.ogg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lignumis/sound/ambient/forest-ambience.ogg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								lignumis/sound/music/lignumis-1.ogg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lignumis/sound/music/lignumis-1.ogg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								lignumis/sound/music/lignumis-2.ogg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lignumis/sound/music/lignumis-2.ogg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								lignumis/sound/music/lignumis-3.ogg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lignumis/sound/music/lignumis-3.ogg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								lignumis/sound/music/lignumis-4.ogg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lignumis/sound/music/lignumis-4.ogg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								lignumis/sound/music/lignumis-5.ogg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lignumis/sound/music/lignumis-5.ogg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue