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

Support for HUDs without customizations #61

Closed
CriticalFlaw opened this issue Jun 16, 2021 · 2 comments · Fixed by #72
Closed

Support for HUDs without customizations #61

CriticalFlaw opened this issue Jun 16, 2021 · 2 comments · Fixed by #72
Assignees
Labels
editor-request Suggestion or request for a new feature.

Comments

@CriticalFlaw
Copy link
Owner

CriticalFlaw commented Jun 16, 2021

There should be an efficient way of implementing multiple HUDs into the editor. This should be done through a json list containing multiple huds without specific customization options, only name and download link.

Not all of these will be able to make use of the default schema (#63) so as the bare minimum the user should be able to download, install and uninstall these HUDs.

[
      {
        "Name": "hexhud",
        "Author": "Hypnotize",
        "Download": "https://github.com/Hypnootize/hexhud/archive/refs/heads/master.zip"
      },
      {
        "Name": "ahud",
        "Author": "n0kk",
        "Download": "https://github.com/n0kk/ahud/archive/refs/heads/master.zip"
      },
      ...
]
@CriticalFlaw CriticalFlaw added the editor-request Suggestion or request for a new feature. label Jun 16, 2021
@CriticalFlaw CriticalFlaw self-assigned this Jun 16, 2021
@CriticalFlaw CriticalFlaw changed the title New Supported HUDs Implement multiple HUDs without customizations Jun 24, 2021
@CriticalFlaw CriticalFlaw changed the title Implement multiple HUDs without customizations Support for HUDs without customizations Jun 26, 2021
@KaineWooten
Copy link
Contributor

Couldn't you create code that could take the URL of the specific hud that will automatically download it straight to the custom folder while unpacking it from the .zip? Something similar to a .bat file that I made for pazer's version of ahud. I'm just unsure how you would be able to hook C# to work in a similar fashion to bat file but in C# (or Json as mentioned before)

@CriticalFlaw CriticalFlaw linked a pull request Jul 2, 2021 that will close this issue
CriticalFlaw added a commit that referenced this issue Aug 5, 2021
- HUDs found in shared.json will display basic information, media links and the option to either install or uninstall the selected HUD. No customizations are included.
- Fixed missing images in rayshud and zeeshud schemas.
@CriticalFlaw
Copy link
Owner Author

Implemented in 4032c3d. HUDs loaded from shared.json will display basic information and only give the option to install, reinstall or uninstall.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-request Suggestion or request for a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants