project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
19 Sep 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 2014-10-26, 18:13   #11
|HBD|Bad_santa12345
Default Re: Realistic scope effect

Quote:
Originally Posted by [R-CON]Mats391 View Post
How hard is this to implement? Would like to give it a try on a PR weapon and see how it looks FPS wise on a map like fallujah.
At the moment most of it is hard coded to only work with alpha project m24 but i already have a system for adding custom console/.con/.tweak commands which i will use to make an easy to implement and mod version.

It does involve a modified BF2.exe. I'm not sure if that will cause problems in PR
|HBD|Bad_santa12345 is offline Reply With Quote
Old 2014-10-26, 18:31   #12
[R-DEV]Mineral
PR:BF2 Lead Designer
Supporting Member
PR Server License Administrator

Mineral's Avatar
Default Re: Realistic scope effect

Quote:
Originally Posted by |HBD|Bad_santa12345 View Post
@Mineral:
What is wrong with the shadow? I have never looked through a real scope so i don't know how it should look. It is made in a shader effect so it is easily modified.
Well a scope is usually a hollow cylinder object, meaning depending on the angle you simply see the inside of a scope, the sides. PR has actually modeled those insides(hence 3D scopes) which is more realistic and visually pleasing then a black shadow effect.

But yeah, as said, if we can do it so it's toggable in the launcher, then I'm all up for it. Just need to monitor and test performance. I think we don't mod our BF2.exe though, only the server executables? Not so sure. But given that EA stopped giving a damn, who cares IMO.

One question though, do you actually render to a texture? Like a on a texture map?? Or is it a overlay over the screen?

Mineral is offline
Last edited by [R-DEV]Mineral; 2014-10-26 at 18:56..
Reply With Quote
Old 2014-10-26, 18:49   #13
EA_SUCKS
Default Re: Realistic scope effect

my pc can handle anything! give it to me
EA_SUCKS is offline Reply With Quote
Old 2014-10-26, 19:10   #14
|HBD|Bad_santa12345
Default Re: Realistic scope effect

If the inside of a scope is actually modelled i could of course use that instead of the shadow. I used the shadow because vBF2 scopes don't have the inside modelled.

Quote:
Originally Posted by [R-DEV]Mineral View Post
One question though, do you actually render to a texture? Like a on a texture map?? Or is it a overlay over the screen?
I do actually render to a texture ( more specifically IDirect3DSurface9 of a IDirect3DTexture9 )
|HBD|Bad_santa12345 is offline
Last edited by |HBD|Bad_santa12345; 2014-10-26 at 19:33..
Reply With Quote
Old 2014-10-26, 21:33   #15
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: Realistic scope effect

We already do edit the pr.exe, e.g. to get the right squad numbers. So editing it more should be no problem. Also punkbuster should not be a problem either as i think the 100p servers cant use it anyway.
It all comes down to performance.
Mats391 is offline Reply With Quote
Old 2014-10-27, 07:32   #16
[R-DEV]​Arab
PR:BF2 Developer
Supporting Member

Arab's Avatar
Default Re: Realistic scope effect

This is actually awesome! Well done
Arab is offline Reply With Quote
Old 2014-10-27, 09:09   #17
KaB
Retired PR Developer

KaB's Avatar
Default Re: Realistic scope effect

The frame rate goes insanely low when ADS in the video.
KaB is offline Reply With Quote
Old 2014-10-27, 09:12   #18
|HBD|Bad_santa12345
Default Re: Realistic scope effect

The scope shadow in this video actually looks pretty close to the one on my system.
|HBD|Bad_santa12345 is offline Reply With Quote
Reply


Tags
effect, realistic, scope

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 17:00.