Commit Graph

213 Commits

Author SHA1 Message Date
Dan
af299c5aa5 Target speed line height fix 2019-12-01 22:04:04 +00:00
Dan
5479e93fd7 Swapped xmit_on.ogg and xmit_off.ogg 2019-12-01 22:03:47 +00:00
Dan
d80c0634eb Updated sounds again, added done.ogg 2019-12-01 21:44:54 +00:00
Dan
9409e938a9 Updated sounds 2019-12-01 21:14:26 +00:00
Dan
4841c7fcc5 Fix beep not working in menu 2019-12-01 20:27:45 +00:00
Dan
b62de933ad Beep volume setting 2019-12-01 20:04:58 +00:00
Dan
dafca61a63 More beeps 2019-12-01 19:55:10 +00:00
Dan
d0f4b2dbdb Test beep boops 2019-12-01 19:52:13 +00:00
Dan
50a2a74a52 End Y trace coordinate cached on setting change 2019-12-01 17:22:32 +00:00
Dan
6877d61267 Radar menu now opens and works properly
Settings configured in the menu also have an effect on the radar's operation, e.g. the antenna sensitivities effect the range.
2019-12-01 16:56:20 +00:00
Dan
227c25f340 Create ui.js 2019-12-01 13:32:47 +00:00
Dan
5f67fec726 Trying to optimise the trace system a bit by reducing trace tests on already hit vehicles 2019-12-01 00:47:44 +00:00
Dan
3718f697fb Fast vehicles have to be going faster than target vehicles now
I ideally didn't want to do this, to make it more realistic, but the fast box was just being spammed too much.
2019-11-30 23:13:06 +00:00
Dan
0c5bf69be6 Patrol speed change, update debug spheres, fast label changes 2019-11-30 22:56:53 +00:00
Dan
e34c24657d Fast label now activates when fast speed is present 2019-11-30 21:54:41 +00:00
Dan
ffe1e8e058 Radar power ternary statement 2019-11-30 21:44:38 +00:00
Dan
8d9ff824f4 Variable changes, altered size of dynamic spheres, changed xmit toggle behaviour 2019-11-30 21:37:25 +00:00
Dan
88da4310cb Added in debug spheres for active vehicles 2019-11-30 17:13:16 +00:00
Dan
cfed828311 Removed old sort mode variable and comment 2019-11-30 15:05:52 +00:00
Dan
36e582e596 Added var for when the menu is active 2019-11-30 15:05:15 +00:00
Dan
205aa6e917 Changed trace start point, added line drawing for debug 2019-11-30 15:03:44 +00:00
Dan
6a9d30f5e3 Power button on UI works, added simulated startup, extra ray trace 2019-11-29 23:12:50 +00:00
Dan
89bf3c08cf Removed old sorting code 2019-11-29 20:56:53 +00:00
Dan
e0af20ab40 Removed RemoveDuplicateCapturedVehicles() 2019-11-29 20:45:51 +00:00
Dan
cb6eccfa98 Number of rays cached again, added 1 additional trace for same mode 2019-11-29 20:44:04 +00:00
Dan
5bfdbef76a Cleaned up ray thread code a bit, swapped light if for inline if 2019-11-29 19:34:31 +00:00
Dan
55d33a74df Antenna modes now displayed, optimisations 2019-11-29 18:53:07 +00:00
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
3b0061bdf0 Antenna mode change for rear antenna 2019-11-27 11:33:18 +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
64e24ca9d6 Setup main element structure for JS, created main event listener 2019-11-26 09:43:47 +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
0f8cc055a8 Custom background for remote control 2019-11-24 23:27:01 +00:00
Dan
ddde4e72a5 Added 3d effect 2019-11-24 21:04:12 +00:00
Dan
94027b307e Completed main parts of remote control 2019-11-24 20:44:19 +00:00
Dan
ca608d6e62 Main antenna buttons added 2019-11-24 14:30:55 +00:00
Dan
974f995968 Update radar.css 2019-11-23 22:37:47 +00:00
Dan
4222dc9984 Started new remote control 2019-11-23 21:44:18 +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
49331dba75 Create .gitignore 2019-11-21 19:17:00 +00:00