View previous topic :: View next topic |
Author |
Message |
mh

Joined: 12 Jan 2008 Posts: 910
|
Posted: Tue Mar 02, 2010 5:10 pm Post subject: |
|
|
Monster wrote: | Is there a way to adjust the size of the gun model? I'm on 1680x1050x32 resolution, using fov 110 and the gun model still looks quite big as compared to other engines like Darkplaces or Fitzquake. |
Just realised why this is. Both DP and FQ use a weird bastardized gun model offset that is not the same as ID Quake at 640x480 and above, and which makes the gun model look - to my filthy depraved mind at least - like an erection.
DirectQ uses the ID style by default (of course), but you can set r_gunangle 0 to use the DP/FQ style. r_gunangle 2 will revert to ID style, and other values may or may not work or do weird stuff. _________________ DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines |
|
Back to top |
|
 |
metlslime
Joined: 05 Feb 2008 Posts: 177
|
Posted: Tue Mar 02, 2010 10:48 pm Post subject: |
|
|
long ago i removed the weird (but standard) offset so that the gun wouldn't do weird things when you looked up and down. This has the negative effect of making it harder to see when you have a statusbar up. In retrospect there are better solutions, maybe i should revisit it. |
|
Back to top |
|
 |
qbism

Joined: 04 Nov 2004 Posts: 82
|
Posted: Wed Mar 03, 2010 3:49 am Post subject: |
|
|
Better to move the model along a curve that a line. Playing with the numbers, this looks OK within reasonable limits, 30< fov <140
Code: | scr_ofsx.value = (pow(scr_fov.value, 2)-8100)/1700; //qbism compensate view model position
scr_ofsz.value = (pow(scr_fov.value, 2)-8100)/2000;//qbism compensate view model position |
_________________ http://qbism.com |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Sat May 01, 2010 1:49 pm Post subject: |
|
|
I've foudn that host_framerate is very messed up in DirectQ. In my 10 seconds of testing, with host_framerate set to 0.001, the view bobbing and grenade fuses didn't obey it (so the grenade flew slowly then blew up in my face). _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Sat May 01, 2010 1:51 pm Post subject: |
|
|
metlslime wrote: | long ago i removed the weird (but standard) offset so that the gun wouldn't do weird things when you looked up and down. This has the negative effect of making it harder to see when you have a statusbar up. In retrospect there are better solutions, maybe i should revisit it. |
I turned it into a cvar called v_fudgeweapon or something (default 1 = Quake behaviour). _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
mh

Joined: 12 Jan 2008 Posts: 910
|
Posted: Sat May 01, 2010 7:29 pm Post subject: |
|
|
Sajt wrote: | I've foudn that host_framerate is very messed up in DirectQ. In my 10 seconds of testing, with host_framerate set to 0.001, the view bobbing and grenade fuses didn't obey it (so the grenade flew slowly then blew up in my face). |
Well spotted, you win this month's prize!
Fortunately it's a 1 line fix, so cheers for the heads up on this one! _________________ DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Sat May 01, 2010 8:53 pm Post subject: |
|
|
Okay cool. Now add the "slowmo" cvar! _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
|