forked from cacklingfiend/lignumis
		
	Add ambient sound and music
This commit is contained in:
		
							parent
							
								
									819bf6e26b
								
							
						
					
					
						commit
						9f97212ea4
					
				
					 8 changed files with 54 additions and 4 deletions
				
			
		|  | @ -60,7 +60,7 @@ PlanetsLib:extend({ | |||
|             clouds = effects.default_clouds_effect_properties() | ||||
|         }, | ||||
|         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 }, | ||||
|             crossfade = { | ||||
|                 order = { "wind", "base_ambience" }, | ||||
|  | @ -110,8 +110,6 @@ PlanetsLib:extend({ | |||
|     } | ||||
| }) | ||||
| 
 | ||||
| PlanetsLib.borrow_music(data.raw.planet["nauvis"], data.raw.planet["lignumis"]) | ||||
| 
 | ||||
| data:extend({ | ||||
|     { | ||||
|         type = "space-connection", | ||||
|  | @ -123,4 +121,44 @@ data:extend({ | |||
|         length = 2000, | ||||
|         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
	
	 Simon Brodtmann
						Simon Brodtmann