A Fallout 3 and New Vegas mod that greatly improves the user interface without compromising the original style.

Forum Thread
  Posts  
Force movement of vertical Pip-Boy knob (Games : Fallout: New Vegas : Mods : Vanilla UI Plus : Forum : Support & Feedback : Force movement of vertical Pip-Boy knob) Post Reply
Thread Options
May 10 2024 Anchor

Hello there,


I have tried to recreate the primary needs display of Fallout: New Vegas for Fallout 3 and I have succeeded to enable keyboard and mouse navigation for the buttons on the Stats Menu. My only problem left is that the vertical Pip-Boy knob which is supposed to move does not move when using keyboard navigation. Here’s my snippet:

if ( fMenuTimer > 0 )
set fMenuTimer to fMenuTimer - GetSecondsPassed
return
endif
if ( IsKeyPressed 200 ); Up Arrow
set iButton to GetUIFloat "StatsMenu\GLOW_BRANCH\stats_status_container\user0"
if ( iButton == 15 )
SetUIFloat "StatsMenu\GLOW_BRANCH\stats_status_container\user0" 14
PlaySound UIMenuOK 1
elseif ( iButton == 14 )
SetUIFloat "StatsMenu\GLOW_BRANCH\stats_status_container\user0" 13
PlaySound UIMenuOK 1
elseif ( iButton == 13 )
SetUIFloat "StatsMenu\GLOW_BRANCH\stats_status_container\user0" 12
PlaySound UIMenuOK 1
elseif ( iButton == 12 )
SetUIFloat "StatsMenu\GLOW_BRANCH\stats_status_container\user0" 11
PlaySound UIMenuOK 1
elseif ( iButton == 11 )
SetUIFloat "StatsMenu\GLOW_BRANCH\stats_status_container\user0" 10
PlaySound UIMenuOK 1
endif
set fMenuTimer to 0.025
endif


Do you have experience with this and could help me out?

I know there is a function named MovePipboyKnob but it’s for console only unfortunately.

I also know that the listindex tag is somehow related to the knob moving.

Cheers,
borisbaer

Edited by: borisbaer

May 10 2024 Anchor

I don't have any experience with it, but isn't this what you're looking for ?

May 10 2024 Anchor

Thanks for the suggestion! Though it works to move the vertical knob this way, the animation is noticeably slower. I’d say that it’s half the speed compared to if you use the Pip-Boy normally. However, it’s better than nothing, but it really makes me wonder why one animation is slower than the other. I don’t know if a workaround is even possible given the fact that this concerns the very navigation logic of the Pip-Boy which is probably set inside the source code. What do you think?

Edited by: borisbaer

May 11 2024 Anchor

I really don't know, as I've said, I don't have any experience with such a thing.

May 11 2024 Anchor

All right! Maybe I will come across some solution some day. Thank you for your help! At least it partially solved the problem.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.