Rich Dunne
|
5686363cb6
|
Fixed speed zones being added on non-collector waypoints. Fixed speed zone being created at the player's position instead of the waypoint's position. Added function to remove waypoint blips and speed zone.
|
2020-10-05 06:12:57 -06:00 |
|
Rich Dunne
|
87e1b591f4
|
Moved waypoint removal code to the Waypoint class
|
2020-10-05 06:11:47 -06:00 |
|
Rich Dunne
|
4d305aea15
|
Directed vehicles are now dismissed properly from their paths and re-collected.
|
2020-10-05 05:49:11 -06:00 |
|
Rich Dunne
|
0da63a655a
|
Adjusted distance value for collection and dismissal of vehicles
|
2020-10-05 05:22:52 -06:00 |
|
Rich Dunne
|
0a2ef225ef
|
Added condition to increase path marker height when directing a driver
|
2020-10-04 15:31:06 -06:00 |
|
Rich Dunne
|
e2924db25f
|
Changed vehicle collection radius from 1.5x collector radius to 2x. This should match the dismissal check radius
|
2020-10-04 15:30:04 -06:00 |
|
Rich Dunne
|
5d8256b53c
|
Commented debug message for vehicle dismissal
|
2020-10-04 15:29:20 -06:00 |
|
Rich Dunne
|
04758b3a45
|
Disabled assigning tasks in DriveToWaypoint loop. This fixed vehicles not being dismissed on plugin termination, but not sure if there is still a reason we needed to re-assign the tasks in a loop.
|
2020-10-04 14:49:59 -06:00 |
|
Rich Dunne
|
5f0fb16160
|
Removed dead code
|
2020-10-04 14:49:06 -06:00 |
|
Rich Dunne
|
bf8985179d
|
Renamed some functions, added more logging. Reset directed vehicle properties before tasking.
|
2020-10-04 13:57:44 -06:00 |
|
Rich Dunne
|
70b0adbf8e
|
Commented out potentially useless code checking vehicle's distance to nearest collector upon dismissal.
|
2020-10-04 13:53:31 -06:00 |
|
Rich Dunne
|
334ec2358c
|
Organized code into local functions within DeletePath. Deleted duplicate speed zone removal code. collectedVehicle is now dismissed when directed to another path in order to remove them from their current path.
|
2020-10-04 13:52:52 -06:00 |
|
Rich Dunne
|
3367e1a682
|
Restructured termination code
|
2020-10-04 13:48:08 -06:00 |
|
Rich Dunne
|
2523f8eb10
|
Reconfigured some conditionals in an attempt to fix nullref exceptions
|
2020-10-02 05:41:01 -06:00 |
|
Rich Dunne
|
14378211b6
|
CreateWaypointBlip is now a local function and not referenced elsewhere
|
2020-10-01 06:05:05 -06:00 |
|
Rich Dunne
|
6ce58a7d8e
|
Added local function to create waypoint blip for Add As New Waypoint
|
2020-10-01 06:04:40 -06:00 |
|
Rich Dunne
|
06777aa928
|
Added null check in driver creation
|
2020-10-01 05:52:44 -06:00 |
|
Rich Dunne
|
4cb8c10569
|
Fixed waypoints being highlighted when they shouldn't be
|
2020-09-27 07:44:15 -06:00 |
|
Rich Dunne
|
cf0aa75644
|
Fixed an issue where dismissing a vehicle from the last waypoint of a path was not working
|
2020-09-26 08:38:01 -06:00 |
|
Rich Dunne
|
13d22d218d
|
Added PrefersSingleInstance attribute
|
2020-09-25 15:43:15 -06:00 |
|
Rich Dunne
|
59d85e72a8
|
Fixed vehicle being incorrectly dismissed from path when user dismissed them from waypoint
|
2020-09-25 15:43:01 -06:00 |
|
Rich Dunne
|
35d7595f6a
|
Added condition to display taller markers if edit path is hovered
|
2020-09-25 15:41:38 -06:00 |
|
Rich Dunne
|
e554039e03
|
Removed unnecessary code pertaining to dismiss from waypoint
|
2020-09-25 15:41:10 -06:00 |
|
Rich Dunne
|
a833ab63d4
|
Commented out vehicle dismissal debug message to stop log spam
|
2020-09-24 04:14:03 -06:00 |
|
Rich Dunne
|
eba20888e0
|
Renamed VehicleAndDriverNullChecks to VehicleAndDriverAreValid for better readability.
|
2020-09-24 04:13:35 -06:00 |
|
Rich Dunne
|
da1dd590f7
|
Added null check for vehicle in game fiber loop following unstucking a vehicle
|
2020-09-24 04:12:44 -06:00 |
|
Rich Dunne
|
6247294039
|
Added check in vehicle dismissal loop for valid vehicle. Added code to remove dismissed vehicles from collection.
|
2020-09-23 05:21:11 -06:00 |
|
Rich Dunne
|
bbdcab048f
|
Changed dismissal loop timer to 1 minute
|
2020-09-22 14:53:28 -06:00 |
|
Rich Dunne
|
2922102409
|
Added function to loop while the path exists checking for vehicles which need to be dismissed for cleanup
|
2020-09-22 14:49:54 -06:00 |
|
Rich Dunne
|
7688768d9b
|
Updated check when deleting vehicle to include all occupants, not just driver
|
2020-09-22 14:40:24 -06:00 |
|
Rich Dunne
|
c7ef4ab52d
|
Added guard clauses to return/continue if collected vehicle is dismissed/skipping waypoint. Added check in LoopWhileDrivingToWaypoint to ensure vehicles are driving to the correct position if a waypoint position was updated.
|
2020-09-22 14:26:28 -06:00 |
|
Rich Dunne
|
139a1a4163
|
Added collectorRadius to new blip parameter when waypoint is updated to collector
|
2020-09-22 14:25:25 -06:00 |
|
Rich Dunne
|
d684d57cb2
|
Added loop to ensure driver is deleted before the vehicle upon dismiss from world
|
2020-09-22 14:24:59 -06:00 |
|
Rich Dunne
|
64c7afed14
|
Added loop to ensure driver is deleted before the vehicle is deleted upon dismiss from world
|
2020-09-22 14:24:07 -06:00 |
|
Rich Dunne
|
77bf3750bb
|
Added condition for IsValidForCollection that the vehicle's engine is on. Added loop checking for vehicle driver after a driver has to be created
|
2020-09-21 11:32:08 -06:00 |
|
Rich Dunne
|
b3ca91e7a7
|
Fixed collector radius blip changing size on update when the player did not change the size in the menu. Added nullref checks for blips in updating the blip position.
|
2020-09-21 11:31:16 -06:00 |
|
Rich Dunne
|
03d18f621f
|
Added functions to update path blips and path numbers when a single path is deleted.
|
2020-09-21 11:30:21 -06:00 |
|
Rich Dunne
|
55af040a6b
|
Increased maximum waypoint speed from 80 to 100
|
2020-09-21 11:29:26 -06:00 |
|
Rich Dunne
|
58a09087ee
|
Fixed collector radius blip updating position to player's position when waypoint's position is not updated
|
2020-09-20 13:17:37 -06:00 |
|
Rich Dunne
|
077854ffc1
|
Slightly increased distance check for getting vehicles near collector waypoints
|
2020-09-20 12:59:17 -06:00 |
|
Rich Dunne
|
5ad6e61973
|
Added more null ref checks. Refactored initial task assignment to take into account whether a vehicle was Directed
|
2020-09-20 12:58:32 -06:00 |
|
Rich Dunne
|
fb433612a3
|
Set default values for optional constructor parameters. Added null check to UpdateDrivingFlag method
|
2020-09-20 12:57:27 -06:00 |
|
Rich Dunne
|
64587347d7
|
Added Directed property and set all initial bool properties to false. Refactored Dismiss function.
|
2020-09-20 12:56:06 -06:00 |
|
Rich Dunne
|
4b4f596024
|
Added Model property and set all properties to get only
|
2020-09-20 12:55:07 -06:00 |
|
Rich Dunne
|
5fe643ea42
|
Refactored dismiss driver options. "From position" is replaced with "From world"
|
2020-09-20 12:54:09 -06:00 |
|
Rich Dunne
|
561b8f3a21
|
Fixed waypoints not updating correctly when adding a new collector waypoint
|
2020-09-20 12:53:16 -06:00 |
|
Rich Dunne
|
91e154a866
|
Refactored to allow barriers to be respawned if they were deleted outside of the plugin
|
2020-09-20 12:52:32 -06:00 |
|
Rich Dunne
|
ca6a272276
|
Added WaitForCompletion to VehicleManeuver.GoForwardWithCustomSteeringAngle and cleared tasks afterwards to try and fix vehicles rarely getting stuck with this task.
|
2020-09-17 16:12:12 -06:00 |
|
Rich Dunne
|
454918f011
|
Changed alpha of all markers to 100
|
2020-09-17 16:11:19 -06:00 |
|
Rich Dunne
|
53caddcc44
|
Added null check for removing nearest barrier
|
2020-09-17 16:11:08 -06:00 |
|