branchwiseguys/main/Workingcancel
446 Commits over 153 Days - 0.12cph!
Removed helicopter spawn points
Prevent helicopter going above a preset height limit, but reducing power with altitude.
Update heli controls texture to match Bill's controls edit
Tweaks, created a new faster, stronger, gold car.
Chopper uses roll as default and yaw as modifier. Has A LOT of health but the collision damage is also much higher.
Reduced helicopter drag when falling, unoccupied.
Adjust heli visuals - larger main window
Helicopters testing and working. Merging my branch in.
Cherry pick explosion mask fix
Fix HP label flicker by fading out more slowly.
Fixed HP bar not always hiding when it should
Adjusted pistol animation. Muzzle flash and eject shell events were around the wrong way on the Fire1 anim. Firing quickly could end up resetting the animation before the muzzle flash event (which also played the firing sound!) was triggered, leaving the shot silent and flashless. Muzzle flash now happens earlier in the anim. Feels more snappy as well.
[user request] Console can now be opened by ` as well as F1. Added input field validation so ` doesn't register as invalid input.
Prevent users causing intentional drug dealer wars by making all DDs allies.
Update Lot Purchase interaction text and Lot Purchase UI to show correct green/red state for corp purchases in Cyka Blyat
Revert my roof fix, added explanation comment
Removing most of my ghost check logs. None of them ever triggered except for the ones that I've left in, one of which successfully busts (destroys) ghosts.
Improved comment on gun injury crime thing
Bill F pointed out that some async requests were doing way more than they need to. Simplified them here where possible.
Remove accidental copy-paste comment
Fixed a double damage issue with bullets. Can now prevent double damage from hitbox + motor while also allowing a shooter to be assigned on C4 and so on, which only do server damage. So cops will shoot you if you hurt them with your C4 explosion, your C4 will actually do damage to the motor hit receiver, but your bullets won't. But bot and NPC bullets will.
Sort out client/server hit damage. Still need to test a bit more, maybe refactor a little.
Another rename for clarity
Rename IBulletShooter to IShooter
Updated C4 to simply throw on the server. Angle may be affected by lag if the player is turning their view while throwing.
Clean up warnings when in #CLIENT mode
Changed reloading to not fire from the client. Got rid of reload-specific methods as well and moved all reloading stuff out of the base HeldItem and into guns.
- console config saves when closing options.
- adjusting volume based on a log scale because db isn't linear.
Added the ability to override respawns to use a console variable.
Update held item use methods
Call HeldItem DoUpdate from both client and server. Set deployedtime differently so we don't need the base DoUpdate method.