Commit Graph

100 Commits

Author SHA1 Message Date
Dan
57732159ce Directional arrows now work 2019-11-29 11:12:41 +00:00
Dan
8f3b07b0a2 Update cl_radar.lua 2019-11-29 09:50:06 +00:00
Dan
962340d4e9 Vehicle data sending optimised and automated 2019-11-29 09:44:25 +00:00
Dan
f0c8a4a086 All speed zones displayed, 'HLd' shown when in hold 2019-11-27 21:23:33 +00:00
Dan
7872f6453f JS switch/case, xmit light, speed display setting, reduced player vehicle check rate 2019-11-27 20:41:46 +00:00
Dan
f404890e10 Button click events set, antenna mode set working 2019-11-27 11:24:33 +00:00
Dan
9585ce5851 Update cl_radar.lua 2019-11-26 20:25:06 +00:00
Dan
1eef251ce8 Remote const structure, test speed display 2019-11-26 14:56:08 +00:00
Dan
21e9fc9b6b Remote opens on F5, closes on Esc, updated functions and other stuff 2019-11-26 10:56:52 +00:00
Dan
897ced6c2d Vehicle gathering only works if power is on and one of the antennas 2019-11-26 09:56:05 +00:00
Dan
79c82499f2 Testing reduced traces, added fast display toggle 2019-11-25 19:32:40 +00:00
Dan
823124fffa Added direction text to debug ui 2019-11-25 18:22:54 +00:00
Dan
348ee28ab6 Setup operator settings table 2019-11-23 19:01:36 +00:00
Dan
af256aedd2 Changed how active vehicles are obtained, removed anything to do with fast limit
Also removed user sorting
2019-11-21 21:42:55 +00:00
Dan
c1fa22cb04 Removed ceiling of vehicle sizes 2019-11-21 17:53:07 +00:00
Dan
8266033dcb Added radar power functions 2019-11-21 17:51:56 +00:00
Dan
224b583131 Update cl_radar.lua 2019-11-21 17:47:56 +00:00
Dan
8ff0662aa3 Updated file tagging, moved function 2019-11-18 21:16:21 +00:00
Dan
ca8791a039 Removed debug prints from lua file, updated frame.png to look more real and 3d 2019-11-18 12:19:42 +00:00
Dan
06bba92f0e Fixed number position, reduced speed zone border 2019-11-15 21:00:43 +00:00
Dan
f274f61b45 Re-added filtering duplicates, now keeps a duplicate if the rayType is different 2019-11-11 18:37:47 +00:00
Dan
883382ce76 Update cl_radar.lua 2019-11-11 18:27:40 +00:00
Dan
5c100f3774 Vehicle data is now split based on antenna mode, optimised some functions 2019-11-11 16:51:01 +00:00
Dan
d633b09104 Restructured cl_radar.lua to be more readable 2019-11-11 12:34:28 +00:00
Dan
1f587ca4f3 Update cl_radar.lua 2019-11-11 10:50:06 +00:00
Dan
a5a611cda1 Removed beep because it gets annoying 2019-11-11 09:53:29 +00:00
Dan
9dbb5acd93 Added a beep sound when vehicles are caught in the fast box 2019-11-10 21:47:18 +00:00
Dan
2425f2cefa Update cl_radar.lua 2019-11-10 20:30:02 +00:00
Dan
8cdd2d2f40 Added temporary UI 2019-11-10 19:08:09 +00:00
Dan
89c4c53757 Active vehicles caught by the radar can now be obtained! 2019-11-10 18:24:38 +00:00
Dan
e4e00557e6 Improved method for getting vehicles for display 2019-11-10 17:28:21 +00:00
Dan
13b013160c Added fastLimit var and setter/getter, removed test code 2019-11-10 16:39:02 +00:00
Dan
1e63bb6794 Now able to get the relevant vehicles for display
Also added debug keybinds to toggle antennas, 'Num 7' and 'Num 8'
2019-11-10 16:28:05 +00:00
Dan
e38f9f0123 Added a way for the opp radar mode to work, vehicle data now has the 'rayType' variable 2019-11-10 13:10:23 +00:00
Dan
bdf204cdbf Fixed GetFastestFrontAndRear() 2019-11-10 12:22:04 +00:00
Dan
83f2a5995b Started work on getting vehicles for the display 2019-11-09 22:14:42 +00:00
Dan
c639167e78 Fixed antenna setters 2019-11-09 21:31:10 +00:00
Dan
fc1bb31ac2 Added radar variable setters, more comments 2019-11-09 20:27:03 +00:00
Dan
dda30b6ed6 Changed the way debugging hits works 2019-11-09 18:20:22 +00:00
Dan
722b3742a2 Set up variables for antennas 2019-11-08 16:48:01 +00:00
Dan
f17d37cb70 Added UTIL:DebugPrint, removed redundant code 2019-11-08 16:30:06 +00:00
Dan
2197056be5 Added create thread back in
Works better now as the system doesn't run every frame like it used to
2019-11-08 16:07:38 +00:00
Dan
635c7a7467 Updated the marker for the current caught entity 2019-11-07 21:44:06 +00:00
Dan
1dd7f4047c Updated resource wait time and changed sorting function value 2019-11-07 21:27:23 +00:00
Dan
d1159e8c2c Updated some of the sort modes to be a bit more accurate 2019-11-07 20:31:17 +00:00
Dan
758940dc41 Updated sphere sizing wrappers, added new mode 2019-11-07 20:16:49 +00:00
Dan
4241e12cce Added sort mode wrappers 2019-11-07 19:47:36 +00:00
Dan
14e8ef06dd Removed ray vectors, updated speed convert, removed thread creation for ray traces 2019-11-07 19:39:31 +00:00
ScottUK
294c82cc73 Fixed misspellings. 2019-11-07 19:31:59 +00:00
Dan
c85098a207 Init 2019-11-07 18:44:24 +00:00