gpstar81/GPStar-proton-pack

Neutrona wand vibration on Activate

Opened this issue · 0 comments

Discussed in #331

Originally posted by Toy203 June 28, 2024
Would be cool to have the option to make the wand vibrate for a sec while activating the secondary switches, as it is turning on. Best would be to have the option to enable "activating vibration" alongside the other "vibrate when firing" option

This is possible; we already have math that handles ramps, so we could utilize that ramp code to ramp the vibration motor down from max right when the vent switch gets flipped, kinda like there was a surge of energy into the wand which then stabilizes. For 84/89 anyway.

For Afterlife/FE since the wand has its own noises for all three switches and none of them are a distinct "startup" like 84/89 have, might be worth instead modifying the "Always vibrate" code here so that as each switch is thrown the vibration slowly ramps up alongside the audio pitch until reaching full when all three are up.