1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-12 16:10:29 +01:00
Commit graph

17 commits

Author SHA1 Message Date
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
f2909ef6a8 Removed unnecessary else statements, changed Z-height for waypoint currently being edited. Added condition for drawing edit waypoint to ensure it's only changing the waypoint markers for the selected path. 2020-09-15 13:50:02 -06:00
Rich Dunne
9cf578f380 Changed public methods to internal 2020-09-14 13:17:14 -06:00
Rich Dunne
730e85fe3c Changed Game.LogTrivial references to Logger.Log. Changed LoopWhileDrivingToWaypoint methods to local functions 2020-09-14 12:33:34 -06:00
Rich Dunne
e58dc71113 Adjusted distance check of vehicle to waypoint position relative to waypoint's collector radius 2020-09-13 04:50:35 -06:00
Rich Dunne
a24350a435 Removed DismissDriver method. Refactored waypoint tasking. Experimenting with new braking distance formula. 2020-09-13 03:01:45 -06:00
Rich Dunne
4b68e12606 Added null checking method. Updated references based on CollectedVehicle refactoring. Fixed performance issue with vehicle's at stop waypoint. 2020-09-07 20:28:24 -06:00
Rich Dunne
b7b9cf3f8f Added guard clause function for null checks 2020-09-07 08:51:19 -06:00
Rich Dunne
dfbf027b0f Added null check for collectedVehicle in DriveVehicleToNextWaypoint 2020-09-07 00:04:41 -06:00
Rich Dunne
a816967255 Added new Drive-To mode (Direct) which allows the AI to drive on the wrong side of the road to the next waypoint. 2020-09-06 22:09:02 -06:00
Rich Dunne
82590778d3 Added IsSirenSilent to try and fix emergency vehicles turning on their sirens upon dismissal 2020-09-06 09:22:19 -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
18a49ed143 Tweaked AI driving flag values 2020-08-31 06:42:34 -06:00
Rich Dunne
98f7efe647 Added VehicleManeuver.GoForwardWithCustomSteeringAngle after each driving task to stop AI from braking at each waypoint. 2020-08-30 10:06:46 -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
689c5da8ec Refactored TrafficPathing class into VehicleCollector and AITasking classes 2020-08-25 17:10:33 -06:00