2,811 Commits over 1,918 Days - 0.06cph!
Fixed a shitty build only bug with network entities in buildings.
Fixed proxy players sending damage to the server. Only the owner client should actually send bullet damage, or else every person observing two proxy players shoot each other would have them send damage to the server, multiplying the damage done.
Merging in vehicle collision update.
Improved vehicle movement/interpolation issues when they first activate. Not perfect but good enough.
Fixed issues with how bullets work:
- Tigger colliders used to stop bullets. Not anymore.
- Shooting from too close to someone used to ignore and shoot past them. Not anymore.
Just need Paul's car collider update as well to make shooting car passengers work perfectly.
- Held items can now be marked as AllowUseWhileDriving. Default is false.
- Vehicle automatically puts away invalid items being held when entering, and tries to select a valid one from the player's belt instead.
- Currently unselectable items in the player's belt are tinted red and partially transparent.
Animations updating correctly on owner
Enable animations on invisible players - needed to move the player's hitboxes.
Auto-select pistol when entering vehicle, if it's available in your belt
Aligned client hitbox default
Fixed visual aim angles on proxy not matching actual aim angles
Don't need to adjust car FOV anymore. Set out-of-car view angle up to 170.
Increased look angle clamping.
Adjusting FOV a bit when in vehicles.
Vehicles have some loose ends to tie up but are pretty solid. Merging in.
fixed the in vehicle aiming animations so they better portray the direction the player is actually looking at.
updated player in car animations to allow horizontal rotations of -135 and 135
Player now moves correctly along with vehicle rotation when inside
Some small spawning fixes.
Disabling damage to players in vehicle again for now. Coloured "enter as driver" green.
Working on players in vehicles. Not exactly correct at the moment, but it's stable enough for a release.
Show proxy players in vehicles. Version number display. Prevent interaction properly while in vehicles.
Fixed mouse getting unlocked after window lost focus
Added a really basic version number with display on the main screen.
Just increased MAX_PROXY_TIME_DELAY since we have no extrapolation ability.
Added documentation comments for posterity
Added console commands getbuf setbuf
Fixed vehicle seat merge issue
Plastic made me merge all in the last commit, just reverting this bay window I didn't mean to touch
Merging vehicle updates - multiple seats with driver/passengers, player models in cars
Merging in vehicle camera smoothness branch.
Vehicle movement smoother/more accurate on client
Disabling some car camera code when not needed.
Fixed vehicle exit bug, and fixed issues with vehicle entry/exit in CLIENT+SERVER mode. Renamed my test map.
Commented a few debug logs that might get spammy
Doubled desired time buffer on interpolation from 20ms to 40ms.
Fixed shopUI not displaying correct cash amount