Commit Graph

200 Commits

Author SHA1 Message Date
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
Dan
e9de5dbcfb More comments! 2019-12-07 20:32:10 +00:00
Dan
d49b45f084 Bit of cleanup 2019-12-07 19:24:20 +00:00
Dan
91cafab7f9 Version checking 2019-12-07 19:16:19 +00:00
Dan
d27ccbf1f5 Removed version strings from files 2019-12-07 18:38:58 +00:00
Dan
67585f037a More comments, fixed remote opening in non-emergency vehicles 2019-12-07 18:13:13 +00:00
Dan
1fe6d4ef29 Removed debugging print statements 2019-12-06 09:46:37 +00:00
Dan
3177e02b6f State fix for Lua side 2019-12-06 09:31:07 +00:00
Dan
4184138e24 Temp fix for opp not working properly 2019-12-05 18:56:55 +00:00
Dan
3784f023a2 Updated config with new keys, changed control manager to use config 2019-12-04 11:37:28 +00:00
Dan
c457ab288f Reduced max ray distance again, changed min sphere radius size 2019-12-04 10:18:22 +00:00
Dan
e783d659a1 Update cl_radar.lua 2019-12-04 10:12:02 +00:00
Dan
eab35a740a Moved functions around, reduced CPU msec a bit 2019-12-04 10:11:17 +00:00
Dan
4b316e7c62 Radar display now hides when needed 2019-12-03 22:10:29 +00:00
Dan
abf5881792 Extra trace now that the system runs better! 2019-12-03 19:49:38 +00:00
Dan
95478e7c32 Either strongest or fastest speed can be locked 2019-12-03 19:20:05 +00:00
Dan
d4770391a5 Removed rest of radar stage code 2019-12-03 15:18:53 +00:00
Dan
95fd11ed21 Removed old stage code from RADAR:Main(), changed thread wait 2019-12-03 14:48:44 +00:00
Dan
4ae2fe41b1 Trying to optimise trace system, dynamic wait time, speed setting 2019-12-03 14:09:38 +00:00
Dan
3373d57410 Speed lock beep, testing out no radar stages 2019-12-02 19:46:37 +00:00
Dan
d7b5aef587 Speeds can now be locked 2019-12-02 19:09:22 +00:00
Dan
0c365bcb0c Removed old debug code 2019-12-02 16:20:01 +00:00
Dan
1cc5c46832 Changed default ray lengths, changed default antenna sensitivity 2019-12-02 13:47:36 +00:00
Dan
798254d2aa Beeps can now be turned off 2019-12-02 13:15:26 +00:00
Dan
cbdf907ad8 Update cl_radar.lua 2019-12-02 13:13:06 +00:00
Dan
93a808897b Redone dir function, started lock functionality, 2019-12-02 13:12:52 +00:00
Dan
d80c0634eb Updated sounds again, added done.ogg 2019-12-01 21:44:54 +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
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
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