branchwiseguys/main/Workingcancel
446 Commits over 153 Days - 0.12cph!
NPC behaviour, stuck detection and vision edits
More wandering around while loitering
Messing with NPC speeds some more
Modified NPC base speeds - they needn't be in as much of a hurry as player characters. Walk a little more slowly by default, and run with a slightly different speed multiplier
Pedestrians walk a bit more slowly.
Fixed walk/run/crouch movement animation speed issues. Character animation speed should match actual move speed correctly now, even when they're faster/slower than "normal" speed.
Stopped all placement inside the basement floor
Fixed server load NRE issues.
cherrypicking the exploit fixes, wrong branch.
Merge from Main to Working
Quick hack for better loitering times
NPCs no longer spend money to buy drugs, so they don't run out of money either. +bugfix
Merge Points Of Interest branch into Working
Added IPlayerComponent as a base for PlayerComponent.
Minor fix for testmap_small alley.
Basic framework for NPC Points Of Interest
Cops no longer get guns out when doing non-violent arrests
Cops have to be facing you to arrest you
Fix pathing bug. Apparently we still need the area mask as paths points will otherwise be selectively ignored!
Random walk fallback using the new pathing system fixes bots always walking into the corner when in prison.
Fixed prison navmesh gen. Had the same issue as other buildings, where the nav gen sneaks through the gap between floors.
Skip welcome screen entirely when using Fast Countdowns.
Suppress the AssetUsageDetector warning for old prefab code. Should check the github for updates at some point. https://github.com/yasirkula/UnityAssetUsageDetector
Added AssetUsageDetector. Open it via Tools > Asset Usage Detector.
Changing up the corp menu
Added pagination to corp list
Fixed an NRE that occurred only on separate client/server, when a player died while in a vehicle while the vehicle was at the same moment colliding with another character.
Fixed issues with getting arrested while in a vehicle, and also fixed a bug with how characters were killed/destroyed when their vehicle was destroyed. Can now get arrested while in a vehicle if it's travelling at 1m/s (3.6km/h) or less.
Make IsInPrison a method instead of a property, so it's more obvious that it's doing something relatively significant (a bounds check)
Fines now take from your bank account first, inventory second
Still clear Wanted state in scenes with no prison
Crimes UI is more efficient now - letting it update more frequently.
Fixing some more tricky issues with connecting and reconnecting, main around reconnecting while dead.