[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Dead space like tps zooming action

Dead space like tps zooming action

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Dead space like tps zooming action

Postby thommoboy » Wed Jan 11, 2012 5:13 am

I already have my own third person camsra working, how would serb I.add a zoomi (yes I know ung action to it if.i.pdess the right mouse
thommoboy
 
Posts: 95
Joined: Mon Nov 21, 2011 6:35 am

Re: Dead space like tps zooming action

Postby Baker » Wed Jan 11, 2012 6:00 am

In the console type:

fov 90 (enter ... look at what is onscreen)
fov 60 (enter ... look at what is onscreen)
fov 30 (enter ... look at what is onscreen)
fov 10 (enter ... look at what is onscreen)

Then type fov 90 in console to restore to what is probably normal.

You can mess with the zoom on a client doing stuffcmd("fov whatever value")

Maybe part of the clue you are looking for
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Dead space like tps zooming action

Postby thommoboy » Wed Jan 11, 2012 6:54 am

after i add the impulse how would i zoom out because you cannot assign multiple impulses to a single key
thommoboy
 
Posts: 95
Joined: Mon Nov 21, 2011 6:35 am

Re: Dead space like tps zooming action

Postby Baker » Wed Jan 11, 2012 12:28 pm

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Dead space like tps zooming action

Postby metlslime » Wed Jan 11, 2012 7:30 pm

metlslime
 
Posts: 316
Joined: Tue Feb 05, 2008 11:03 pm

Re: Dead space like tps zooming action

Postby Spike » Wed Jan 11, 2012 9:08 pm

note that impulses are unreliable and thus:
a) if you press and release your button fast enough, the mod will see only the release. This is also an issue if they use *any* other impulses at the same sort of time.
b) if a packet is dropped, its possible the mod will see only the press, and not the release.

so make sure its not too unusable if either happens.

if you are targetting DP or FTE, try using DP_VIEWZOOM:
.float viewzoom;
which won't kill the user's fov/sensitivity settings each and every single time they zoom in.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Dead space like tps zooming action

Postby leileilol » Thu Jan 12, 2012 1:14 am

the third person zooming in typical console shooters involve both moving the camera and adjusting the FOV at the same time. You can't seal the deal with a simple zoom alias
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Dead space like tps zooming action

Postby thommoboy » Fri Jan 13, 2012 2:50 am

for your code i get error: mismatch for == (fieldfloat and float)


:(
thommoboy
 
Posts: 95
Joined: Mon Nov 21, 2011 6:35 am

Re: Dead space like tps zooming action

Postby Baker » Fri Jan 13, 2012 3:06 am

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Dead space like tps zooming action

Postby thommoboy » Fri Jan 13, 2012 7:16 am

thommoboy
 
Posts: 95
Joined: Mon Nov 21, 2011 6:35 am

Re: Dead space like tps zooming action

Postby thommoboy » Fri Jan 13, 2012 7:17 am

thommoboy
 
Posts: 95
Joined: Mon Nov 21, 2011 6:35 am

Re: Dead space like tps zooming action

Postby thommoboy » Fri Jan 13, 2012 7:21 am

woo i figured it out yay!!!!!!!!!!!!!
thommoboy
 
Posts: 95
Joined: Mon Nov 21, 2011 6:35 am

Re: Dead space like tps zooming action

Postby Baker » Fri Jan 13, 2012 7:33 am

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Dead space like tps zooming action

Postby thommoboy » Fri Jan 13, 2012 7:35 am

how would i make it so that when the player is zoomed in he moves half the speed?
thommoboy
 
Posts: 95
Joined: Mon Nov 21, 2011 6:35 am

Re: Dead space like tps zooming action

Postby Baker » Fri Jan 13, 2012 8:41 am

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Next

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 2 guests