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 function to get model extensions #2938

Open
1 task done
CrosRoad95 opened this issue Apr 1, 2023 · 1 comment
Open
1 task done

Add function to get model extensions #2938

CrosRoad95 opened this issue Apr 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@CrosRoad95
Copy link
Contributor

Is your feature request related to a problem? Please describe.

it is just a feature, function that give you ability to read model extensions, getModelExtensions(modelId, section) - returns array of extensions ids, and getModelExtensionData(modelId, sectionId, extensionId) to get data.

For example you can make script that apply shader to the model based on that extension or do anything else you want

Describe the solution you'd like

/

Describe alternatives you've considered

/

Additional context

/

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.
@CrosRoad95 CrosRoad95 added the enhancement New feature or request label Apr 1, 2023
@tederis
Copy link
Collaborator

tederis commented Apr 1, 2023

It should be also taken into account that RwFrame has a copy for every object instance. And by using custom frame plugins you can store any object specific data that can be used by game for rendering and other things. For example, you can change a color for an every object instance of the same model.

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

No branches or pull requests

2 participants