Add a fully playable jetpack with sound effects to Portal using console commands!
Play Portal with a Jetpack
Note: Credit goes to twiByte
Installation
This script adds jetpack physics and sound effects to Portal (currently does not add a model or particle effects).
Find your configuration folder
Navigate to your Portal installation’s configuration folder, which is most likely located here:
- C:\Program Files (x86)\Steam\steamapps\common\Portal\portal\cfg
Create hover.cfg
Within this folder, create hover.cfg and paste… into it.
ent_fire !player addoutput "BaseVelocity 0 0 15"
Create autoexec.cfg
Within the same folder, create autoexec.cfg and paste… into it.
alias jet "exec hover; wait; jet1"
alias +jet "alias jet1 jet; ent_remove jet_woosh_end; ent_create ambient_generic targetname jet_woosh SourceEntityName !player health 7 message ambient/fire/fire_big_loop1.wav; jet1"
alias -jet "alias jet1; ent_remove jet_woosh; ent_create ambient_generic targetname jet_woosh_end SourceEntityName !player health 2 message ambient/fire/ignite.wav pitch 120"
Bind the +jet key
Bind +jet to any key by entering the following into the in-game developer console or into autoexec.cfg (I recommend using one of the mouse side buttons):
bind <KEY> "+jet"
Example:
bind mouse4 "+jet"
And you’re done! Press and hold the bound key while airborne to ascend, and release to descend.
Be the first to comment