PDA

View Full Version : [Script] Improved Laugh-While-Shooting


elevator13
01-18-2009, 07:33 AM
This script makes it so that you can laugh while shooting. It features an improvement over most other laugh scripts to reduce sound clipping. A quick list:

*Automatic/burst firing laughs are smooth (minimized annoying sound clipping, or not hearing any laughter until done firing)

*Pistol/shotgun laughter is also smoothed out (never fire 3 shells from your autoshotty just to hear one laugh at the end!)

-I didn't make a "nice toggle"; if you wish to disable it, you'll have to bind the key used for firing (default MOUSE1) to +attack. Anyone who wishes to make this toggleable and repost it (credit, please) is welcome to do so.


Copy-paste this into autoexec.cfg (this will override whatever you have bound to MOUSE1):

<div class="quote">
//LAUGH WHILE SHOOTING SCRIPT
//Made by elevator13

alias doNothing &quot;&quot;
alias doLaugh &quot;vocalize PlayerLaugh; wait 150; lswhatdo&quot;

alias lswhatdo &quot;doLaugh&quot;
alias laughshootcore &quot;+attack; alias lswhatdo doLaugh; lswhatdo&quot;

alias +laughshoot &quot;laughshootcore&quot;
alias -laughshoot &quot;-attack; alias lswhatdo doNothing; alias +laughshoot +attack; wait 150; alias +laughshoot laughshootcore&quot;


bind MOUSE1 +laughshoot
</div>

The two values for the wait commands should be kept the same; if you experience a lot of sound clipping, change them to around 200. Also note that this script automatically binds to MOUSE1, you can either remove the line or bind another key to +laughshoot (e.g. bind &quot;g&quot; &quot;+laughshoot&quot;)

doa
01-18-2009, 08:16 AM
This is so annoying - and I will leave a server if someone has a script like this *sigh* or just vote kick them ;p

Stupoider
01-18-2009, 08:23 AM
LMAO!