Rich Dunne
|
7ee307f8e6
|
Commented out unnecessary logging for release
|
2020-10-15 14:52:50 -06:00 |
|
Rich Dunne
|
331aad38f8
|
Added loop to check if the player enters a collected vehicle, and dismiss it as a result.
|
2020-10-10 20:11:20 -06:00 |
|
Rich Dunne
|
86206688b4
|
AssignWaypointTasks now takes a Path parameter instead of a collection of Waypoints
|
2020-10-10 07:30:14 -06:00 |
|
Rich Dunne
|
b17135814c
|
Removed irrelevant comment
|
2020-10-08 06:15:48 -06:00 |
|
Rich Dunne
|
a3b553cbff
|
Remove SetVehicleAndDriverPersistence method now that it is handled by the CollectedVehicle class
|
2020-10-08 05:56:20 -06:00 |
|
Rich Dunne
|
0da63a655a
|
Adjusted distance value for collection and dismissal of vehicles
|
2020-10-05 05:22:52 -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
|
2523f8eb10
|
Reconfigured some conditionals in an attempt to fix nullref exceptions
|
2020-10-02 05:41:01 -06:00 |
|
Rich Dunne
|
06777aa928
|
Added null check in driver creation
|
2020-10-01 05:52:44 -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
|
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
|
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
|
077854ffc1
|
Slightly increased distance check for getting vehicles near collector waypoints
|
2020-09-20 12:59:17 -06:00 |
|
Rich Dunne
|
e173d9da0c
|
Updated methods from public to internal
|
2020-09-14 13:19:28 -06:00 |
|
Rich Dunne
|
24e9b51810
|
Updated log statements to use Logger class
|
2020-09-14 12:08:00 -06:00 |
|
Rich Dunne
|
fdd454783f
|
Made GetNearbyVehiclesForCollection a local function within LoopForNearbyValidVehicles. Removed condition regarding a deprecated TasksAssigned property.
|
2020-09-14 12:03:29 -06:00 |
|
Rich Dunne
|
66fe80380c
|
Adjusted vehicle collection LINQ argument from distance to collector waypoint < radius to <= radius.
|
2020-09-13 04:51:56 -06:00 |
|
Rich Dunne
|
354fb88b52
|
Refactored GetNearbyVehiclesForCollection LINQ conditions
|
2020-09-13 03:04:14 -06:00 |
|
Rich Dunne
|
27d4b5c39a
|
Updated path reference based on CollectedVehicle refactoring.
|
2020-09-07 20:26:35 -06:00 |
|
Rich Dunne
|
ad2ef2c4a8
|
Changed vehicle collectinon distance to be less than collector radius. Removed unused code.
|
2020-09-07 08:52:20 -06:00 |
|
Rich Dunne
|
0320497fde
|
Preparing to remove VehicleDismissed function
|
2020-09-06 09:22:41 -06:00 |
|
Rich Dunne
|
af57fd791e
|
Refactored reference names
|
2020-09-05 14:08:07 -06:00 |
|
Rich Dunne
|
c40f2e13a5
|
Removed unused using statements
|
2020-09-04 04:35:49 -06:00 |
|
Rich Dunne
|
268bcc4ca6
|
Fixed AI driving around vehicles stopped at Stop waypoints.
|
2020-09-03 17:52:28 -06:00 |
|
Rich Dunne
|
5da0176f10
|
Fixed vehicles being collected while they are too far from a collector waypoint (cause was the same function being called for two different purposes). Added temporary debug blips for missing drivers.
|
2020-08-30 10:08:39 -06:00 |
|
Rich Dunne
|
a103d9be67
|
Changed DistanceTo method to DistanceTo2D in GetNearbyVehicles
|
2020-08-27 15:56:29 -06:00 |
|
Rich Dunne
|
95f65c792c
|
Refactored collectedVehicles from Dictionary to List
|
2020-08-27 15:01:57 -06:00 |
|
Rich Dunne
|
0be10cb0ef
|
Fixed typo in valid vehicle check
|
2020-08-26 19:50:37 -06:00 |
|
Rich Dunne
|
c8874a5186
|
Added null checks for vehicles and drivers. Included valid vehicle check into GetNearbyVehicles method
|
2020-08-26 19:30:53 -06:00 |
|
Rich Dunne
|
338fa61c94
|
Added condition to give drivers to empty vehicles resulting from GTA V memory management
|
2020-08-26 16:15:49 -06:00 |
|
Rich Dunne
|
a052aefc8a
|
Removed unused Redirected property
|
2020-08-25 20:56:15 -06:00 |
|
Rich Dunne
|
689c5da8ec
|
Refactored TrafficPathing class into VehicleCollector and AITasking classes
|
2020-08-25 17:10:33 -06:00 |
|