PDA

View Full Version : Left 4 Dead 'Everything Script' - Voice Spam, Fast Melee, AutoPistols and More!


Mr. Hasselhoff
11-25-2008, 12:52 PM
Hey all. http://forums.facepunchstudios.com/images/smilies/smile.png
I thought I'd share my Left 4 Dead script which I have made by throwing together bits and pieces from all over.
I don't take any credit for it and only credit the original authors of all the respective scripts.


|FEATURES|

- Voice spamming (two different speeds, with a choice of using Laugh, SpotPills, WarnTank, Choke, Hurrah or Help as the sound to repeat)

- Fast-Melee

- Give weapons/items (Molotov, Pipe Bomb, Assault Rifle, Auto Shotgun, Hunting Rifle, First Aid Kit, Pain Pills and Propane Tank)

- 'Auto pistol' (rapidly firing pistols)

- Miscelaneous (spawn a mob, kill, respawn, noclip, thirdpersonshoulder)

All of them work without cheats (on Multiplayer servers), apart from noclip, respawn, spawn-mob, and all of the give commands.

|HOW TO USE|

In game just press the keys, or you can type help in console, or just press p, to get a list of all the commands.
v = Toggle voice
, = Slow voice
. = Fast voice
6 = Use Laugh as sound
7 = Use Pills as sound
8 = Use Tank as sound
9 = Use Choke as sound
0 = Use Cheer as sound
- = Use Help as sound

b = Toggle melee

F4 = Screenshot (as opposed to F5)
F5 = Give Molotov
F6 = Give Pipe Bomb
F7 = Give M16
F8 = Give Auto Shotgun
F9 = Give Hunting Rifle
F10 = Give First Aid Kit
F11 = Give Pain Pills
F12 = Give Propane Tank

c = Toggle Autopistol

/ = Spawn mob
\ = Noclip
[ = Kill
] = Respawn
n = thirdpersonshoulder
p = Help (lists all commands which are included in this script in console so you don't have to remember everything or check etc)


|HOW TO INSTALL|

1. Open Notepad.
2. Copy and paste the script which is at the end of the post.
3. File > Save As...
4. In the drop down list "Save As Type:", select .cfg.
5. Save in;
X:\Steam\steamapps\common\left 4 dead\left4dead\cfg
6. Go go go.


|NOTE|

This script could overwrite any binds you have previously made, so check all the comments in it to make sure.
I have voice communication binded to Mouse3, and Zoom binded to G, so it may make things different.
As far as I know, there is nothing wrong with using this, you won't be breaking any rules or get into any trouble whatsoever. That doesn't mean it won't annoy some people and you could get kicked from individual servers.


|SCRIPT|

Here's the script, hope you enjoy it and make good use of it.
Copy everything in the box.
// Voice Spam

// v = Toggle
// , = Slow
// . = Fast
// 6 = Laugh
// 7 = Pills
// 8 = Tank
// 9 = Choke
// 0 = Cheer
// - = Help

alias laugh "vocalize PlayerLaugh"
alias +laughloop1 "laugh; wait 150; -laughloop"
alias +laughloop2 "laugh; wait 42; -laughloop"
alias +laughloop +laughloop1
alias -laughloop +laughloop
alias laughoff "alias -laughloop; alias laughtoggle laughon"
alias laughon "alias -laughloop +laughloop; +laughloop; alias laughtoggle laughoff"
alias laughtoggle laughon
bind v laughtoggle
bind , "alias +laughloop +laughloop1"
bind . "alias +laughloop +laughloop2"
bind 6 "alias laugh vocalize PlayerLaugh"
bind 7 "alias laugh vocalize PlayerSpotPills"
bind 8 "alias laugh vocalize PlayerWarnTank"
bind 9 "alias laugh vocalize PlayerChoke"
bind 0 "alias laugh vocalize PlayerHurrah"
bind - "alias laugh vocalize PlayerHelp"



// Melee

// b = Toggle

alias +meleeloop "+attack2; wait 6; -attack2; lastinv; wait 6; -meleeloop"
alias -meleeloop +meleeloop
alias meleeoff "alias -meleeloop; alias meleetoggle meleeon"
alias meleeon "alias -meleeloop +meleeloop; alias meleetoggle meleeoff; +meleeloop"
alias meleetoggle meleeon
bind b meleetoggle



// Give Items and Weapons

// F4 = Screenshot (as opposed to F5)
// F5 = Molotov
// F6 = Pipe Bomb
// F7 = M16
// F8 = Auto Shotgun
// F9 = Hunting Rifle
// F10 = First Aid Kit
// F11 = Pain Pills
// F12 = Propane Tank

bind f4 jpeg
bind f5 "give molotov"
bind f6 "give pipe_bomb"
bind f7 "give rifle"
bind f8 "give autoshotgun"
bind f9 "give hunting_rifle"
bind f10 "give first_aid_kit"
binf f11 "give pain_pills"
bind f12 "give propanetank"



// Autopistol

// c = toggle

alias _apistolOFF "bind mouse1 +attack"
alias _apistolON "bind mouse1 +apistol"

alias _autooff "_apistolOFF"
alias _autoon "_apistolON"

alias +apistol "alias repeat_function +repeat; +repeat"
alias -apistol "alias repeat_function stoprepeating"
alias repeat_function "+repeat"
alias +repeat "+attack; wait 2; -repeat"
alias -repeat "-attack; wait 2; repeat_function"

alias _toggle_AP autopistolON
alias autopistolON "_autooff; alias _toggle_AP autopistolOFF"
alias autopistolOFF "_autoon; alias _toggle_AP autopistolON"
bind c _toggle_AP
autopistolON



// Misc

// / = Spawn mob
// = Noclip
// [ = Kill
// ] = Respawn
// n = thirdpersonshoulder


bind / "z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn;

z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn; z_spawn"
bind noclip
bind [ kill
bind ] respawn
bind n thirdpersonshoulder



// Help

// p = Help (lists all commands which are included in this script in console so you don't have to remember everything etc)

alias "help" "echo /=spawn mob, =noclip, [=kill, ]=respawn, F4=Screen, F5=GiveMol, F6=GivePipe, F7=GiveRifle, F8=GiveAutoS, F9=GiveHunt, F10=GiveMed, F11=GivePills, F12=GivePropane,v=Toggle voice on/off, ,=SlowVoice, .=FastVoice, 6=UseLaugh, 7=UsePills, 8=UseWarnTank, 9=UseChoke, 0=UseHurrah, -=UseHelp, b=Toggle melee on/off, c=Toggle rapidfire
on/off, o=Third-person Shoulder"
bind p helpCheers, have fun.

And it's on FPSBanana as well, if it matters.
http://www.fpsbanana.com/scripting/4072

Cobalt
12-01-2008, 04:08 PM
The only one that interests me is the fast melee. Have you tried it? How much more effective is it vs. regular melee?