User panel stuff on forum
  22 posts on 1 page  1
Advanced Configuration
2006-06-24, 21:39
Member
1435 posts

Registered:
Jan 2006
Recent Tonik's camera patch allows you to create a lot of scripted camera action in ezQuake. Let this be a place to gather some nice scripted camera configs.

Let me start with a very basic one - camera positions bookmarks:
//
// Camera positions bookmarks
//
// Use [Ctrl]+[0], [1], ..., [9] to store cam positions
// Use [0], [1], ..., [9] to load stored camera positions
//

bind ctrl +cams_save_mode

set cams_bindn 0
// been too lazy to type all that bind 1 blah bind 2 blah stuff manually...
alias cams_bindnext "cams_bindc; inc cams_bindn 1; if $cams_bindn < 10 cams_bindnext"
alias cams_bindc "bind $cams_bindn cams_go $cams_bindn"
cams_bindnext

set cams_bindmode 0

alias +cams_save_mode "set cams_bindmode 1"
alias -cams_save_mode "set cams_bindmode 0"
alias cams_go "if $cams_bindmode == 0 cams_load %1 else cams_save %1"
alias cams_load "cam_angles $cam_angles_saved%1; cam_pos $cam_pos_saved%1; echo camera position %1 loaded"
alias cams_save "set cam_angles_saved%1 $cam_angles; set cam_pos_saved%1 $cam_pos; echo camera position %1 saved"

Today I've added f_captureframe trigger (it gets triggered on the beginning of every new captured frame), so you can create some advanced scripted moves.
I wouldn't call this "advanced script", but it should give you some hint which way to go ;-)

// accelerated camera movement
set step 2
alias f_captureframe "set_calc step $step * 1.05; set_calc temp $cam_pos_y + $step; cam_pos $cam_pos_x $temp $cam_pos_z"

I've extended this configs into something more usefull, you can find the result here - Camera bookmarks config
2006-06-25, 07:59
Member
1026 posts

Registered:
Feb 2006
zomfg! finally!

hope vb is still in mood for movie making
god damn hippies >_<
2006-06-25, 18:06
Member
1754 posts

Registered:
Jan 2006
omfg! cool
and finally yes...
I bet vb has some movie-making left in him
2006-06-26, 06:10
Member
139 posts

Registered:
Jan 2006
!!

right in time, im working on a movie
http://www.egozelle.com/stuff/qw_sig.jpg
2006-06-26, 10:22
Member
97 posts

Registered:
Jan 2006
\ ; D / right in time for dde
2006-06-29, 08:22
Member
950 posts

Registered:
Apr 2006
JohnNy_cz wrote:
Recent [url=http://ezquake.cvs.sourceforge.net/ezquake/ezquake/cl_cam.c?sortby=date&view=log]Today I've added f_captureframe trigger (it gets triggered on the beginning of every new captured frame), so you can create some advanced scripted moves.
I wouldn't call this "advanced script", but it should give you some hint which way to go ;-)

// accelerated camera movement
set step 2
alias f_captureframe "set_calc step $step * 1.05; set_calc temp $cam_pos_y + $step; cam_pos $cam_pos_x $temp $cam_pos_z"


Can you explain what that does exactly. I'm not sure I got it right.
BTW, the other script works great
2006-06-29, 10:12
Member
188 posts

Registered:
Jan 2006
i dont get a shit of this, what the fuck does this does? :E
2006-06-29, 11:14
Member
1435 posts

Registered:
Jan 2006
When you start capturing, your camera (POV) will start moving along the Y axis of the map with an accelerated movement.
2006-06-29, 13:31
Member
950 posts

Registered:
Apr 2006
Still not sure what that creates as of visual effect... Will have to try it.
So no bind needed? Just record when switched to spec mode?
2006-06-29, 14:36
Member
1754 posts

Registered:
Jan 2006
bind ctrl +cams_save_mode

?
2006-06-29, 14:59
Member
950 posts

Registered:
Apr 2006
Was talking about f_captureframe...
2006-06-29, 15:38
Member
1754 posts

Registered:
Jan 2006
oh my bad
yea it looks a bit weird :/
2006-06-29, 15:45
Member
950 posts

Registered:
Apr 2006
I guess you alias on f_captureframe what you want to happen when it is triggered?
Never really played with triggers before...
2006-06-29, 16:40
Member
1435 posts

Registered:
Jan 2006
It's not any "effect", just a preview of how camera movement can be pre-scripted.
Doesn't apply when you are tracking a player.
2006-06-29, 17:48
Member
950 posts

Registered:
Apr 2006
Ok, tried it
It's a travelling camera move. Too bad I can't stop it

Nice, starting to have tools to build good cinematics now Just need the demo bookmarks *whistle*
2006-08-18, 20:08
Member
1435 posts

Registered:
Jan 2006
http://ezquake.sourceforge.net/test/cams.cfg
I'll work on something better soon I hope. Expect timed actions a CW/CCW control on the cam movement.
2006-08-18, 22:25
Member
139 posts

Registered:
Jan 2006
very cool so far
can't wait to see more :>
http://www.egozelle.com/stuff/qw_sig.jpg
2006-09-09, 12:40
Member
85 posts

Registered:
May 2006
yes, make with the q3 style camming!
2006-09-09, 18:03
Member
1435 posts

Registered:
Jan 2006
Latest version can be found on different location. Check the first post.
2019-10-21, 08:30
Administrator
887 posts

Registered:
Jan 2006
@ JohnNy_cz, URL's are down. Could you possibly re-upload this somewhere? There's a config section on this site: https://www.quakeworld.nu/configs
Join us on discord.quake.world
2019-10-22, 02:46
Member
215 posts

Registered:
Feb 2011
If you're looking for the cams.cfg linked from the first post, you can find it @ https://github.com/ezQuake/ezquake-source/blob/master/misc/cfg/cams.cfg
2019-10-22, 08:43
Administrator
887 posts

Registered:
Jan 2006
BLooD_DoG wrote:
If you're looking for the cams.cfg linked from the first post, you can find it @ https://github.com/ezQuake/ezquake-source/blob/master/misc/cfg/cams.cfg


From cams.cfg (1.2):
// Use [Shift]+[0], [1], ..., [9] to move smoothly to cam position
// (will happen only during capturing)
- why only for capturing - can we have it for observing aswell?
Join us on discord.quake.world
  22 posts on 1 page  1