8,451 Commits over 2,131 Days - 0.17cph!
Showing crime UI prison time in game time, to match others
Sorted out issues with duplicate crime detection
Crimes UI now super efficient
Fixed a load of prefab editing bugs, generating collision meshes etc. on prefab save.
Buildings not have a good idea what's interior / exterior so that we can set culling for interiors.
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
More tweaks, tightening everything up...
optimised greybox building prefabs trianglecount
Get arrested and teleport to prison
NetworkEntity props now add to the KD tree and get culled appropriately, albeit in a slightly clunky way.
Working on usability stuff, generating collision etc. Basically a lot of the finishing touches etc. that are needed to make these buildings actually function in game.
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
Fix server NRE when NPCs are trying to use corp locks
Added daily limit variable and increased the limit to 2500
Added seperate icons for bank and cash in hud
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.
Cherry pick grid LOD fix so jail will show up correctly.
Adjusted Grid LOD size on maps - fixes prison at wrong LOD issue. It was outside the grid.
Merge prison branch work into Working
Added fines for crimes, but they won't take effect until we can arrest without killing players. Refactored taking cash in general, making code to take cash MUCH simpler in general. Some old code was even calculating change, which is unnecessary now that everything is $1 notes.
Created and added more placement blocking to stop bad placement. Worked through a few Unity bugs etc.
Added drag based editing and some placement blocking stuff.
Adjusted prison sentences
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.
Tweaked how fists are selected when items are removed. Also removed the ability to press a belt slot again to deselect an item. It was never particularly robust and caused issues with this new system (and I don't think it was needed - you can still select fists or an empty slot to put your gun away).
Tweaked how fists are selected when items are removed. Also removed the ability to press a belt slot again to deselect an item. It was never particularly robust and caused issues with this new system (and I don't think it was needed - you can still select fists or an empty slot to put your gun away).
When confiscated items are returned, they now go back to the correct slots in the correct item containers. Also changed how fists are auto-selected.