[TUTORIAL] HLAE & KZmod + smooth campaths!
In this brief tutorial you'll find out how to start KZmod with a moviemaking tool called HLAE to easily create smooth campaths for your KZmod clip!
1. Download HLAE http://www.advancedfx.org/download/
-> from this point on, we assume that you've installed Steam in C:\Program Files (x86)\Steam\
-> if not, change the driver+folder before \Steam\ to match your own installation!
2. Max out your video/3d settings for best quality
-> do not force 3d settings from your NVIDIA/AMD control panel like with 1.6
-> let the application decide and start KZmod -> Video settings -> Advanced video settings and maximaze every setting, but leave Motion Blur Off and Vertical Sync Off
-> From Reflections the best settings is Reflect All and we want HDR and Color Correction On for best possible result
3. Launch HLAE with KZmod
- make sure you have the LATEST HLAE version, this is very critical!
-> Open HLAE - Tools - Developer - Custom Loader and fill in the following:
-> HookDLL: browse AfxHookSource.dll from your HLAE folder
-> ProgramPath: C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Multiplayer\hl2.exe
-> CommandLine: -game "C:\Program Files (x86)\Steam\steamapps\SourceMods\KreedzClimbing" -windowed -w 1280 -h 720 -console
4. Create smooth campaths with HLAE just like in CS:GO
-> First of all, moviemaking configs like in CS:GO aren't needed in KZmod
-> naturally you can use different configs to bind a lot of moviemaking commands
-> In KZmod, the most important command to unlock the general "spec mode/hltv mode" is:
demo_thirdperson_enable 1 -> SiCKO's CS:GO tutorial's mirv_input part works perfectly fine with KZmod
-> enable the campath mode by writing mirv_input camera in console
-> ignore the binds used in the video tutorial and just add 4 or more campath points by writing mirv_campath add in console
-> when you're finished write mirv_campath enable 1 to be able to playback the campath
-> mirv_input commands are hardcoded, for example Z and X rotate the camera and PGUP and PGDN alter the FOV/optical zoom
-> check the video tutorial's description for full bind list
-> exit the mirv_input campath mode by pressing ESC
-> you can delete the campath without restarting the demo with mirv_campath clear
The first method of making campaths before the mirv_input mode in that tutorial explains basics but doesn't work in KZmod. I'm going to do a full moviemaking tutorial just for KZmod in the future, but this is vital info for KZmod moviemaking right now.
Useful basic commands and binds in KZmod moviemaking:
demo_resume 1 // play demo
demo_pause 1 // pause demo
host_framerate 300 // sets startmovie capture fps, use just before capturing (slows demo playback)
host_timescale 0 // required in order to avoid lag / skipping in recoding, at least in CS:GO
startmovie // starts capturing pictures frame by frame with the set framerate
endmovie // stops frame capturing
bind F5 "toggle kz_cl_hud_hide_climbtimer;toggle hud_draw" // press to show/hide timer+hudbind F6 "toggle demo_thirdperson_enable" // press to enable/disable 3rd person spec modeThanks IceVip and low- for the info and testing.
As a casual KZmod moviemaker this changed my life.
Thank you jusuuh.
This is really great. Nicely done!
I've been trying to do this more than 1 year ago, but it wasn't working. Good to hear that HLAE is compatible with Kzmod.
Originally posted by NokkanI've been trying to do this more than 1 year ago, but it wasn't working. Good to hear that HLAE is compatible with Kzmod.
Not sure was it the KZmod 2.0 release or what, but it's working now! Only thing is when you're not using mirv_input -command, you're going to face a bug with the demo_thirdperson_enable 1, as when you "Drive", your position gets reseted when you click anything. To avoid that, mirv_campath add should be written manually in console without clickin anything, when the proper position and time is set for a campath key.
e. Edited a few typos and added credits.
e2. Added useful basic moviemaking commands
1 year ago HLAE was not working with AfxHookSource. If you have any further questions about the software/getting errors or anything you can go to #HLAE on QuakeNet or http://advancedfx.style-productions.net/forum/ .
In general, is there anything you'd like to see in the upcoming tutorial?
I dont get it. When you're supposed to make a keyframe (cam point), he's pressing CTRL then PageUp, right? Well, he didnt say what the bind is for creating a keyframe. I press it PageUp but nothing happens ... damn, its hard :(
edit: ok, I managed to do it. Somehow, the model can't be seen, only the hands + weapon: http://i.imgur.com/le0ptu2.jpg
Did you use demo_thirdperson_enable 1?
Originally posted by RaptorDid you use demo_thirdperson_enable 1?
Initially I did, but it didn't work with that setting on "1". When I changed to "0", the campath worked. Dunno, I will try again later I guess :)
Originally posted by CobrexOriginally posted by RaptorDid you use demo_thirdperson_enable 1?
Initially I did, but it didn't work with that setting on "1". When I changed to "0", the campath worked. Dunno, I will try again later I guess :)
Are you sure you used the campath method I'm pointing here, the one with mirv_campath add and mirv_campath enable 1, preferably mirv_input -mode on? That sounds like you're trying to do it with the old method. At least for me, it's impossible to get anything working with demo_thirdperson_enable 0. You must be doing something wrong/differently than I mate!
P.S: don't forget the most important part of the capturing process, max out your 3D-settings. In the screenshot, you have no anti-aliasing on for example.
nice tutorial, i got a question:
is there a command where i can put the files .tga? like
mirv_movie_filename "D:\run"
Originally posted by Raphanice tutorial, i got a question:
is there a command where i can put the files .tga? like
mirv_movie_filename "D:\run"
I think it always records the .tgas to the root of your /KreedzClimbing/. At least there isn't a HLAE command to change that..
edit: updated the first post a bit, a bit more detailed guide to mirv_input smooth campaths.
ye, im without space at my C Disk to make movies atm, i tried put at the D Disk the kzmod and sdk source 2013, but always got a problem =/
campaths doesn't work, any ideas?
Originally posted by Raphacampaths doesn't work, any ideas?
Are you sure you got the latest version of HLAE? That's a must because almost every steam update crashes HLAE.
Walk me through the process so I can have a wild guess where you failed. You got 4 or more campath points added and can't play the campath after that or?
ye, i got the latest version from your post.
yes! after 4 campath's i tried play the campath and nothing happens
Would be rather helpful if you describe step by step what you do so we can tell you what you did wrong.
Please log in to post replies.