30-11-2016, 09:53 PM
(30-11-2016, 06:35 PM)Looter Wrote: In Napol. Wars dlc certain scene props are available that generate a particular sound, such as the nighttime town scene ambience, wind, storm sounds, blacksmith, etc.
These sounds are already in native, but not in scene prop form unlike in nw.
I wonder how these even work and if any such things could be made for NI, a few of those sound effect props using sound files drawn from native could go a long way in adding depth to maps.
[spoiler=module_scene_props.py]
Code:
("ambiance_dog_bark",0,"0" ,"0" , [
(ti_on_init_scene_prop,
[
(neg|multiplayer_is_dedicated_server),
(play_sound,"snd_distant_dog_bark"),
]), ]),
("ambiance_owl",0,"0" ,"0" , [
(ti_on_init_scene_prop,
[
(neg|multiplayer_is_dedicated_server),
(play_sound,"snd_distant_owl"),
]), ]),
("ambiance_chicken",0,"0" ,"0" , [
(ti_on_init_scene_prop,
[
(neg|multiplayer_is_dedicated_server),
(play_sound,"snd_distant_chicken"),
]), ]),
("ambiance_carpenter",0,"0" ,"0" , [
(ti_on_init_scene_prop,
[
(neg|multiplayer_is_dedicated_server),
(play_sound,"snd_distant_carpenter"),
]), ]),
("ambiance_blacksmith",0,"0" ,"0" , [
(ti_on_init_scene_prop,
[
(neg|multiplayer_is_dedicated_server),
(play_sound,"snd_distant_blacksmith"),
]), ]),
("ambiance_arena",0,"0" ,"0" , [
(ti_on_init_scene_prop,
[
(neg|multiplayer_is_dedicated_server),
(play_sound,"snd_arena_ambiance"),
]), ]),
("ambiance_town",0,"0" ,"0" , [
(ti_on_init_scene_prop,
[
(neg|multiplayer_is_dedicated_server),
(play_sound,"snd_town_ambiance"),
]), ]),
[/spoiler]
These are all the ambient sounds which are already in game, they just have to be added to the module_scene_props.
I think if the developers implement it, they should pop up in scene editing menu