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

Add customisable crosshairs! Woo. Necessary, no. Cool? Maybe lol. #72

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ninjrdevelop
Copy link
Collaborator

@ninjrdevelop ninjrdevelop commented Jan 3, 2025

Added the ability to have user-defined crosshairs.

Menu option:
image

Came up with a bullshit mechanism for defining them.

(shape;colorR;colorG;colorB;location and size stuff;thickness)

E.g:
(rect;255;255;0;-25;-25;50;50;1;0) - Hollow rectangle
(rect;colorR;colorG;colorB;x;y;width;height;thickness;solid[0/1])
image

(rect;255;255;0;-25;-25;50;50;1;1) - Solid rectangle
(rect;colorR;colorG;colorB;x;y;width;height;thickness;solid[0/1])
image

(circle;255;255;255;-3;-3;6;6) - Circle (default)
(circle;colorR;colorG;colorB;x;y;width;height)
image

(line;255;0;0;-10;-10;10;10;1)(line;255;0;0;-10;10;10;-10;1)
(line;colorR;colorG;colorB;startX;startY;endX;endY;thickness)
image

I'll be adding some documentation in another MR, and probably making a crosshair designer webpage we can host in Github Pages.

Closes #71

Add IsProxy logic

Co-authored-by: Ben Allison <[email protected]>
@ninjrdevelop
Copy link
Collaborator Author

Created a crosshair generation page https://ninjrdevelop.github.io/sandbox-plus-crosshair/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add crosshair customisation feature
2 participants