Zoom in demo?

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
Cobalt
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA
Contact:

Zoom in demo?

Post by Cobalt »

By the looks of it, when recording a .dem , and you zoom in for a closeup on something, the demo is ignoring the zoom. Is that default in 1.06 progs / Quake, and have any other engines added the zoom so it can be recorded into the demo?
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: Zoom in demo?

Post by Spike »

.float viewzoom; /*DP_VIEWZOOM*/
that will get saved in demos.

just hacking the fov with a clientside bind/alias will not be saved into demos.
Cobalt
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA
Contact:

Re: Zoom in demo?

Post by Cobalt »

Hmm, I tried self.viewzoom = 1 for clients connecting in clientconnect ()

Still the demo is not playing back the zoom feature....
leileilol
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Zoom in demo?

Post by leileilol »

I think stuffcmd'ing in QC might work turning the F11 zoom into an impulse. Maybe.


BUT STUFFCMD EVIL!!!!!!!!!!!!!!! also you'll annoy players over the forced sensitivity changes.
i should not be here
Supa
Posts: 164
Joined: Tue Oct 26, 2004 8:10 am

Re: Zoom in demo?

Post by Supa »

As Spike noted, the server side .viewzoom scalar is saved in demos, so any demos recorded without it aren't going to have any zoom at all.

Also given that DP_VIEWZOOM works with a 0..1+ scalar, setting it to 1 isn't going to do anything, just like with alpha - you need to set it lower (in) or higher (out) to get any zoom.
aut viam inveniam aut faciam
Cobalt
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA
Contact:

Re: Zoom in demo?

Post by Cobalt »

Ok, now I see...thanks.

Yea, somehow the client side command needs to change .viewzoom hmmm
Post Reply