-
Notifications
You must be signed in to change notification settings - Fork 494
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
[Bug] HasSiren detection detects Mule has a siren #486
Comments
It also detects the BR8 has a siren (maybe other open wheelers as well) |
Looking into this, it looks like the vehicle bone list is out-dated. That said, using the latest bone list appears to remove the option for all vehicles. Looking into it, menyoo does dynamically look up bone indexes based on the name, so I'm not sure where its failing here |
Well for some reason the enum VBone::VBone and the string array VBone::vNames are completely different in order. One or the other needs re-ordering. |
I'm doing some unrelated changes at the moment, can easily do that while
I'm in here and test
…On Fri, 20 Jan 2023, 19:25 MAFINS, ***@***.***> wrote:
Well for some reason the enum VBone::VBone and the string array
VBone::vNames are completely different in order. One or the other needs
re-ordering.
—
Reply to this email directly, view it on GitHub
<#486 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQZPAVQXDCYBH6BDPLEAZTLWTLRCXANCNFSM6AAAAAAUABLNUM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Description
HasSiren
method that was used to resolve the issue #436 works incorrectly and presumably detected an incorrect bone which caused most vehicles do not have Siren features even if they were supported before the commit dfdf278.Excepted behaviour
Only vehicles that has
siren1
will have Siren options support.Actual behaviour
A weird set vehicles (some do have siren, some do not) have siren options support regardless of whether or not they actually have siren.
Workarounds
E
) to enable/disable siren, before putting any peds into it.Notes
VBone::siren1
(for example, pointing to a completely different bone) that caused the detection to go wrong.siren1
do show up in the bone list of the attachment menu (of vehicles that do have such bone).The text was updated successfully, but these errors were encountered: