What determines 1st person scope mode?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

What determines 1st person scope mode?

Post 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.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: What determines 1st person scope mode?

Post 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.
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Re: What determines 1st person scope mode?

Post 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.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: What determines 1st person scope mode?

Post 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.
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Re: What determines 1st person scope mode?

Post 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?
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Re: What determines 1st person scope mode?

Post 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.
Post Reply