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

Multiple colors #22

Open
1 task done
derl30n opened this issue Apr 12, 2024 · 0 comments
Open
1 task done

Multiple colors #22

derl30n opened this issue Apr 12, 2024 · 0 comments
Labels
Request New feature or request

Comments

@derl30n
Copy link
Owner

derl30n commented Apr 12, 2024

Version

v1.0.1

Description

Currently it's only possible that each equipment ID has only one color assigned.

References (optional)

No response

Additional info (optional)

With the introduction of a memory system this issue can be overcome with also the side benefit of not having to define any colors in the config.

This can introduce a lot of bugs and overhang in the code.
One solution may be to detect a character change by monitoring the ped hash.
The hash changes if the ped has beed edited in any way, e.g. any ped editor is opened or closed.
The removal/edit of props by code/scripts need to be looked into.

If there seems to be no conflicts, save every whitelisted component initially and on ped hash change.

CAVE: Equipments such as Duty Bels which may contain taser can have different colors for the taser model when the drawn model has no additional textures due to the taser no longer holstered.

One possible solution for the issue may be to create a fallback if the component variation is detected as invalid - a warning message should also be displayed in the console to inform the user about the mismatch.

Please confirm the following

  • I've checked for similar requests before opening this issue.
@derl30n derl30n added the Request New feature or request label Apr 12, 2024
@derl30n derl30n mentioned this issue Dec 3, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant