-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Failed to identify animation source #3033
Comments
It seems any "event" source is affected by this issue:
|
I just took a quick look, it got broken here: #2949 - specifically this commit e583df2. There are actually 2 bugs there:
|
Other trailers with the same problem as the Centerline: |
Turns out the animations work as intended if a truck is attached and you activate the commands from the truck: 8mb.video-00U-92fMXJoO.mp4 |
@CuriousMike56 I don't really understand how this is working; either way, is there anything I need to fix or can this be closed? |
@ohlidalp The problem is that the animations only work when a truck is attached, they should function regardless of connection. And there's also the misleading "Failed to identify animation source" error that spams the console. |
Ah, thanks for clarifying, I wasn't sure if that quirk is undesirable or mods use it. Very puzzling, tho.
I was sure I fixed that one bit long ago... I guess not. Let me take a look. UPDATE: Sure enough, I can't reproduce it. |
Got it. The anims don't activate because they're event-triggered, and input events are only evaluated for trucks (with engine), not trailers. The check is here: rigs-of-rods/source/main/main.cpp Lines 1144 to 1147 in 8d3914b
NOT_DRIVEABLE , not TRUCK .
The whole enumeration is rigs-of-rods/source/main/physics/SimData.h Lines 99 to 109 in 8d3914b
The identification is done when generating modcache: rigs-of-rods/source/main/resources/CacheSystem.cpp Lines 903 to 906 in 8d3914b
I could add a TRAILER actor type, the question is how should it be recognized. I could check for |
In version 2022.12+ command-triggered
add_animation
lines are no longer parsed correctly, showingFailed to identify animation source
in the log:https://forum.rigsofrods.org/resources/centerline-40t-rigid-neck-lowbed.720/
The flags on this trailer are supposed to move to their correct locations when pressing CTRL+F3/F4 (2022.04):
RoR_2023-03-31_14-37-32.mp4
This issue primarily affects Negativeice's mods. Another example:
https://forum.rigsofrods.org/resources/komatsu-d39ex.416/
Strangely enough, the joystick animations on the D39EX still function despite throwing the same error.
The text was updated successfully, but these errors were encountered: