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

Allow default idrs opt out #330

Merged

Conversation

harbingerofme
Copy link
Collaborator

@harbingerofme harbingerofme commented Dec 19, 2021

Some character mods have exported their model really tiny (or large) and this messes with default IDRS on those characters. The resulting default rulesets will blow up making the game unplayable when such an item is picked up.

So while those mods should really fix their model, it's a minor effort on our end to let them opt out of being assigned default rulesets.

(Also stops allocating memory bodyprefab * 2 * (items+equipment) times for .name and instead just is bodyprefab * 2 allocations)

@xiaoxiao921
Copy link
Member

Looks good to me but should we really provide an overload with charModel name ? Ideally the whole system is supposed to reason only with those since char models can have the same name but be totally different looking. See engi turrets

@tristanmcpherson tristanmcpherson merged commit 709297c into risk-of-thunder:master Dec 21, 2021
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.

3 participants