Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This module will make voice sounds play when certain words are typed in the chat
- -- You can add/remove sounds as you wish, just follow the format used here
- -- To disble them completey, use the command rp_chatsounds 0 or delete this file.
- -- TODO: Add female sounds & detect gender of model, Use combine sounds for CPs.
- GAMEMODE:AddToggleCommand( "rp_chatsounds", "chatsounds", 1 )
- local sounds = {}
- sounds[ "hi" ] = { "vo/npc/male01/hi01.wav", "vo/npc/male01/hi02.wav" }
- sounds[ "hello" ] = sounds[ "hi" ]
- sounds[ "hey" ] = sounds[ "hi" ]
- sounds[ "follow" ] = { "vo/coast/odessa/male01/stairman_follow01.wav", "vo/npc/male01/squad_follow02.wav", "vo/coast/cardock/le_followme.wav" }
- sounds[ "wait" ] = { "vo/trainyard/man_waitaminute.wav" }
- sounds[ "get in" ] = { "vo/canals/gunboat_getin.wav" }
- sounds[ "not good" ] = { "vo/trainyard/male01/cit_window_use01.wav" }
- sounds[ "isn't good" ] = sounds[ "not good" ]
- sounds[ "isnt good" ] = sounds[ "not good" ]
- sounds[ "stop it" ] = { "vo/trainyard/male01/cit_hit01.wav", "vo/trainyard/male01/cit_hit02.wav", "vo/trainyard/male01/cit_hit03.wav", "vo/trainyard/male01/cit_hit04.wav", "vo/trainyard/male01/cit_hit05.wav" }
- sounds[ "cut it" ] = sounds[ "stop it" ]
- sounds[ "stop that" ] = sounds[ "stop it" ]
- sounds[ "same here" ] = { "vo/npc/male01/answer07.wav" }
- sounds[ "shut up" ] = { "vo/npc/male01/answer17.wav" }
- sounds[ "you never know" ] = { "vo/npc/male01/answer22.wav" }
- sounds[ "wanna bet" ] = { "vo/npc/male01/answer27.wav" }
- sounds[ "you sure" ] = { "vo/npc/male01/answer37.wav" }
- sounds[ "i'm busy" ] = { "vo/npc/male01/busy02.wav" }
- sounds[ "im busy" ] = sounds[ "i'm busy" ]
- sounds[ "excuse me" ] = { "vo/npc/male01/excuseme01.wav", "vo/npc/male01/excuseme02.wav" }
- sounds[ "fantastic" ] = { "vo/npc/male01/fantastic01.wav", "vo/npc/male01/fantastic02.wav" }
- sounds[ "good god" ] = { "vo/npc/male01/goodgod.wav", "vo/npc/male01/gordead_ans04.wav" }
- sounds[ "oh my god" ] = sounds[ "good god" ]
- sounds[ "gosh" ] = sounds[ "good god" ]
- sounds[ "omg" ] = sounds[ "good god" ]
- sounds[ "omfg" ] = sounds[ "good god" ]
- sounds[ "oh no" ] = { "vo/npc/male01/gordead_ans05.wav" }
- sounds[ "sorry" ] = { "vo/npc/male01/sorry01.wav", "vo/npc/male01/sorry02.wav", "vo/npc/male01/sorry03.wav" }
- sounds[ "uhoh" ] = { "vo/npc/male01/uhoh.wav" }
- sounds[ "uh oh" ] = sounds[ "uhoh" ]
- sounds[ "oops" ] = { "vo/npc/male01/whoops01.wav" }
- sounds[ "whoops" ] = sounds[ "oops" ]
- sounds[ "yeah" ] = { "vo/npc/male01/yeah02.wav" }
- sounds[ "yes" ] = sounds[ "yeah" ]
- -- CP only noises
- sounds[ "0" ] = { "npc/combine_soldier/vo/zero.wav" }
- sounds[ "1" ] = { "npc/combine_soldier/vo/one.wav" }
- sounds[ "10" ] = { "npc/metropolice/vo/ten.wav" }
- sounds[ "100 credits" ] = { "npc/overwatch/radiovoice/reminder100credits.wav" }
- sounds[ "10-107" ] = { "npc/metropolice/vo/gota10-107sendairwatch.wav" }
- sounds[ "10-108" ] = { "npc/metropolice/vo/wehavea10-108.wav" }
- sounds[ "10-14" ] = { "npc/metropolice/vo/holdingon10-14duty.wav" }
- sounds[ "10-15" ] = { "npc/metropolice/vo/preparefor1015.wav" }
- sounds[ "10-2" ] = { "npc/metropolice/vo/ten2.wav" }
- sounds[ "103" ] = { "npc/overwatch/radiovoice/disturbancemental10-103m.wav" }
- sounds[ "10-30" ] = { "npc/metropolice/vo/Ihave10-30my10-20responding.wav" }
- sounds[ "10-4" ] = { "npc/metropolice/vo/ten4.wav" }
- sounds[ "10-65" ] = { "npc/metropolice/vo/unitis10-65.wav" }
- sounds[ "10-78" ] = { "npc/metropolice/vo/dispatchIneed10-78.wav" }
- sounds[ "10-8" ] = { "npc/metropolice/vo/unitisonduty10-8.wav" }
- sounds[ "10-8s" ] = { "npc/metropolice/vo/ten8standingby.wav" }
- sounds[ "grenade" ] = { "npc/metropolice/vo/thatsagrenade.wav" }
- sounds[ "Active" ] = { "npc/combine_soldier/vo/fullactive.wav" }
- sounds[ "Administer" ] = { "npc/metropolice/vo/administer.wav" }
- sounds[ "Advance" ] = { "npc/metropolice/vo/teaminpositionadvance.wav" }
- sounds[ "ADW" ] = { "npc/metropolice/vo/confirmadw.wav" }
- sounds[ "Affirmative" ] = { "npc/metropolice/vo/affirmative.wav" }
- sounds[ "Affirmative 2" ] = { "npc/metropolice/vo/affirmative2.wav" }
- sounds[ "Affirmative 3" ] = { "npc/metropolice/vo/affirmative3.wav" }
- sounds[ "Affirmative 4" ] = { "npc/metropolice/vo/affirmative4.wav" }
- sounds[ "Airwatch 243" ] = { "npc/metropolice/vo/cpbolforthat243.wav" }
- sounds[ "Alert" ] = { "npc/combine_soldier/vo/alert1.wav" }
- sounds[ "All Radials" ] = { "npc/combine_soldier/vo/motioncheckallradials.wav" }
- sounds[ "All Teams" ] = { "npc/overwatch/radiovoice/allteamsrespondcode3.wav" }
- sounds[ "All Units Move In" ] = { "npc/metropolice/vo/allunitsmovein.wav" }
- sounds[ "Amputate Ready" ] = { "npc/metropolice/vo/readytoamputate.wav" }
- sounds[ "Amputate" ] = { "npc/metropolice/vo/amputate.wav" }
- sounds[ "Amputation" ] = { "npc/overwatch/radiovoice/immediateamputation.wav" }
- sounds[ "Antiseptic" ] = { "npc/combine_soldier/vo/antiseptic.wav" }
- sounds[ "Any Help" ] = { "npc/metropolice/vo/needanyhelpwiththisone.wav" }
- sounds[ "Apex" ] = { "npc/combine_soldier/vo/apex.wav" }
- sounds[ "Apply" ] = { "npc/metropolice/vo/apply.wav" }
- sounds[ "Are Charged" ] = { "npc/overwatch/radiovoice/youarechargedwithterminal.wav" }
- sounds[ "Assault" ] = { "npc/metropolice/vo/assaultpointsecureadvance.wav" }
- sounds[ "Assist Trespass" ] = { "npc/metropolice/vo/criminaltrespass63.wav" }
- sounds[ "At Code" ] = { "npc/combine_soldier/vo/isholdingatcode.wav" }
- sounds[ "At hardpoint" ] = { "npc/metropolice/vo/isathardpointreadytoprosecute.wav" }
- sounds[ "At location" ] = { "npc/metropolice/vo/ptatlocationreport.wav" }
- sounds[ "Back me up" ] = { "npc/metropolice/vo/backmeupImout.wav" }
- sounds[ "Back up" ] = { "vo/trainyard/ba_backup.wav" }
- sounds[ "Backup" ] = { "npc/metropolice/vo/backup.wav" }
- sounds[ "Bearing" ] = { "npc/combine_soldier/vo/bearing.wav" }
- sounds[ "Begin Scanning" ] = { "npc/overwatch/radiovoice/beginscanning10-0.wav" }
- sounds[ "Blackout" ] = { "npc/combine_soldier/vo/targetblackout.wav" }
- sounds[ "Blade" ] = { "npc/combine_soldier/vo/blade.wav" }
- sounds[ "Bleeding" ] = { "npc/metropolice/vo/suspectisbleeding.wav" }
- sounds[ "Blip" ] = { "npc/metropolice/vo/catchthatbliponstabilization.wav" }
- sounds[ "Block" ] = { "npc/metropolice/vo/block.wav" }
- sounds[ "Boomer" ] = { "npc/combine_soldier/vo/boomer.wav" }
- sounds[ "Boomers inbound" ] = { "npc/combine_soldier/vo/prison_soldier_boomersinbound.wav" }
- sounds[ "Break cover" ] = { "npc/metropolice/vo/breakhiscover.wav" }
- sounds[ "Bugs" ] = { "npc/metropolice/vo/bugs.wav" }
- sounds[ "CH1" ] = { "npc/combine_soldier/vo/prison_soldier_bunker1.wav" }
- sounds[ "CH2" ] = { "npc/combine_soldier/vo/prison_soldier_bunker2.wav" }
- sounds[ "CH3" ] = { "npc/combine_soldier/vo/prison_soldier_containD8.wav" }
- sounds[ "CH4" ] = { "npc/combine_soldier/vo/prison_soldier_fallback_b4.wav" }
- sounds[ "CH5" ] = { "npc/combine_soldier/vo/prison_soldier_leader9dead.wav" }
- sounds[ "CH6" ] = { "npc/combine_soldier/vo/prison_soldier_negativecontainment.wav" }
- sounds[ "CH7" ] = { "npc/combine_soldier/vo/prison_soldier_prosecuteD7.wav" }
- sounds[ "CH8" ] = { "npc/combine_soldier/vo/prison_soldier_sundown3dead.wav" }
- sounds[ "CH9" ] = { "npc/combine_soldier/vo/prison_soldier_tohighpoints.wav" }
- sounds[ "CH10" ] = { "npc/combine_soldier/vo/prison_soldier_bunker3.wav" }
- sounds[ "CH11" ] = { "npc/combine_soldier/vo/prison_soldier_visceratorsA5.wav" }
- sounds[ "Charged with" ] = { "npc/overwatch/radiovoice/attentionyouhavebeenchargedwith.wav" }
- sounds[ "Charges" ] = { "npc/combine_soldier/vo/readycharges.wav" }
- sounds[ "Checkpoint" ] = { "npc/metropolice/vo/atcheckpoint.wav" }
- sounds[ "Citizen" ] = { "npc/metropolice/vo/citizen.wav" }
- sounds[ "Civic Trust" ] = { "npc/overwatch/radiovoice/violationofcivictrust.wav" }
- sounds[ "Cleaned" ] = { "npc/combine_soldier/vo/cleaned.wav" }
- sounds[ "Cleanup" ] = { "npc/combine_soldier/vo/engagedincleanup.wav" }
- sounds[ "Clear" ] = { "npc/combine_soldier/vo/reportingclear.wav" }
- sounds[ "Close Suspect" ] = { "npc/metropolice/vo/allunitscloseonsuspect.wav" }
- sounds[ "Closing 2" ] = { "npc/combine_soldier/vo/closing2.wav" }
- sounds[ "Closing Suspect" ] = { "npc/overwatch/radiovoice/officerclosingonsuspect.wav" }
- sounds[ "Closing" ] = { "npc/combine_soldier/vo/closing.wav" }
- sounds[ "Code 100" ] = { "npc/metropolice/vo/code100.wav" }
- sounds[ "Code 2" ] = { "npc/metropolice/vo/allunitscode2.wav" }
- sounds[ "Code 3" ] = { "npc/metropolice/vo/reinforcementteamscode3.wav" }
- sounds[ "Code 7" ] = { "npc/metropolice/vo/code7.wav" }
- sounds[ "Come Citizen" ] = { "vo/trainyard/ba_youcomewith.wav" }
- sounds[ "Complete" ] = { "npc/metropolice/vo/protectioncomplete.wav" }
- sounds[ "Compromised" ] = { "npc/combine_soldier/vo/targetcompromisedmovein.wav" }
- sounds[ "Condemned" ] = { "npc/metropolice/vo/condemnedzone.wav" }
- sounds[ "Confirm Priority" ] = { "npc/metropolice/vo/confirmpriority1sighted.wav" }
- sounds[ "Confirm" ] = { "npc/combine_soldier/vo/confirmsectornotsterile.wav" }
- sounds[ "Confirmed" ] = { "npc/combine_soldier/vo/contactconfirmprosecuting.wav" }
- sounds[ "Contact Confirm" ] = { "npc/combine_soldier/vo/contactconfim.wav" }
- sounds[ "Contact Suspect" ] = { "npc/metropolice/vo/contactwith243suspect.wav" }
- sounds[ "Contact" ] = { "npc/combine_soldier/vo/contact.wav" }
- sounds[ "Contain" ] = { "npc/overwatch/radiovoice/remainingunitscontain.wav" }
- sounds[ "Contained" ] = { "npc/combine_soldier/vo/contained.wav" }
- sounds[ "Control Section" ] = { "npc/metropolice/vo/controlsection.wav" }
- sounds[ "Converging" ] = { "npc/metropolice/vo/converging.wav" }
- sounds[ "Copy that" ] = { "npc/combine_soldier/vo/copythat.wav" }
- sounds[ "Cover me" ] = { "npc/combine_soldier/vo/coverme.wav" }
- sounds[ "Cover" ] = { "npc/combine_soldier/vo/coverhurt.wav" }
- sounds[ "Covering" ] = { "npc/combine_soldier/vo/cover.wav" }
- sounds[ "Report in" ] = { "npc/metropolice/vo/cprequestsallunitsreportin.wav" }
- sounds[ "Dead body" ] = { "npc/metropolice/vo/dbcountis.wav" }
- sounds[ "Defender" ] = { "npc/metropolice/vo/defender.wav" }
- sounds[ "Delivered" ] = { "npc/combine_soldier/vo/delivered.wav" }
- sounds[ "Document" ] = { "npc/metropolice/vo/document.wav" }
- sounds[ "Don't Move" ] = { "pc/metropolice/vo/dontmove.wav" }
- sounds[ "Down at" ] = { "npc/overwatch/radiovoice/unitdownat.wav" }
- sounds[ "Down" ] = { "npc/metropolice/vo/isdown.wav" }
- sounds[ "Echo" ] = { "npc/combine_soldier/vo/echo.wav" }
- sounds[ "Engaging" ] = { "npc/combine_soldier/vo/engaging.wav" }
- sounds[ "Establish Perimeter" ] = { "npc/metropolice/vo/cpweneedtoestablishaperimeterat.wav" }
- sounds[ "Examine" ] = { "npc/metropolice/vo/examine.wav" }
- sounds[ "Expire" ] = { "npc/metropolice/vo/expired.wav" }
- sounds[ "Failure to" ] = { "npc/metropolice/vo/expired.wav" }
- sounds[ "Final sentencing" ] = { "npc/overwatch/radiovoice/prepareforfinalsentencing.wav" }
- sounds[ "Final verdict" ] = { "npc/metropolice/vo/finalverdictadministered.wav" }
- sounds[ "Final warning" ] = { "npc/metropolice/vo/finalwarning.wav" }
- sounds[ "Firing" ] = { "npc/metropolice/vo/firingtoexposetarget.wav" }
- sounds[ "First Warning" ] = { "npc/metropolice/vo/firstwarningmove.wav" }
- sounds[ "Flare" ] = { "npc/combine_soldier/vo/flaredown.wav" }
- sounds[ "Flash" ] = { "npc/combine_soldier/vo/flash.wav" }
- sounds[ "Get Down" ] = { "npc/metropolice/vo/getdown.wav" }
- sounds[ "Get in here" ] = { "npc/metropolice/vo/getdown.wav" }
- sounds[ "Get out" ] = { "npc/metropolice/vo/getoutofhere.wav" }
- sounds[ "Go on" ] = { "vo/trainyard/ba_goon.wav" }
- sounds[ "Going in" ] = { "npc/metropolice/vo/covermegoingin.wav" }
- sounds[ "Going" ] = { "npc/metropolice/vo/goingtotakealook.wav" }
- sounds[ "Got him now" ] = { "npc/combine_soldier/vo/affirmativewegothimnow.wav" }
- sounds[ "Grenade" ] = { "npc/metropolice/vo/grenade.wav" }
- sounds[ "Haha" ] = { "npc/metropolice/vo/chuckle.wav" }
- sounds[ "There he is" ] = { "npc/metropolice/vo/thereheis.wav" }
- sounds[ "Help" ] = { "npc/metropolice/vo/help.wav" }
- sounds[ "High priority" ] = { "npc/metropolice/vo/highpriorityregion.wav" }
- sounds[ "Hold it" ] = { "npc/metropolice/vo/holditrightthere.wav" }
- sounds[ "Hunting" ] = { "npc/metropolice/vo/tenzerovisceratorishunting.wav" }
- sounds[ "I said move" ] = { "nvo/trainyard/ba_move01.wav" }
- sounds[ "in progress" ] = { "npc/overwatch/radiovoice/inprogress.wav" }
- sounds[ "inbound" ] = { "npc/combine_soldier/vo/inbound.wav" }
- sounds[ "ineffective" ] = { "npc/combine_soldier/vo/targetineffective.wav" }
- sounds[ "ineffected" ] = { "npc/combine_soldier/vo/infected.wav" }
- sounds[ "inject" ] = { "npc/metropolice/vo/inject.wav" }
- sounds[ "Intercept" ] = { "npc/combine_soldier/vo/goactiveintercept.wav" }
- sounds[ "Investigate and report" ] = { "npc/overwatch/radiovoice/investigateandreport.wav" }
- sounds[ "isolate" ] = { "npc/metropolice/hiding05.wav" }
- sounds[ "Judged guilty" ] = { "npc/overwatch/radiovoice/youarejudgedguilty.wav" }
- sounds[ "Judgement" ] = { "npc/metropolice/vo/prepareforjudgement.wav" }
- sounds[ "Keep Moving" ] = { "npc/metropolice/vo/keepmoving.wav" }
- sounds[ "Line" ] = { "npc/metropolice/vo/line.wav" }
- sounds[ "Location unknown" ] = { "npc/metropolice/vo/suspectlocationunknown.wav" }
- sounds[ "Lockdown" ] = { "npc/overwatch/radiovoice/lockdownlocationsacrificecode.wav" }
- sounds[ "Lock position" ] = { "npc/metropolice/vo/lockyourposition.wav" }
- sounds[ "Look out" ] = { "npc/metropolice/vo/lookout.wav" }
- sounds[ "Lost contact" ] = { "npc/combine_soldier/vo/lostcontact.wav" }
- sounds[ "Medical" ] = { "npc/combine_soldier/vo/requestmedical.wav" }
- sounds[ "Move along" ] = { "npc/metropolice/vo/movealong3.wav" }
- sounds[ "Move back" ] = { "npc/metropolice/vo/movebackrightnow.wav" }
- sounds[ "Move in" ] = { "npc/combine_soldier/vo/movein.wav" }
- sounds[ "Move it" ] = { "npc/metropolice/vo/moveit2.wav" }
- sounds[ "Move" ] = { "npc/metropolice/vo/move.wav" }
- sounds[ "Moving cover" ] = { "npc/metropolice/vo/movingtocover.wav" }
- sounds[ "No contact" ] = { "npc/metropolice/vo/nocontact.wav" }
- sounds[ "On visual" ] = { "npc/metropolice/vo/acquiringonvisual.wav" }
- sounds[ "Patrol" ] = { "npc/metropolice/vo/patrol.wa" }
- sounds[ "Proceed" ] = { "npc/metropolice/vo/proceedtocheckpoints.wav" }
- sounds[ "Proceeding" ] = { "npc/combine_soldier/vo/containmentproceeding.wav" }
- sounds[ "Prosecute" ] = { "nnpc/metropolice/vo/prosecute.wav" }
- sounds[ "Ready weapons" ] = { "npc/overwatch/radiovoice/preparetoreceiveverdict.wav" }
- sounds[ "Receive verdict" ] = { "npc/combine_soldier/vo/zero.wav" }
- sounds[ "Reinforcement" ] = { "npc/combine_soldier/vo/overwatchrequestreinforcement.wav" }
- sounds[ "Report please" ] = { "npc/overwatch/radiovoice/reportplease.wav" }
- sounds[ "Report status" ] = { "npc/metropolice/vo/localcptreportstatus.wav" }
- sounds[ "Respond" ] = { "npc/overwatch/radiovoice/respond.wav" }
- sounds[ "Responding" ] = { "npc/metropolice/vo/responding2.wav" }
- sounds[ "Rodger that" ] = { "npc/metropolice/vo/rodgerthat.wav" }
- sounds[ "He's running" ] = { "npc/metropolice/vo/hesrunning.wav" }
- sounds[ "Search" ] = { "npc/metropolice/vo/search.wav" }
- sounds[ "Second warning" ] = { "npc/metropolice/vo/thisisyoursecondwarning.wav" }
- sounds[ "Sector secured" ] = { "npc/combine_soldier/vo/sectorissecurenovison.wav" }
- sounds[ "npc/metropolice/vo/sector.wav" ] = { "Sector" }
- sounds[ "Shit" ] = { "npc/metropolice/vo/shit.wav" }
- sounds[ "Shots fired" ] = { "npc/metropolice/vo/shotsfiredhostilemalignants.wav" }
- sounds[ "Standing by" ] = { "npc/combine_soldier/vo/standingby].wav" }
- sounds[ "Stay alert" ] = { "npc/combine_soldier/vo/stayalert.wav" }
- sounds[ "Take cover" ] = { "npc/metropolice/vo/takecover.wav" }
- sounds[ "Trouble" ] = { "npc/metropolice/vo/lookingfortrouble.wav" }
- sounds[ "Under fire" ] = { "npc/metropolice/vo/officerunderfiretakingcover.wav" }
- sounds[ "Vacate" ] = { "npc/metropolice/vo/vacatecitizen.wav" }
- sounds[ "Watch it" ] = { "npc/metropolice/vo/watchit.wav" }
- sounds[ "You can go" ] = { "npc/metropolice/vo/allrightyoucango.wav" }
- -- End of CP only chat sounds
- local function CheckChat( ply, text )
- if GetConVarNumber( "chatsounds" ) == 0 then return end
- local prefix = string.sub( text, 0, 1 )
- if prefix ~= "/" and prefix ~= "!" and prefix ~= "@" then -- should cover most chat commands for various mods/addons
- for k, v in pairs( sounds ) do
- if string.find( string.lower( text ), k ) then
- ply:EmitSound( table.Random( v ), 60, 100 )
- break
- end
- end
- end
- end
- hook.Add( "PlayerSay", "ChatSounds", CheckChat )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement