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

🚚 New prop anim sources: gearreverse, gearneutral, gear#, autoshifterlin #3078

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ohlidalp
Copy link
Member

@ohlidalp ohlidalp commented Sep 2, 2023

The gear* sources input 0 or 1 depending on the specific gear.

The autoshifterlin source works the same as shifterlin except it clamps forward gears to 1, so only has D/N/R positions. Fixes #2854

A test truck is attached - only the gear* flags are used though, I was lazy to test the shifter.
propboard.zip

image

Copy link
Collaborator

@CuriousMike56 CuriousMike56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

autoshifterlin doesn't appear to work as expected. Test vehicle:
gavrilmv4_autoshiftanim.zip

;shifter
3,1,36,0.455,1.15,-0.579,90, 0, 0, mv4shifter.mesh
add_animation 0.05, 0, 0, source: autoshifterlin, mode: z-offset

Video:

RoR_2023-11-27_12-55-26.mp4

The shifter doesn't move with the PageUp/Down keys, only with A/Z and doesn't ignore the other gears.

@ohlidalp
Copy link
Member Author

ohlidalp commented Jul 7, 2024

I fixed the glitch - by mistake, I was clamping reverse gears instead of forward gears.
I also extended the test mod to cover shifters.
obrazek
propboard_w_shifter_3078.zip

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.

[request] "shifterlin" animation source addition
2 participants