Left 4 Dead 2

Left 4 Dead 2

32 个评价
The fly_... commands in L4D2
由 ᴿᴱᴻᴱ™ 制作
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.
   
奖励
收藏
已收藏
取消收藏
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 条留言
Syllivan 4 月 28 日 下午 3:42 
Ohhhh alr alr, gotcha! It worked! Thank you for this guide! :D
ᴿᴱᴻᴱ™  [作者] 4 月 28 日 下午 2:17 
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 4 月 28 日 下午 2:10 
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
ᴿᴱᴻᴱ™  [作者] 4 月 28 日 上午 4:15 
script Convars.SetValue("fly_speed", numvalue)
Syllivan 4 月 27 日 下午 4:31 
And what's the vscript to change the fly speed? Caus i've been looking and I can't find it
ᴿᴱᴻᴱ™  [作者] 4 月 27 日 上午 4:18 
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 4 月 26 日 下午 8:39 
I can't get working fly_start. Do i need something else or..?
yangsmilex 2023 年 7 月 3 日 下午 6:46 
cool