SHARE
TWEET
Untitled
a guest
Dec 25th, 2017
50
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Schema.voices = Clockwork.kernel:FindLibrary("Voices");
- Schema.voices.stored = {
- zombineVoices = {}
- };
- -- A function to add a Zombine Sound.
- function Schema.voices:AddZombine(faction, command, phrase, sound, menu)
- self.stored.zombineVoices[#self.stored.zombineVoices + 1] = {
- command = command,
- faction = faction,
- phrase = phrase,
- sound = sound,
- menu = menu
- };
- end;
- Schema.voices:AddZombine("Zombine", "ZChatter1", "Para... site...", "npc/zombine/zombine_idle1.wav");
- Schema.voices:AddZombine("Zombine", "ZChatter2", "Biotics... overrun.", "npc/zombine/zombine_idle2.wav");
- Schema.voices:AddZombine("Zombine", "ZChatter3", "Biotics... in the perimeter...", "npc/zombine/zombine_idle3.wav");
- Schema.voices:AddZombine("Zombine", "ZChatter4", "Sector... is not... secure...", "npc/zombine/zombine_idle4.wav");
- Schema.voices:AddZombine("Zombine", "ZAlert1", "Biotics... overrun.", "npc/zombine/zombine_alert1.wav");
- Schema.voices:AddZombine("Zombine", "ZAlert2", "Infes... tation...", "npc/zombine/zombine_alert2.wav");
- Schema.voices:AddZombine("Zombine", "ZAlert3", "Contaact...", "npc/zombine/zombine_alert5.wav");
- Schema.voices:AddZombine("Zombine", "ZPain", "Gggrgh...", "npc/zombine/zombine_pain4.wav");
- if (CLIENT) then
- table.sort(Schema.voices.stored.zombineVoices, function(a, b) return a.command < b.command; end);
- for k, v in pairs(Schema.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.
