Portal 2 EasyControls

A Config Script for Portal 2

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending EmreOzcan points.
  • Post: Give EmreOzcan your thoughts on this Script.
  • Vote: Help EmreOzcan win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Stop Lurking!

Sign up

Already a Bananite? Login

Fix the 'R' key, slow your noclip speed and more!

34 lines | 1 kb | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Binds and announcements.
bind "r" "ent_fire prop_portal fizzle"
echo Press R to remove portals.

bind "z" "sv_cheats 1"
echo Press Z to enable cheats.

bind "x" "sv_cheats 0"
echo Press X to disable cheats.

bind "c" "god"
echo Press C to toggle godmode.

bind "v" "noclip"
echo Press V to toggle NoClip mode.

bind "b" "showtriggers_toggle"
echo Press B to toggle trigger-show mode.

bind "n" "toggle sv_portal_placement_never_fail 1 0"
echo Press M to toggle place portals everywhere. Requires cheats.

//HL2 compatability aliases.
alias "hl2_compat" "bind R +reload"

// Disabling aliases.
alias "unr" "unbind r; echo Disabled remove portals."
alias "unz" "unbind z; echo Disabled enable cheats."
alias "unx" "unbind x; echo Disabled disable cheats."
alias "unc" "unbind c; echo Disabled toggle godmode."
alias "unv" "unbind v; echo Disabled toggle noclip mode."
alias "unb" "unbind b; echo Disabled toggle trigger-show mode."
alias "unn" "unbind n; echo Disabled toggle place portals everywhere."
alias "unload_easycontrols" "unr; unz; unx; unc; unv; unb; unn"
Add the script code into the "autoexec.cfg" file. It is located here on default: "C:\Program Files (x86)\Steam\steamapps\common\Portal 2\portal2\cfg\autoexec.cfg" If it does not exist, you can create it! Happy controling! It works for other games, but R and N keys get corrupted.

Posts

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Portal2Script
EmreOzcan
Scripter

Submitter

EmreOzcan avatar
EmreOzcan Offline
Member Joined 2y
463 points Ranked 9401st

EmreOzcan
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Stats

Posts
2
Views
2,096
Date Added
2y
bcp.crwdcntrl.net tracking pixel