branchrust_reboot/main/qol_attack_heli_ammo_selectcancel

2 Commits over 0 Days - ∞cph!

Today
Fix compile error
Today
Add ability to select either HV rockets or incendiary rockets when you are the pilot of an attack helicopter - default to only using HV rockets - hold 'R' to open radial menu to switch ammo (similar to guns) - switching ammo doesn't trigger reload, it only chooses what rockets are prioritized Press 'R' to trigger manual reload of attack helicopter rockets - same as reload when you use full volley of rockets - won't reload if you have 6/6 rockets available to shoot Pass delta into LocalInput method so holding 'R' for 0.25s brings up radial menu - at some point the method was changed from Update() to ClientTick() meaning it's called at 32hz instead of at client framerate - clamp delta to 0.25s so it doesn't feed a huge delta value into ClientInput if the client doesn't send ticks for a larger interval