Skip to content

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

Open
ninjrdevelop wants to merge 7 commits into
mainfrom
add-customisable-crosshairs
Open

Add customisable crosshairs! Woo. Necessary, no. Cool? Maybe lol.#72
ninjrdevelop wants to merge 7 commits into
mainfrom
add-customisable-crosshairs

Conversation

@ninjrdevelop

@ninjrdevelop ninjrdevelop commented Jan 3, 2025

Copy link
Copy Markdown
Collaborator

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

Comment thread Code/Components/Player/Player.cs
Add IsProxy logic

Co-authored-by: Ben Allison <ben1120@gmail.com>
@ninjrdevelop

Copy link
Copy Markdown
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