Auto-login: - Forgot your password?


CS Moviemaking Guide for Deckarn

Written by anthony on 5. March 2018 07:09

Alright Dec.  Let's do this.  You get your very own front page article on how to make CSGO movies.  Let's make some magic.  I expect royalties for every release you put out.  It can be in text form.  It must say "Anthony Perfetto Rules!" at the end of the credits.  With that being said, let's get started.

I. CSGO Graphics Settings

Every graphic setting is on max settings and/or enabled.  Vertical Sync is off and Motion Blur is off.  I do this because you're already producing motion blur with frame blending, so no need to put it on ingame.  It's just a bit much.

II. Launching With HLAE

Tools > Developer > Custom Loader

Program path is obviously where your CSGO.exe is.  CommandLine is where you put the goodies at.  I have, currently, the following:

-steam -insecure +sv_lan 1 -window -console -game csgo -width 1920 -height 960

Obviously you can fill in whatever resolution you want at the end there.  Remove "-window" if you want fullscreen.  Other things are basic functionality commands.

DLL to inject is the AFXHookSource.  Found in your HLAE folder, where ever that may be.  Just browse for it.  Then hit Ok.

III. Launching Demo

Demoui in console.  Click Load.  Demos are placed in your C:\Program Files\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\ and loaded from there as well.

IV. Creating and Loading Moviemaking Config

CFGs are made in txt files using notepad.  They are placed in C:\Program Files\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg folder and executed by typing exec name in console.  I would first execute sv_cheats 1 and mirv_cvar_unhide_all 1 before executing your cfg.  Or you could be lazy/smart and just add those commands in your CFG at the top so they execute first.  Now for the basic commands:

Playback Commands

cl_interpolate 1
cl_interp 0.1
cl_interp_ratio 2
cl_updaterate 200
cl_clock_correction 0
mirv_fix playerAnimState 1

These seem to optimize playback and reduce any/all lag in player animations.  10/10 for the playerAnimState command.  Well done, Dom.

Crosshair Customization


Good luck, have fun.

 In Game Clutter

sv_disablefreezecam 1
sv_nomvp 1
sv_nonemesis 1
sv_showimpacts 0
mp_display_kill_assists 0
glow_outline_effect_enable 0
spec_show_xray 0
r_drawtracers_firstperson 0
r_disable_distance_fade_on_big_props 1
r_disable_distance_fade_on_big_props_thresh 1

Some of the commands are pretty self explanatory.  They basically remove some deathcam/killfeed clutter and remove the viewer crap Valve added in.  Big Props commands allow stuff to be drawn from far away in case you're using a low fov with a far cam.

Sound Commands

mirv_snd_filter block "+player\\vo\\\*"
mirv_snd_filter block "+radio\*"

Cleans up the audio so you don't hear all the chatter from the radio or ingame voices.

Weapon Model Commands

cl_custom_material_override 1

Custom Material Override removes skins.  Bob amounts can be set to raise or lower how much the weapon moves around when walking or running.  Weapon fov and offset are how far and wide your weapon appears from your perspective.  I wouldn't mess with this stuff too much since default is pretty balanced.

mirv_streams add baseFx name

This is the command for creating a new stream that you can then add your own customizable settings to.  This is like a container that holds all your recording settings listed below.

mirv_streams record name "path"

"path" is obviously where you want your recorded TGAs to go.

No Flash - "mirv_streams edit name actionFilter add effects/flashbang noDraw; mirv_streams edit base actionFilter add effects/flashbang_white noDraw"

No Stickers "mirv_streams edit name stickerAction noDraw; mirv_streams edit base stattrackAction noDraw"

No Graffiti "mirv_streams edit name actionFilter add decals/playerlogo\* noDraw"

Okay.  So the above shows the commands for removing flashbang effects, stickers and StatTrack on guns, and graffiti on the ground.  These will be attached to that baseFX stream you added earlier.

setframerate "host_framerate #"

 This is what FPS you'll record in.

bind key "host_timescale 0; mirv_snd_timescale 1; mirv_streams record start"

bind key "mirv_streams record end; host_timescale 1; mirv_snd_timescale default; host_framerate 0; endmovie"

Loose example of binding a key to startmovie and endmovie.  Timescale commands basically let you record at the predetermined FPS in your cfg instead of the FPS your game is current running at (I think.  It's been a while.)

You can also take all of the binds and create aliases in your cfg so you can then do something like this:

alias noflash "mirv_streams edit name actionFilter add effects/flashbang noDraw; mirv_streams edit name actionFilter add effects/flashbang_white noDraw"

alias nostickers "mirv_streams edit name stickerAction noDraw; mirv_streams edit name stattrackAction noDraw"

bind key "nostickers; noflash; mirv_streams record start"


V. Creating AVIs in Virtualdub

After this, open VDub.

File>Open video File>Find your mirv directory you set>double click on the first TGA.

Then go to Video>Framerate>Change Frame Rate to>input recorded FPS

File>Save As Avi>Viola!

I think that should be a good start for you.  There's always more advanced stuff to get into with mirv specifically, so maybe I'll do that at a later time for you.  Any questions, ask in the forums.

Kidding.  Use your own custom news article here!


#1Dec HLAE 5. March 2018 09:38
Thank you. I will try those commands.

1) host_timescale 0 removes all audio when playing a demo. Normal? I assume HLAE will still record the sound.
2) sv_ignoregrenaderadio 1 redundant now with mirv_snd_filter block "+radio\*"?
3) cl_interp is locked to 0.03125 and cl_updaterate is locked to 32.

Last changed: 5. March 2018 11:30
#2anthony Style-Productions 5. March 2018 18:29
1.) ya host_timescale must be used in cooperation with mirv_snd_timescale 1.
2.) I dont think that radio command blocks everything, so the mirv sound block command is needed.
3.) ya, not entirely sure about the range of interp, tbh.  I think it locks it to the tickrate of the demo.  Wouldnt worry too much about it unless you start seeing some hardcore lag.
#3how-hiGh_ HLAE 5. March 2018 18:45
lol its 2018 and everyone still uses Virtual Dub?
#4anthony Style-Productions 5. March 2018 18:51
probably just me :D  I think Niklas imports the TGA stream directly into vegas iirc
#5Dec HLAE 5. March 2018 19:02
I am almost getting ready to start capturing, although I am not fully satisfied with my crosshair settings, and I also noticed GOTV demos don't show any recoil if I use crosshairstyle 5 (which I prefer) so I would either have to change crosshairstyle for GOTV demos, or simply keep it and show no recoil, but it does look kind of weird with no recoil - almost like cheating. I haven't paid attention to how other editors have adjusted their crosshair settings for GOTV, but now it's my own settings so I am getting distracted by every detail :D

Viewmodel and bobbing I will most likely keep to default.

I will also discuss with the player I am making the movie for-- oops, official project announcement?
#6anthony Style-Productions 5. March 2018 19:07
That's really weird that a crosshair setting is causing the model to stop bobbing in GOTV demos.  Never experienced that glitch.  I would for sure change your crosshair to something else, as that will be super distracting.  And I would suggest not having two different styles for the movie.  Pick one and stick to that throughout.  Give me a heads up on the project.  Ill write a news article!
#7Dec HLAE 5. March 2018 19:18
I meant the dynamic crosshair effect when the player is shooting. The crosshair is completely static. You can see it in my test clip.
Again, I will have to tweak the settings, I think.
#8anthony Style-Productions 5. March 2018 19:24
We use crosshairstyle 4 and its static.  try that
#9anthony Style-Productions 5. March 2018 19:24
get into the mirv discord btw.  i can help you live in there

Last changed: 5. March 2018 19:25
#10Dec HLAE 5. March 2018 20:00
No time today. I will test various crosshair settings tomorrow probably.
#11Sunot 6. March 2018 14:41
Thx. Is there any difference between this one and the older csgo guides?
#12anthony Style-Productions 6. March 2018 18:25
Hey sunot! The older csgo guides are very outdated. The "technology" is better now and there are a lot of things you don't have to do anymore to get your game working. Plus, now we have HLAE which we didn't before.  I would suggest following this one if you're interested in making a movie! 
#13Sunot 7. March 2018 04:41
Cool dude. yeah I'm always interested in making movies but my computer can't even run GO which has been a problem of mine since even making movies in 1.6 so I had to resolve to using cyber cafes sometimes for HLAE clips which was such a pain to transfer etc. Will keep in mind! 
#14anthony Style-Productions 7. March 2018 06:57
man, that's brutal.  I respect your efforts though!  anything for the love.
#15Zaknafein Style-Productions 7. March 2018 10:28
Hi Antony, I am a first time moviemaiker. Question: How u make the beat beats of the song happen wen the frags do? Like boom boom headshot. No working when I put in VideoMach.

#16anthony Style-Productions 7. March 2018 18:39
have you tried smashing your face against Videomach?  That seems to work for me.
#17neigh 8. March 2018 00:36
Can you not just import the image sequence into vegas as a video anymore? ai used to do that then when i had everything i felt perfect i'd render out a minute or so uncompressed and just delete the individual clips for space again. No idea what you guys are doing these days with what I'm assuming are massive file size .avi's
#18anthony Style-Productions 8. March 2018 05:22
Yup, neigh.  You absolutely can.  that's one way to do it.  Like I said, i think Niklas does that.  But these days, HDDs are so cheap that having multiple TB of disc space is nothing.  I think I have 5 TB and multiple projects stored on my computer at the moment because of how cheap dollar/GB is.
#19Dec HLAE 8. March 2018 15:32
I can't get rid of the flashbang effect. I added those commands to my config, and also tried the alias:

mirv_streams add baseFx name
alias noflash "mirv_streams edit name actionFilter add effects/flashbang noDraw; mirv_streams edit name actionFilter add effects/flashbang_white noDraw"
bind "F3" "noflash"

And I press F3 after a demo has been loaded and executed my config. Are there any requirements for it to work? Like, does a round need to be reloaded, or do I need to enter the commands manually in the console?

Last changed: 8. March 2018 16:22
#20anthony Style-Productions 8. March 2018 18:21
Hey Dec!  So you have to add those aliases to your recording bind.  It'll look something like this

bind F3 "noflash; nostickers; mirv_streams record start"

or if you don't use aliases, it'll look like:

bind F3 "mirv_streams edit name actionFilter add effects/flashbang noDraw; mirv_streams edit name actionFilter add effects/flashbang_white noDraw; mirv_streams edit name stickerAction noDraw; mirv_streams edit name stattrackAction noDraw; mirv_streams record start"

Make sense now?
#21Dec HLAE 8. March 2018 18:31
Is mirv_streams record start mandatory? At the moment I am capturing through the demos manager, so it will automatically start and stop recording.

Hm, it seems the demos manager uses startmovie, erm.. I guess this is a limitation for that software then.

Edit: Managed to do it with HLAE alone. The game still rendered the flash, but the images didn't. I assume that's how it works.

Edit2: Erm, I don't know if I messed something up, but the clip lost the deathnotices :S
I was fiddling with mirv_deathmsg, but I only set the display time to 10(s) - that shouldn't be the cause?

Edit3: Tried again, but deathnotices are gone on the images. There must be something I am missing.

Last changed: 8. March 2018 19:46
#22anthony Style-Productions 8. March 2018 23:03
I'm not sure how demos manager works, so I couldn't tell you what is or isn't mandatory.  And yes, you'll see the flash as the clip is recording, but the actual recorded footage does not include it. Not sure what you did with deathnotices. Sounds like you blocked them somehow. I think you have to drawhud 1 on the stream. Or Try exiting out of cs, rebooting, and going back in and recording so that Everything resets . If that doesn't work , refer to my first suggestion .
#23Dec HLAE 9. March 2018 11:12
Okay, I seem to understand how the mirv_streams system is working now.

Are these presets: baseFx, normal, depth, etc? (mirv_streams add baseFx/normal/depth/... name)

Edit: I have been toying around, so I think I understand how mirv_streams works. Next step? Cams?

Last changed: 10. March 2018 19:44
#24anthony Style-Productions 11. March 2018 06:49
cams it is
#25Dec HLAE 12. March 2018 09:55
I tried the built-in smooth tool, but it appears to be broken or bugged(?)
Page: 1 2 Next >>
You have to be logged on to write a comment.