Skip to content
Snippets Groups Projects
Commit 53d6de13 authored by dg's avatar dg
Browse files

Dungeon ambient sounds to some zones

git-svn-id: http://svn.net-core.org/repos/t-engine4@5463 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3441fe0b
No related branches found
No related tags found
No related merge requests found
Showing
with 39 additions and 7 deletions
File added
File added
File added
File added
File added
File added
......@@ -28,7 +28,7 @@ return {
-- all_remembered = true,
-- all_lited = true,
persistent = "zone",
ambient_music = "Anne_van_Schothorst_-_Passed_Tense.ogg",
ambient_music = {"Anne_van_Schothorst_-_Passed_Tense.ogg", "weather/dungeon_base.ogg"},
min_material_level = 3,
max_material_level = 4,
generator = {
......@@ -89,5 +89,9 @@ return {
post_process = function(level)
-- Place a lore note on each level
game:placeRandomLoreObject("NOTE"..level.level)
game.state:makeAmbientSounds(level, {
dungeon2={ chance=250, volume_mod=1, pitch=1, random_pos={rad=10}, files={"ambient/dungeon/dungeon1","ambient/dungeon/dungeon2","ambient/dungeon/dungeon3","ambient/dungeon/dungeon4","ambient/dungeon/dungeon5"}},
})
end,
}
......@@ -31,7 +31,7 @@ return {
-- Apply a greenish tint to all the map
color_shown = {0.5, 1, 0.7, 1},
color_obscure = {0.5*0.6, 1*0.6, 0.7*0.6, 0.6},
ambient_music = "The Ancients.ogg",
ambient_music = {"The Ancients.ogg","weather/dungeon_base.ogg"},
min_material_level = 3,
max_material_level = 4,
generator = {
......@@ -69,4 +69,10 @@ return {
[2] = { width = 40, height = 40, generator = {map = {min_floor=600}} },
[3] = { width = 20, height = 20, generator = {map = {min_floor=200}, actor = {nb_npc = {20, 25}}} },
},
post_process = function(level)
game.state:makeAmbientSounds(level, {
dungeon2={ chance=250, volume_mod=1, pitch=1, random_pos={rad=10}, files={"ambient/dungeon/dungeon1","ambient/dungeon/dungeon2","ambient/dungeon/dungeon3","ambient/dungeon/dungeon4","ambient/dungeon/dungeon5"}},
})
end,
}
......@@ -29,7 +29,7 @@ return {
-- all_remembered = true,
-- all_lited = true,
persistent = "zone",
ambient_music = "Forgotten Memories.ogg",
ambient_music = {"Forgotten Memories.ogg","weather/dungeon_base.ogg"},
no_worldport = true,
max_material_level = 2,
generator = {
......@@ -93,5 +93,9 @@ return {
-- Place a lore note on the level
game:placeRandomLoreObject("NOTE"..game.zone.created_lore[level.level])
end
game.state:makeAmbientSounds(level, {
dungeon2={ chance=250, volume_mod=1, pitch=1, random_pos={rad=10}, files={"ambient/dungeon/dungeon1","ambient/dungeon/dungeon2","ambient/dungeon/dungeon3","ambient/dungeon/dungeon4","ambient/dungeon/dungeon5"}},
})
end,
}
......@@ -28,7 +28,7 @@ return {
-- all_remembered = true,
-- all_lited = true,
persistent = "zone",
ambient_music = "Dark Secrets.ogg",
ambient_music = {"Dark Secrets.ogg","weather/dungeon_base.ogg"},
min_material_level = function() return game.state:isAdvanced() and 4 or 3 end,
max_material_level = function() return game.state:isAdvanced() and 5 or 4 end,
is_dreadfell = true,
......@@ -102,6 +102,10 @@ return {
if level.level == 2 or level.level == 5 or level.level == 7 then
game:placeRandomLoreObject("UNDEAD_POEM_LEVEL_"..level.level)
end
game.state:makeAmbientSounds(level, {
dungeon2={ chance=250, volume_mod=1, pitch=1, random_pos={rad=10}, files={"ambient/dungeon/dungeon1","ambient/dungeon/dungeon2","ambient/dungeon/dungeon3","ambient/dungeon/dungeon4","ambient/dungeon/dungeon5"}},
})
end,
levels =
{
......
......@@ -28,7 +28,7 @@ return {
-- all_remembered = true,
-- all_lited = true,
persistent = "zone",
ambient_music = "The Ancients.ogg",
ambient_music = {"The Ancients.ogg","weather/dungeon_base.ogg"},
min_material_level = function() return game.state:isAdvanced() and 2 or 1 end,
max_material_level = function() return game.state:isAdvanced() and 4 or 3 end,
generator = {
......@@ -88,5 +88,9 @@ return {
end
end
end
game.state:makeAmbientSounds(level, {
dungeon2={ chance=250, volume_mod=1, pitch=1, random_pos={rad=10}, files={"ambient/dungeon/dungeon1","ambient/dungeon/dungeon2","ambient/dungeon/dungeon3","ambient/dungeon/dungeon4","ambient/dungeon/dungeon5"}},
})
end,
}
......@@ -30,7 +30,7 @@ return {
persistent = "zone",
color_shown = {0.6, 0.6, 0.6, 1},
color_obscure = {0.6*0.6, 0.6*0.6, 0.6*0.6, 0.6},
ambient_music = "Anne_van_Schothorst_-_Passed_Tense.ogg",
ambient_music = {"Anne_van_Schothorst_-_Passed_Tense.ogg","weather/dungeon_base.ogg"},
min_material_level = 4,
max_material_level = 5,
generator = {
......@@ -80,4 +80,9 @@ return {
},
},
},
post_process = function(level)
game.state:makeAmbientSounds(level, {
dungeon2={ chance=250, volume_mod=1, pitch=1, random_pos={rad=10}, files={"ambient/dungeon/dungeon1","ambient/dungeon/dungeon2","ambient/dungeon/dungeon3","ambient/dungeon/dungeon4","ambient/dungeon/dungeon5"}},
})
end,
}
......@@ -29,7 +29,7 @@ return {
-- all_lited = true,
persistent = "zone",
no_level_connectivity = true,
ambient_music = "Remembrance.ogg",
ambient_music = {"Remembrance.ogg","weather/dungeon_base.ogg"},
min_material_level = 3,
max_material_level = 4,
generator = {
......@@ -62,4 +62,9 @@ return {
[2] = { generator = { map = { map = "zones/tannen-tower-3" }, actor = { nb_npc = {22, 22}, filters={{special_rarity="aquatic_rarity"}} }, trap = { nb_trap = {6, 6} }, }, },
[1] = { generator = { map = { map = "zones/tannen-tower-4" }, }, },
},
post_process = function(level)
game.state:makeAmbientSounds(level, {
dungeon2={ chance=250, volume_mod=1, pitch=1, random_pos={rad=10}, files={"ambient/dungeon/dungeon1","ambient/dungeon/dungeon2","ambient/dungeon/dungeon3","ambient/dungeon/dungeon4","ambient/dungeon/dungeon5"}},
})
end,
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment