Page 1 of 1

What determines 1st person scope mode?

Posted: Thu Sep 08, 2011 10:18 am
by wishihadaname
Has anyone found the script line that affects how weapons zoom in first person? I am trying to switch from the first person scope zoom to a COD style zoom, simple in theory but I can't find the lines that affect where the camera moves to and what causes that scope to pop up only in first person.

Re: What determines 1st person scope mode?

Posted: Thu Sep 08, 2011 10:29 am
by THEWULFMAN

Code: Select all

ReticuleInAimingOnly = 1
Removes reticle from HUD unless zoomed in.

Code: Select all

SniperScope         = 1
Not sure, but the name should explain it pretty much.

Code: Select all

ZoomFirstPerson     = 1
I forget what this does.

Code: Select all

ZoomMin             = "2.0"
ZoomMax             = "10.0"
Self explanatory.

Code: Select all

ZoomRate            = "2.0"
This is probably the most important thing to go over. Stock sniper rifles are set to 0.0, firct click gets you to ZoomMin, second click gets you to ZoomMax. However, if you change it to 0.1 or higher (2.0 is what I use), first click gets you to ZoomMin, but now you use the forward and back buttons (default W and S), to zoom in and out, which is what you want I think.
I have not played my COD. I'm not a fan of the series, so I don't really know what you mean exactly.

Re: What determines 1st person scope mode?

Posted: Thu Sep 08, 2011 10:45 am
by wishihadaname
What I mean is when you zoom in first person, the camera would center over the rifle like you were looking down the barrel, not down the scope (which most weapons don't even have). I thought it may be in the .hud file but couldn't find anything. The above lines are not really relevent here, I need to re-define what the zoom function in first person is.

Re: What determines 1st person scope mode?

Posted: Thu Sep 08, 2011 10:48 am
by THEWULFMAN
wishihadaname wrote:What I mean is when you zoom in first person, the camera would center over the rifle like you were looking down the barrel, not down the scope (which most weapons don't even have). I thought it may be in the .hud file but couldn't find anything. The above lines are not really relevent here, I need to re-define what the zoom function in first person is.


Well in the future, describing exactly what you want is best.

However, this can not be done. End of story, not happening.

Re: What determines 1st person scope mode?

Posted: Thu Sep 08, 2011 10:54 am
by wishihadaname
Alright, is there a way to make the weapon just use a third person zoom in first person instead of that annoying scope?

Re: What determines 1st person scope mode?

Posted: Thu Sep 08, 2011 6:59 pm
by RED51
Yeah, it's possible. Eggman did it with his Adula maps. Try looking at the com_inf_default odf and its camera values.