forked from Crackdown-PD2/deathvox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCore.lua
24 lines (23 loc) · 883 Bytes
/
Core.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
if not _G.deathvox then
_G.deathvox = {}
_G.deathvox.ModPath = ModPath
blt.xaudio.setup()
_G.deathvox.BufferedSounds = {
grenadier = {
death = XAudio.Buffer:new(ModPath .. "assets/oggs/voiceover/grenadier/death.ogg"),
spot_heister = {
XAudio.Buffer:new(ModPath .. "assets/oggs/voiceover/grenadier/spotted1.ogg"),
XAudio.Buffer:new(ModPath .. "assets/oggs/voiceover/grenadier/spotted2.ogg"),
XAudio.Buffer:new(ModPath .. "assets/oggs/voiceover/grenadier/spotted3.ogg"),
XAudio.Buffer:new(ModPath .. "assets/oggs/voiceover/grenadier/spotted4.ogg")
},
use_gas = XAudio.Buffer:new(ModPath .. "assets/oggs/voiceover/grenadier/use_gas.ogg")
},
medicdozer = {
heal = {}
}
}
for i = 1, 31 do
table.insert(_G.deathvox.BufferedSounds.medicdozer.heal, XAudio.Buffer:new(ModPath .. "assets/oggs/voiceover/medicdozer/heal" .. i .. ".ogg"))
end
end