branchwiseguys/main/Workingcancel
343 Commits over 153 Days - 0.09cph!
Fixed error that occurred when helicopters that were purchased from the shop flew past the edge of the map.
Helicopter spawn point for testmap_smaller
Fixed heli collider layers, which fixes heli character vis issues.
Flickering, generally buggy character vis was caused by CullVisibleCharacters also checking triggers - for instance the interaction trigger capsule on characters. Unfortunately there is no QueryTriggerInteraction parameter for RaycastCommand, which we use for character vis checks. Instead, I've changed the global default to not query triggers, which disables trigger queries in RaycastCommand, and then combed through all existing physics commands to make sure they've got the right tigger setting (since many were using QueryTriggerInteraction.UseGlobal).
Refactored interactions. Should fix the null CurrentInteractor bug, and simplifies things overall.
Increase daily bank deposit limit to
15000
Merge the latest from Main
Increase helicopter drag a bit
More serer/client check on drug dealer
Drug dealers now handle corp merges
Inverted vehicles now take damage and eventually explode.
Character state from the server is not a diff! Fixing this fixes character jittering when they jump out of a helicopter, which was caused by IsGrounded having the wrong value on the client.
Raise helicopter height limit a bit
Adjust gold vehicle physics, less twitchy now
Made a default car a little slower
Persistent Testing mode NPCs off by default
More efficient calculation of max bounds, and makes it a sphere instead of a box.
Reduce max distance from 2500 to 1000, putting it inside the water area.
Reduced all damage multipliers to 1/10th, and increased all damage 10x. Everything should be exactly the same, but now the stated damage that something does can be considered its real damage. Items and vehicles all have a 1x damage multiplier. Lowest human hitbox multiplier is also now 1x, with more for headshots etc.
Fix bugs with how explosion damage was calculated + explosion mask edit.
Fix interaction crosshair transparency
Removed helicopter spawn points
Prevent helicopter going above a preset height limit, but reducing power with altitude.
Update heli controls texture to match Bill's controls edit
Reduced helicopter drag when falling, unoccupied.
Adjust heli visuals - larger main window
Helicopters testing and working. Merging my branch in.
Cherry pick explosion mask fix
Fix HP label flicker by fading out more slowly.
Fixed HP bar not always hiding when it should
Adjusted pistol animation. Muzzle flash and eject shell events were around the wrong way on the Fire1 anim. Firing quickly could end up resetting the animation before the muzzle flash event (which also played the firing sound!) was triggered, leaving the shot silent and flashless. Muzzle flash now happens earlier in the anim. Feels more snappy as well.
[user request] Console can now be opened by ` as well as F1. Added input field validation so ` doesn't register as invalid input.
Prevent users causing intentional drug dealer wars by making all DDs allies.
Update Lot Purchase interaction text and Lot Purchase UI to show correct green/red state for corp purchases in Cyka Blyat
Revert my roof fix, added explanation comment
Removing most of my ghost check logs. None of them ever triggered except for the ones that I've left in, one of which successfully busts (destroys) ghosts.
Improved comment on gun injury crime thing
Bill F pointed out that some async requests were doing way more than they need to. Simplified them here where possible.
Remove accidental copy-paste comment