project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
07 Oct 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Reply
 
Thread Tools Display Modes
Old 2018-06-14, 04:33   #1
B4rr3l
Default 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.
B4rr3l is offline Reply With Quote
Old 2018-06-14, 04:36   #2
[R-DEV]​ALADE3N
PR:BF2 Developer

ALADE3N's Avatar
Default Re: 2 stage scope with key attribute?

Quote:
Originally Posted by B4rr3l View Post
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

ALADE3N is offline Reply With Quote
Old 2018-06-14, 09:48   #3
[R-DEV]​AlonTavor
PR:BF2 Developer
Supporting Member
PR Server License Administrator
Default Re: 2 stage scope with key attribute?

Not without memory editing.
AlonTavor is offline Reply With Quote
Old 2018-06-14, 15:26   #4
B4rr3l
Default Re: 2 stage scope with key attribute?

Quote:
Originally Posted by HeneraLuna View Post
Backup sights key maybe? pr have backup sights for specific weapons
How that works?

Quote:
Originally Posted by AlonTavor View Post
Not without memory editing.
Can you help me please?
B4rr3l is offline Reply With Quote
Old 2018-06-14, 15:40   #5
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: 2 stage scope with key attribute?

Quote:
Originally Posted by AlonTavor View Post
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.

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2018-06-14, 20:57   #6
[R-DEV]​AlonTavor
PR:BF2 Developer
Supporting Member
PR Server License Administrator
Default Re: 2 stage scope with key attribute?

Quote:
Originally Posted by B4rr3l View Post
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.
AlonTavor is offline Reply With Quote
Old 2018-06-15, 01:27   #7
B4rr3l
Default 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!
B4rr3l is offline Reply With Quote
Old 2018-06-15, 18:53   #8
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default 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.

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2018-06-15, 20:47   #9
B4rr3l
Default Re: 2 stage scope with key attribute?

Quote:
Originally Posted by Mats391 View Post
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
B4rr3l is offline
Last edited by B4rr3l; 2018-06-15 at 21:07..
Reply With Quote
Old 2018-06-16, 11:04   #10
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: 2 stage scope with key attribute?

You probably could, but no idea about that.

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Reply


Tags
attribute, key, scope, stage

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 10:24.