4,794 Commits over 762 Days - 0.26cph!
- Minor polish pass on some front turret behaviour
- Restored AI on rear turret, front turret still needs a little work so I can't merge yet
- Fully client predict the front turret (new system allows me to get away with this)
- Front turret lerps to the reconcile point rather than setting it (feels like crap otherwise)
- Restored seat updates
Rewrote the reload system
Strip back all of the turret code:
- Simpler prediction/reconcilliation
- Got everything back to working again (except reloads)
- Support for both turret types as usual
- Lerp state rather than trying to force it (feels way better to aim with)
- Only calculate time different once (states times dont line up)
- Store states in local time instead
- Of course we have to add the time difference offset (in order to find the right state), not take away
- More conversions in places there shouldn't be any
- use aliased angles in aiming snapshot, not old values
Don't reconcile with present states
- Dont mix local pivot angles and global pitch/yaw angles
- Full rewrite of angle processing code
- Cleanup Client + Server prediction code: create one unified method
Send right first server snapshot time
Only show crosshair when not using sights (front turret)
Only bother reconcilling when firing or reloading (like the ballista), active prediction is proving bothersome with the waves
Increase lerp states from 6 to 12
Extra protection to on cl_attack and on cl_reload
naval_update -> pt_boat_turrets
scientist_boat_ai -> naval_update
Fixed scientists dying on boat spawn
- Combination of forcing the boats to spawn slightly slower down in the water, as well as sleeping ai on spawn
scientist_boat_ai -> naval_update
Ensure front turret is playing the front turret animation
- Set boats to kinematic for spawning sequence
- Rename rhib_spacingRadius to rhib_radius
- Codegen
- Fix inverted margin and spacing values on the deep sea rhibs - was causing the spawning values to be totally wrong and spawning rhibs at the corners with barely any on the map
- Remove useless logs
Only try and ram occasionally
- add spawnrhibgrouphere to test group spawning and try and replicate scientist kill bug
- try spawning boats lower in the water plane
- spawn relative to the correct water height (including waves)
- Force the boyuancy system to wake up when the ai takes over (try and stop the boats from drowing all the scientist on spawn)
- Better boat positioning
- Add more bouyancy points to the pt boat (rear was a nightmare)
- Wake up the boats from further away
- Convar to spawn boat groups together
Evaluate water height at water positions and spawn y at that rather than possibly under water
naval_update -> scientist_boat_ai
scientist_boat_ai -> naval_update
spawn setting change again
Better scientist boat spawn settings
scientist_boat_ai -> naval_update
Swapped turret animations from the playables system to the regular playables animator
Ensure AI play reload and shoot animations when on the turrets
Dont allow ai turrets to move if ai.move is false
Dont move scientist boats if Ai.Move is false
Change scientist boat spawn edge margin from 300 -> 900
Early exit out our update loop if there are no connections inside a large radius
naval_update -> scientist_boat_ai
pt_boat_turrets -> naval_update
Can't try to fire whilst reloading
Masked out the rear 50 cal turret body animation
Force seat position updates on the front turret. Gets around any of the weird pivoting with the player going closer to one or the other side of the turret
Fix another screwed up pivot on the front turret
Fix slightly off player pivot on front turret
- Stop being able to aim off at high angles at the extreme clamps of the turret. Require gun forward to be sort of aligned with correct forward direction
- Reduce front turret sensitivity
Fix front turret rotation clamping not working properly at offset boat rotations
Wait until we have 6 interpolator states before allowing non predicted turrets to lerp
Don't use pre-existing rotation as the intial client pitch/yaw - this causes snapping on the front turret when you were jumping on
scientist_boat_ai -> naval_update
Fix muzzle flash not spawning at the right location for the right pt boat turret
scientist_boat_ai -> naval_update