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

68 commits

Author SHA1 Message Date
Rich Dunne
b760192024 Drivers now block permanent events upon collection 2020-10-10 07:31:47 -06:00
Rich Dunne
a68de1d56a Fixed vehicles being dismissed prematurely when directed from one path to another. 2020-10-10 07:29:39 -06:00
Rich Dunne
dcbf52c6bd Added SetPersistence method to set vehicle and driver persistence when a vehicle is collected. 2020-10-08 05:55:15 -06:00
Rich Dunne
159f7d28a3 Refactored Dismiss function to use local functions for each type of dismissal 2020-10-07 05:01:00 -06:00
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
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
5d8256b53c Commented debug message for vehicle dismissal 2020-10-04 15:29:20 -06:00
Rich Dunne
5f0fb16160 Removed dead code 2020-10-04 14:49:06 -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
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
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
da1dd590f7 Added null check for vehicle in game fiber loop following unstucking a vehicle 2020-09-24 04:12:44 -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
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
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
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
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
454918f011 Changed alpha of all markers to 100 2020-09-17 16:11:19 -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
47a5ea5879 Set default state of EnableWaypointMarker to true, fixed DrawWaypointMarker not working correctly 2020-09-14 14:45:38 -06:00
Rich Dunne
c141396d64 Updated public methods and properties to internal 2020-09-14 13:20:31 -06:00
Rich Dunne
e173d9da0c Updated methods from public to internal 2020-09-14 13:19:28 -06:00
Rich Dunne
7aedb19090 Removed unnecessary code and updated references. 2020-09-14 12:23:48 -06:00
Rich Dunne
02a603ad15 Removed unnecessary code and updated references. 2020-09-14 12:15:34 -06:00
Rich Dunne
8d52f31ea2 Changed Game.LogTrivial reference to Logger.Log 2020-09-14 12:13:41 -06:00
Rich Dunne
eb52aee317 Removed unnecessary code 2020-09-14 12:13:01 -06:00
Rich Dunne
480ef8975f Removed unncessary code, updated references. 2020-09-14 12:02:20 -06:00
Rich Dunne
8c3752a483 Adjusted distance check to nearest waypoint when dismissed. 2020-09-13 04:49:52 -06:00
Rich Dunne
d7fd0c5ee4 Refactored how waypoint marker is drawn. 2020-09-13 03:00:52 -06:00
Rich Dunne
435fce3c15 Added DrawLinesBetweenWaypoints method. 2020-09-13 03:00:07 -06:00
Rich Dunne
07dcc46abb Refactored AssignPropertiesFromDirectedTask method, added Dismiss method. Added a second constructor 2020-09-13 02:59:47 -06:00
Rich Dunne
27d4b5c39a Updated path reference based on CollectedVehicle refactoring. 2020-09-07 20:26:35 -06:00
Rich Dunne
394538eb26 Refactored fields/properties for better encapsulation. Replaced int path with Path object. 2020-09-07 20:24:26 -06:00
Rich Dunne
754bac2949 Refactored fields/properties for better encapsulation. 2020-09-07 20:23:53 -06:00
Rich Dunne
b79aacac98 Fixed marker marker radius not matching blip scale 2020-09-07 08:50:39 -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
0d6f5ae51a Updated reference names based on refactorings. Added conditions for blip opacity based on whether map blips are enabled in settings. 2020-09-06 14:27:22 -06:00
Rich Dunne
beddfe4223 Moved State enum to Settings class. Added checks for blip opacity based on whether map blips are enabled in settings 2020-09-06 14:26:42 -06:00
Rich Dunne
57d998b606 Refactored for better encapsulation 2020-09-06 09:21:45 -06:00
Rich Dunne
022097211c Added DrawMarkerForEditWaypoint method and _enableWaypointMarker bool. 2020-09-05 14:07:26 -06:00
Rich Dunne
9a18c529cc Changed PathNum to Number 2020-09-05 14:06:38 -06:00
Rich Dunne
1738708e32 Removed 0.5 multiplier from radiuses 2020-09-04 04:35:22 -06:00
Rich Dunne
046bfbd599 Fixed collector radius not matching marker radius 2020-09-03 17:51:36 -06:00
Rich Dunne
97314a2cde Removed unused code. Fixed blip opacity not being restored to normal when the path is re-enabled 2020-09-03 17:50:57 -06:00