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

92 commits

Author SHA1 Message Date
Rich Dunne
6d7e6a625d Removed dead code. 2020-11-27 15:06:39 -07:00
Rich Dunne
fb0da69583 Added collection for blacklisted vehicles. Added checks for vehicle drivers who have In Progress task statuses or are already persistent. Vehicles with drivers who have these attributes get blacklisted and will be ignored by collector waypoints. 2020-11-26 16:40:06 -07:00
Rich Dunne
f71d9b523b Added debug message regarding driver task being updated upon waypoint position change 2020-11-26 16:37:08 -07:00
Rich Dunne
8baf70831c Renamed some methods to improve clarity 2020-11-26 07:37:46 -07:00
Rich Dunne
e2d9c93e95 Added check for Driver's current vehicle in driving loop in case the Driver exited Vehicle at some point. Adjusted some guard clause logic and log messages. 2020-11-12 19:21:31 -07:00
Rich Dunne
f0af9b6207 Fixed a crash when a collected ped is arrested. 2020-11-08 11:08:40 -07:00
Rich Dunne
d819c1b82b Fixed a bug where the 3D line between waypoints was still being drawn even though 3D waypoints were disabled in the settings menu. 2020-10-25 08:40:45 -06:00
Rich Dunne
667bea553d Added a check for if the driver loses their task and reassigns it. 2020-10-25 08:40:17 -06:00
Rich Dunne
a187d8bac9 Updated reference to vehicle tasking based on AITasking refactor. Fixed speed zone radius not updating correctly. 2020-10-24 07:47:09 -06:00
Rich Dunne
ebf8884842 Refactored AITasking into CollectedVehicle. 2020-10-24 07:46:40 -06:00
Rich Dunne
1788264977 Updated marker position to be player's mouse position 2020-10-23 06:24:30 -06:00
Rich Dunne
adf40c25ec Lines are now only drawn between waypoint markers under the same conditions that waypoint markers are drawn 2020-10-23 06:23:50 -06:00
Rich Dunne
0af97e2b2d Added check for driver's current vehicle when releasing from Stop waypoint in case the ped is not in a vehicle. 2020-10-23 06:22:52 -06:00
Rich Dunne
68b2fc46b7 Re-ordered IsValidForCollection check for possible optimization 2020-10-19 06:12:40 -06:00
Rich Dunne
ead8b3b759 Moved waypoint collection code to Path object 2020-10-18 19:38:49 -06:00
Rich Dunne
cda8c31f43 Waypoint object now handles vehicle collection. 2020-10-17 07:12:18 -06:00
Rich Dunne
072d19d643 Path object now has it's own list of collected vehicles. 2020-10-17 07:11:59 -06:00
Rich Dunne
066395666c Refactored for new DismissOption and Path object now handling lists of collected vehicles 2020-10-17 07:11:28 -06:00
Rich Dunne
7ee307f8e6 Commented out unnecessary logging for release 2020-10-15 14:52:50 -06:00
Rich Dunne
080701b0b1 Removed DismissOption.FromDirect 2020-10-11 15:01:32 -06:00
Rich Dunne
57a65e9031 Fixed blip colors not updating correctly when a waypoint is updated. Fixed 3D waypoints not drawing when the setting is disabled then re-enabled. Fixed a crash when blip setting is disabled then re-enabled. 2020-10-11 14:59:46 -06:00
Rich Dunne
69cf4a8cd3 Adjusted driving style flags. Updated references to driving flag property 2020-10-10 20:09:47 -06:00
Rich Dunne
5ddcf3aead Added DismissOption.FromPlayer condition 2020-10-10 20:09:23 -06:00
Rich Dunne
d36c7fb012 Refactored variable/object references to reflect changes in path creation/edit waypoint menus. 2020-10-10 15:52:48 -06:00
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