branchrust_reboot/main/naval_update/cannon_codecancel
19 Commits over 0 Days - ∞cph!
Fix missing material on cannonball, replace old cannon projectiles with the new model
merge new cannonball model into cannon_code
Fix cannon ammo staying active after firing
Make the cannon handle spin depending on the height of the back block, raise/lower the back block as the cannon rotates
Replace old model with the new LODed model.
Adjust: cannon hand IK, pitch clamping to fix the cannon clipping into itself, mount anchor offsets.
merge from deployable_cannon
Suppress warning in prefab preprocess for when we're running in CLIENT and SERVER, otherwise it shows up as unreachable code.
Rework cannon reloading:
- Don't start reloading if we have no ammo
- Cancelling a reload restarts reload progress
merge naval_update to cannon_code
Fix mouse aiming with the cannon
Setup cannon pitch rotation, fix client side ammo display not resetting.
Add another pref for disabling the companion server
Lower yaw/pitch clamps on the cannon
Add cannon admin fire command, fix ballista admin reload using hardcoded ammo types (use available ammo types instead)
Add a way to disable rcon in editor prefs (Edit -> Preferences... -> Facepunch -> General)
Cannon work in progress, basic firing/reloading based on ballista.