branchwiseguys/main/Workingcancel
446 Commits over 153 Days - 0.12cph!
Remove old DEBUG_STACK_LEAK compilation define in project settings
Give cops and dealers the higher tier weapons + fix another pistol name bug
Stop bots from hitting themselves + simplify IsPartOfShooter now that we don't use motor colliders anymore
Fix coroutine error when bot players die during a server tick where they also shoot
Reduced drug dealer HP from 1500 to 1000.
Added limit to payphone number length
Fixes proxy player recoil/shake, which weren't being applied to eye direction. CharacterEys script is now also on proxy players. Unfortunately this fix is pretty much useless for now since characters currently don't animate up/down aim while shooting.
Extra script for dealer AI. Didn't end up using it.
Give drugs as an editor bonus item by default, and more cash
Flipped the door hinges on row house 2, so that players will naturally tend to exit out the front, instead of out the back
Cloned pistol and m4 and made lower tier versions. Should probably switch them so that the low tier are the defaults though...
Kicking new connections where the IP already exists.
Dealers now return to their spots after being bumped out (by vehicles usually)
Had a user report on discord of NPCs seemingly failing to path after being blocked in with vehicles, and subsequently unblocked. Have done various tests and everything seems to be working well, so this commit is just adding a little extra visual debug info.
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