2 stage scope with key attribute?

Making or wanting help making your own asset? Check in here
Post Reply
B4rr3l
Posts: 259
Joined: 2017-01-19 20:44

2 stage scope with key attribute?

Post by B4rr3l »

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.
User avatar
ALADE3N
PR:BF2 Developer
Posts: 577
Joined: 2016-02-13 17:34
Location: Philippines

Re: 2 stage scope with key attribute?

Post by ALADE3N »

B4rr3l 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.
Backup sights key maybe? pr have backup sights for specific weapons
Image
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: 2 stage scope with key attribute?

Post by AlonTavor »

Not without memory editing.
B4rr3l
Posts: 259
Joined: 2017-01-19 20:44

Re: 2 stage scope with key attribute?

Post by B4rr3l »

HeneraLuna wrote:Backup sights key maybe? pr have backup sights for specific weapons
How that works?
AlonTavor wrote:Not without memory editing.
Can you help me please?
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: 2 stage scope with key attribute?

Post by Mats391 »

AlonTavor wrote:Not without memory editing.
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.
Image

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?

Post by AlonTavor »

B4rr3l wrote:How that works?



Can you help me please?
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
Posts: 259
Joined: 2017-01-19 20:44

Re: 2 stage scope with key attribute?

Post by B4rr3l »

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!
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: 2 stage scope with key attribute?

Post by Mats391 »

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.
Image

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?

Post by B4rr3l »

Mats391 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.
I have a better idea, I already have the BadSantas zoom shader implemented, maybe we can cycle zoom modes through shaders? That would be epic
Last edited by B4rr3l on 2018-06-15 21:07, edited 2 times in total.
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: 2 stage scope with key attribute?

Post by Mats391 »

You probably could, but no idea about that.
Image

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?

Post by B4rr3l »

Mats391 wrote:You probably could, but no idea about that.
me too kkkk
Post Reply

Return to “PR:BF2 Community Modding”