2 stage scope with key attribute?
-
B4rr3l
- Posts: 259
- Joined: 2017-01-19 20:44
2 stage scope with key attribute?
I want to have an Acog/Elcan with 1x and 4X zoom, I know that is possible using right mouse button and cycling through zoom modes, but is it possible to toggle 1x/4X with a random keyboard key and use right mouse to zoom in/out only? sorry for the stupid question and the flooding, but here is a place with a lot of information and I think questions can only bring more knowledge.
- ALADE3N
- PR:BF2 Developer
- Posts: 577
- Joined: 2016-02-13 17:34
- Location: Philippines
Re: 2 stage scope with key attribute?
Backup sights key maybe? pr have backup sights for specific weaponsB4rr3l wrote:I want to have an Acog/Elcan with 1x and 4X zoom, I know that is possible using right mouse button and cycling through zoom modes, but is it possible to toggle 1x/4X with a random keyboard key and use right mouse to zoom in/out only? sorry for the stupid question and the flooding, but here is a place with a lot of information and I think questions can only bring more knowledge.

-
AlonTavor
- PR:BF2 Developer
- Posts: 2991
- Joined: 2009-08-10 18:58
Re: 2 stage scope with key attribute?
Not without memory editing.
-
B4rr3l
- Posts: 259
- Joined: 2017-01-19 20:44
Re: 2 stage scope with key attribute?
How that works?HeneraLuna wrote:Backup sights key maybe? pr have backup sights for specific weapons
Can you help me please?AlonTavor wrote:Not without memory editing.
- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: 2 stage scope with key attribute?
Yea, need to edit memory and do other hacky stuff. In case you want to do this while zoomed in (e.g. how Arma does it), it would be even harder if not impossible.AlonTavor wrote:Not without memory editing.

Mineral: TIL that Wire-guided missiles actually use wire
-
AlonTavor
- PR:BF2 Developer
- Posts: 2991
- Joined: 2009-08-10 18:58
Re: 2 stage scope with key attribute?
No. Its not supported in the engine. The amount of work required to make it work is huge, and even then it doesn't work well.B4rr3l wrote:How that works?
Can you help me please?
-
B4rr3l
- Posts: 259
- Joined: 2017-01-19 20:44
Re: 2 stage scope with key attribute?
ok classic answer, it's hardcoded forget about it lol
btw, It doesn't need to change zoom modes while zoomed , if some one has a light let's put it to work!
btw, It doesn't need to change zoom modes while zoomed , if some one has a light let's put it to work!
- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: 2 stage scope with key attribute?
If you dont need changing while zoomed AND you are single player only, you can do this completely in BF2 code. Well you cant do it through key press, but through como rose.
If you want to support multiplayer, you need some external program editing some stuff.
If you want to support multiplayer, you need some external program editing some stuff.

Mineral: TIL that Wire-guided missiles actually use wire
-
B4rr3l
- Posts: 259
- Joined: 2017-01-19 20:44
Re: 2 stage scope with key attribute?
I have a better idea, I already have the BadSantas zoom shader implemented, maybe we can cycle zoom modes through shaders? That would be epicMats391 wrote:If you dont need changing while zoomed AND you are single player only, you can do this completely in BF2 code. Well you cant do it through key press, but through como rose.
If you want to support multiplayer, you need some external program editing some stuff.
Last edited by B4rr3l on 2018-06-15 21:07, edited 2 times in total.
- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: 2 stage scope with key attribute?
You probably could, but no idea about that.

Mineral: TIL that Wire-guided missiles actually use wire
-
B4rr3l
- Posts: 259
- Joined: 2017-01-19 20:44
Re: 2 stage scope with key attribute?
me too kkkkMats391 wrote:You probably could, but no idea about that.
