Left 4 Dead 2

Left 4 Dead 2

32 ratings
The fly_... commands in L4D2
By ᴿᴱᴻᴱ™
Are you bored as a dead infected or survivor?
Are you bored as a spectator?
Or do you just want to make a little cutscene of a map?
Then this might be usefull for you.
   
Award
Favorite
Favorited
Unfavorite
Main
fly_add_keyframe : cmd : , "cl" : fly_clear_all_keyframes : cmd : , "cl" : fly_show_path : cmd : , "cl" : fly_speed : 200 : , "cl", "launcher" : fly_start : cmd : , "cl" :

While being one of those cases you can place keyframes with "fly_add_keyframe". It is a good idea to make a bind for this so you do not have to enter the console again and again. The other commands are pretty self explanatory.
How ever the fly_speed is only changable via vscripts convars class.

fly_start attaches your camera to the camera path and the flight begins.
That should not to be confused with work in the demo smoother but still might be handy here and there.
8 Comments
Syllivan 28 Apr @ 3:42pm 
Ohhhh alr alr, gotcha! It worked! Thank you for this guide! :D
ᴿᴱᴻᴱ™  [author] 28 Apr @ 2:17pm 
you can just start any map via console and use all commands but fly_speed.
it requires you to use "script Convars.SetValue("fly_speed", numvalue)".
You dont need to create any scripts.
No problemo
Syllivan 28 Apr @ 2:10pm 
Okay, correct me if I'm wrong. I'm creating a folder, which in this folder I made another called "scripts" then inside of it I made another folder called "vscripts". Inside of the last folder I made the nut file, I rename the file as "fly_speed.nut". Inside this file I wrote the script you gave me but didn't work. Do I need to do something else? Sorry if this are stupid questions

NOTE: I'm creating a vpk file for this folder and put it in the "addons" folder
ᴿᴱᴻᴱ™  [author] 28 Apr @ 4:15am 
script Convars.SetValue("fly_speed", numvalue)
Syllivan 27 Apr @ 4:31pm 
And what's the vscript to change the fly speed? Caus i've been looking and I can't find it
ᴿᴱᴻᴱ™  [author] 27 Apr @ 4:18am 
you move around in the world and add keyframes with "fly_add_keyframe"
then you enter freecam (move to spectator for instance) and then you type "fly_start"
Syllivan 26 Apr @ 8:39pm 
I can't get working fly_start. Do i need something else or..?
yangsmilex 3 Jul, 2023 @ 6:46pm 
cool