BlacRyu
01-29-2010, 07:14 PM
This isn't really a modding guide, but it can be useful for those who want to take screenshots of their textures or models from unique angles. Or for making cool videos from replays. For instance, this camera mode is what was used to make the DreamHack trailer (http://www.youtube.com/watch?v=ebD-3RVt_9g&hd=1). This only works in practice mode or when watching replays.
Note: if you just want to change the angle of the camera simply hold down the \ key and drag the mouse, if you want 100% freedom of movement then read on.
Unlocking FreeCam
To unlock the Freeflight camera mode, simply type this command in the console (ctrl+f8):
cam_mode 1 (This is the main command that switches around all the camera controls)
Be sure to reset this by typing cam_mode 0 when you are done.
Other Useful Commands - I suggest using these commands along with the one above to make things easier and look better:
cg_cameraSmoothing true (this smooths the camera movement to make it more natural)
scene_farclip 99999 (will lower framerate, but allow you to see terrain far off in the distance)
cg_entitycullrange 99999 (like scene_farclip, but for units and buildings instead of terrain)
cam_flyspeed 1000 (controls how fast the camera flies, higher is faster)
g_camfov 75 (the higher it is, the wider your field of view, allowing you to see more on the screen at once. Can make things look weird if you set it too high/low)
To find other camera settings, type these 'search' commands in the console:
cvarlist camera
cvarlist cam
cvarlist fog (Yes, you can change the ingame fog to whatever you want)
Using FreeCam
To control the Freeflight Camera, use the arrow keys to fly forwards, backwards, and strafe, and hold down the mouse-wheel (middle mouse button) to steer. If you don't hold down the mouse-wheel the camera height will follow the contours of the terrain when moving, and if you hold down v the camera will track any unit you have selected (ie: look up when pebbles tosses them, etc). This camera mode will let you view things from ANY angle you want.
Tips:
F12 hides the interface for cleaner screenshots/movies
F5 takes screenshots (saved to Documents/Heroes of Newerth/game/screenshots)
host_timescale (0.01 to 100) will let you change the speed of everything in the game (same as replay speed control and test++)
Bonus: Enabling the Sky
Scene_drawskybox true (type this first, then pick one of the following two skies)
Scene_skyboxmaterial /world/sky/legion/legion.material http://img24.imageshack.us/img24/4959/shot1354.jpg
or
Scene_skyboxmaterial /world/sky/deadlock/deadlock.material http://img148.imageshack.us/img148/8784/shot1356.jpg
Secret happy fun-time sky:
http://img693.imageshack.us/img693/3238/shot1357.jpg
Fog:
Gfx_fogType 1 (Warning: This may take little while to load)
Gfx_FogColor 0.xx 0.yy 0.zz (changes the fog color to xx% red, yy% green, zz% blue. ie: 1.00 1.00 1.00 would be white, 0.00 0.00 0.00 would be black, 0.40 0.00 0.00 would be dark red, etc.)
Note: if you just want to change the angle of the camera simply hold down the \ key and drag the mouse, if you want 100% freedom of movement then read on.
Unlocking FreeCam
To unlock the Freeflight camera mode, simply type this command in the console (ctrl+f8):
cam_mode 1 (This is the main command that switches around all the camera controls)
Be sure to reset this by typing cam_mode 0 when you are done.
Other Useful Commands - I suggest using these commands along with the one above to make things easier and look better:
cg_cameraSmoothing true (this smooths the camera movement to make it more natural)
scene_farclip 99999 (will lower framerate, but allow you to see terrain far off in the distance)
cg_entitycullrange 99999 (like scene_farclip, but for units and buildings instead of terrain)
cam_flyspeed 1000 (controls how fast the camera flies, higher is faster)
g_camfov 75 (the higher it is, the wider your field of view, allowing you to see more on the screen at once. Can make things look weird if you set it too high/low)
To find other camera settings, type these 'search' commands in the console:
cvarlist camera
cvarlist cam
cvarlist fog (Yes, you can change the ingame fog to whatever you want)
Using FreeCam
To control the Freeflight Camera, use the arrow keys to fly forwards, backwards, and strafe, and hold down the mouse-wheel (middle mouse button) to steer. If you don't hold down the mouse-wheel the camera height will follow the contours of the terrain when moving, and if you hold down v the camera will track any unit you have selected (ie: look up when pebbles tosses them, etc). This camera mode will let you view things from ANY angle you want.
Tips:
F12 hides the interface for cleaner screenshots/movies
F5 takes screenshots (saved to Documents/Heroes of Newerth/game/screenshots)
host_timescale (0.01 to 100) will let you change the speed of everything in the game (same as replay speed control and test++)
Bonus: Enabling the Sky
Scene_drawskybox true (type this first, then pick one of the following two skies)
Scene_skyboxmaterial /world/sky/legion/legion.material http://img24.imageshack.us/img24/4959/shot1354.jpg
or
Scene_skyboxmaterial /world/sky/deadlock/deadlock.material http://img148.imageshack.us/img148/8784/shot1356.jpg
Secret happy fun-time sky:
http://img693.imageshack.us/img693/3238/shot1357.jpg
Fog:
Gfx_fogType 1 (Warning: This may take little while to load)
Gfx_FogColor 0.xx 0.yy 0.zz (changes the fog color to xx% red, yy% green, zz% blue. ie: 1.00 1.00 1.00 would be white, 0.00 0.00 0.00 would be black, 0.40 0.00 0.00 would be dark red, etc.)