SHARE
TWEET
Untitled
a guest
Dec 16th, 2017
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- local PLUGIN = PLUGIN;
- PLUGIN.voices = Clockwork.kernel:NewLibrary("ZombineVoices");
- PLUGIN.voices.stored = {
- ZombineVoices = {}
- };
- --Function to add a Zombine Sound.
- function PLUGIN.voices:ZombineVoices(faction, command, phrase, sound, female, menu)
- self.stored.ZombineVoices[#self.stored.ZombineVoices + 1] = {
- command = command,
- faction = faction,
- phrase = phrase,
- female = female,
- sound = sound,
- menu = menu
- };
- end;
- Schema.voices:Add("Zombine", "ZChatter1", "Para... site...", "npc/zombine/zombine_idle1.wav");
- Schema.voices:Add("Zombine", "ZChatter2", "Biotics... overrun.", "npc/zombine/zombine_idle2.wav");
- Schema.voices:Add("Zombine", "ZChatter3", "Biotics... in the perimeter...", "npc/zombine/zombine_idle3.wav");
- Schema.voices:Add("Zombine", "ZChatter4", "Sector... is not... secure...", "npc/zombine/zombine_idle4.wav");
- Schema.voices:Add("Zombine", "ZAlert1", "Biotics... overrun.", "npc/zombine/zombine_alert1.wav");
- Schema.voices:Add("Zombine", "ZAlert2", "Infes... tation...", "npc/zombine/zombine_alert2.wav");
- Schema.voices:Add("Zombine", "ZAlert3", "Contaact...", "npc/zombine/zombine_alert5.wav");
- Schema.voices:Add("Zombine", "ZPain", "Gggrgh...", "npc/zombine/zombine_pain4.wav");
- if (CLIENT) then
- table.sort(PLUGIN.voices.stored.ZombineVoices, function(a, b) return a.command < b.command; end);
- for k, v in pairs(PLUGIN.voices.stored.ZombineVoices) do
- Clockwork.directory:AddCode("Zombine", [[
- <div class="auraInfoTitle">]]..string.upper(v.command)..[[</div>
- <div class="auraInfoText">]]..v.phrase..[[</div>
- ]], true);
- end;
- end;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
