8,451 Commits over 2,131 Days - 0.17cph!
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
Editing / tidy for base component prefabs.
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).
Some minor general cleanup
sidewalk lod0 and lod1 and edges rework
Merge my interaction refactor + deposit limit increase
Refactored interactions. Should fix the null CurrentInteractor bug, and simplifies things overall.
Increase daily bank deposit limit to
15000
Merge the latest from Main
Deleted a load of old files, fixed up LODs etc. on defaults. Rebaked defaults using the tool.
Increase helicopter drag a bit
More serer/client check on drug dealer
Drug dealers now handle corp merges