branchwiseguys/main/Workingcancel
446 Commits over 153 Days - 0.12cph!
Add testmap_smallest to build settings
Fix for players not setting their character selection on the client if they quit and re-join with their character alive
PlayerVoiceRecorder NRE fix
Fix CLIENT/SERVER defines
Fixed voice chat getting stuck on.
Append [MAX] in a couple of places if potential prison sentence is at max
Reverting - it broke mouse capture.
Fixed OnBecomeActive being called twice even time UI opens (fixed double crime list entries).
Working on fixing up the crime log UI
Showing crime UI prison time in game time, to match others
Sorted out issues with duplicate crime detection
Crimes UI now super efficient
Added a chat bubbles for chat.
Now ignoring duplicate crimes of some sorts, so e.g. firing your weapon several times in a row won't mean 5x weapon discharge crimes stacking up
Made injuring with a gun a worse/scarier/more dangerous crime than injuring with fists or other melee weapon. Punching someone is not the same as shooting them.
Merge in new police arrest feature
NetworkEntity props now add to the KD tree and get culled appropriately, albeit in a slightly clunky way.
Fixed incorrect message on gang buildings in Cyka Blyat mode. Ended up fixing up a whole bunch of out-of-date unit purchase code, since things are pretty different now with how doors/locks/buying works. Updated gangs to use the new unit purchase system as well, in case we ever bring them back. Removed some unused code.
Merge in the latest from Main
Remove Budbox and Metho-o-matic
Cops now react to being punched from behind.
Fixed UI notification on the server, and made sure it doesn't come from the wrong side again.
Adjusted Grid LOD size on maps - fixes prison at wrong LOD issue. It was outside the grid.
Merge prison branch work into Working
Added hud element for bank cash
Starting cash now gets added to bank
Added a shit load of balancing...
Merge in confiscating items while in prison (and confiscating drugs permanently). No fines just yet.
Add a csproj file for Facepunch.Stream so that plugins can build again.
Prison time now counts down only when the user is physically alive and in a prison.
Define the prison area in scene data
PlayerComponents now inherit the Owner from the parent WiseguysUser. Fixed RPC Owner messages that weren't getting though.
Refactored "IsInPrison" flag + extra fixes.