branchrust_reboot/main/mortar_prototypecancel
14 Commits over 0 Days - ∞cph!
Fix the mortar facing backwards when placing (even though ti's a placeholder model)
Make the placeholder item icon for a mortar shell more distinct because a blue rocket is terrible
Switch the adjustment tool from hammer -> pipe tool because holding E to pickup prevents the radial menu from opening
Add per-player cooldown so you can't alternate mortars to fire faster than intended
- set cooldown on both players & mortars
- use prediction to set the cooldown on the client after firing the mortar so the UI for "Fire" doesn't flicker before the network update is sent
Make "Fire" take 2.5 seconds
- shorten cooldown from 4 -> 2 seconds to compensate
- using the progress bar to imagine some kind of loading shell animation and then the mortar would have a short cooldown after shooting before you can load the next one
Keep setting up prefab
- enable repair
- set max health
- reduce placement angle from 45 degrees to 15 degrees (since it's currently based on large box placement)
merge from main -> mortar_prototype
Make GetActiveItem() work on both client and server
Update manifest (mortar related stuff only)