Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: 2D scopes framework #1102

Closed
10Dozen opened this issue Mar 30, 2019 · 2 comments · Fixed by #1105
Closed

Feature request: 2D scopes framework #1102

10Dozen opened this issue Mar 30, 2019 · 2 comments · Fixed by #1105
Labels
Milestone

Comments

@10Dozen
Copy link
Contributor

10Dozen commented Mar 30, 2019

ACE3 and BWMod has sweet custom 2D scopes with bunch of features like recoil animations, reticle switching and so on.

Would be great to have similar framework in CBA and plug custom scopes with minimal set ups from my mod's side.

Expected Minimum: To have all needed settings, scripts, handlers and Rsc base classes in CBA + some documentation

@10Dozen
Copy link
Contributor Author

10Dozen commented Apr 2, 2019

As a fancy feature request - is it possible to implement additional layer for weapons like M4? http://img.photobucket.com/albums/v131/nickmartinphoto/DSC00292.jpg

Implementation may be like:

  • parameter at gun config that marks gun as one with non-foldable sight and RIS not above it (maybe just RIS height and front sight height or their delta - >0 means sight above, <0 - sight below ris mount) and reference to blurry image of front sight (maybe even few - blurry for x4 and very blurry for x6+)
  • parameter at scope config that defines height of scope optics and scopes's FOV
  • if front sight height is in scopes FOV - draw blurry layer of gun's sight

@commy2
Copy link
Contributor

commy2 commented Apr 2, 2019

You can not blur textures in game. You would need different textures for all of those and blur them yourself in GIMP or Photoshop.

@commy2 commy2 added this to the 3.11 milestone Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants