Commit Graph

196 Commits

Author SHA1 Message Date
Dan
09147699a3 Operator menu settings now get saved 2020-03-12 14:44:10 +00:00
Dan
265090d5f1 Added networked event to open the remote 2020-03-12 09:53:25 +00:00
Ryan S
b0d0fbe1ea Add heading check
This is typically not something that is in a manual, but rather taught
in the certification class an officer takes to use radar (in the USA).
The further off the road they sit to run radar, or the more of an angle
that sit to traffic, the less accurate the return will be. Instead of
requiring users to know how doppler works, simplify it and just not
return the vehicle.

The original idea stemmed from https://www.quora.com/How-does-police-radar-work-when-officers-are-perpendicular-to-the-road
2020-03-11 23:02:08 -04:00
Dan
f678359fe6 Switched to local saving for UI data 2020-03-11 19:52:05 +00:00
Dan
d6526452bb Key bind set key now falls under the keylock 2020-03-06 10:08:47 +00:00
Dan
1e2578c877 Fix for capitalised resource names 2020-03-05 21:49:30 +00:00
Dan
d491dc50e4 1.0.0!
- Added a server export to toggle plate lock on a client
- Removed old and redundant code
- Added the licence to the top of every file
- Added a small section at the bottom of config.lua to set the default UI element scale, as well as the safezone
- Changed the height of the UI settings box to stop the slider and close button from overlapping
- Added the ability to disable server console messages
- Formatted all code to tab size 4!
2020-03-05 19:40:37 +00:00
Dan
b3e7e87a25 Fixed xmit and mode working when powering up 2020-02-28 22:51:45 +00:00
Dan
e8d6ab1689 Great Scott! 1955! 2020-02-28 22:38:10 +00:00
Dan
27455e51dd Operator menu defaults can now be set in the config 2020-02-27 16:13:16 +00:00
Dan
5580cc8745 Added a second set of binds for small keyboards
Also changed the key lock key to L, as the "switch binds" key is now K
2020-02-25 14:23:31 +00:00
Dan
3f41e5b8f8 Fixed menu button working when the power was off 2020-02-22 12:03:51 +00:00
Dan
a00b5417ef Added new plate hit BOLO sound 2020-02-19 09:34:55 +00:00
Dan
5b8695397b Added in separate option for plate reader audio 2020-02-18 18:06:34 +00:00
Dan
4c96e2dda4 Fixed keyboard only 2020-02-18 17:01:26 +00:00
Dan
fee5a569da Disabled controller, changed default volume 2020-02-18 15:15:29 +00:00
Dan
d6511b8b49 Comments and formatting 2020-02-18 14:04:52 +00:00
Dan
08819340a6 Removed debug mode stuff 2020-01-30 20:13:32 +00:00
Dan
257886fd0c Plate reader locking and BOLO, config change, slight JS cleanup 2020-01-30 14:53:22 +00:00
Dan
bf2230cf23 Plate text colour change and reduced changePlate call 2020-01-28 09:46:16 +00:00
Dan
04e6d86318 Basic plate reader working 2020-01-27 21:54:44 +00:00
Dan
957960588b UI settings now get saved and loaded 2020-01-21 20:50:30 +00:00
Dan
4e88a4ff34 Key lock label now says enabled/disabled instead of toggled 2020-01-09 10:00:36 +00:00
Dan
375d7a9354 Removed old debug code 2019-12-26 22:05:28 +00:00
Dan
c6c659d186 Changed sphere to infinite cylinder intersect, pitch check, changed some defaults 2019-12-26 22:02:45 +00:00
Dan
67897dcdcb Added in key lock 2019-12-23 00:24:18 +00:00
Dan
96ea422c22 Fixed lock audio using beep volume setting 2019-12-22 22:08:56 +00:00
Dan
9c90f16993 Added verbal lock confirmation 2019-12-20 17:24:49 +00:00
Dan
4dc7903704 Rewrote PLY table definition 2019-12-20 15:28:48 +00:00
Dan
84e721c57f Update cl_radar.lua 2019-12-17 12:38:01 +00:00
Dan
105efa71ad Revert "Update cl_radar.lua"
This reverts commit 7dc13baed8.
2019-12-17 12:36:51 +00:00
Dan
8c3058bf44 Revert "Update cl_radar.lua"
This reverts commit 2c03f755cd.
2019-12-17 12:36:42 +00:00
Dan
2c03f755cd Update cl_radar.lua 2019-12-17 12:34:32 +00:00
Dan
7dc13baed8 Update cl_radar.lua 2019-12-17 12:34:03 +00:00
Dan
abcb18d328 Update cl_radar.lua 2019-12-17 12:33:32 +00:00
Dan
03c9fbb953 Added the ability to have a fast limit 2019-12-16 21:31:42 +00:00
Dan
7ee98e9f64 Indentation 2019-12-16 20:30:40 +00:00
Dan
9d54180de8 Update cl_radar.lua 2019-12-16 20:26:10 +00:00
Dan
dc741a2d56 Fast label changes
When a speed is now locked, if the speed is a strong speed, then the fast label is not lit, if it is a fast speed then it stays lit.
2019-12-16 19:14:58 +00:00
Dan
35f7aac6cd Comment out debug stuff 2019-12-15 19:53:43 +00:00
Dan
c82e805a3a Use getters for locked speed and dir 2019-12-15 19:46:22 +00:00
Dan
cecc7688dd Renamed GetVehSpeedFormatted to GetVehSpeedConverted
Also, more comments
2019-12-15 19:41:04 +00:00
Dan
8ffad20767 Removed active vehicles, streamlined setting antenna data 2019-12-14 15:40:53 +00:00
Dan
4f5e87ae06 More comments again 2019-12-12 00:41:50 +00:00
Dan
1a2cd814e8 Additional fix for locking speeds, more comments 2019-12-10 21:21:39 +00:00
Dan
7558675210 Fixed speeds being locked when they shouldn't be 2019-12-10 00:37:55 +00:00
Dan
b14953bb2a Update cl_radar.lua 2019-12-10 00:27:35 +00:00
Dan
68397d55da Fixed radar UI opening in passenger seat 2019-12-10 00:26:50 +00:00
Dan
4c4305a1ec More comments, changed speed conversion method 2019-12-10 00:26:00 +00:00
Dan
0bb8df95c7 Comments 2019-12-07 23:40:59 +00:00