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

35 commits

Author SHA1 Message Date
Rich
8bc4de3528
Merge V2.1.1 release (#3)
* Mouse can now be used to fully navigate menus

* Added check for driver's current vehicle when releasing from Stop waypoint in case the ped is not in a vehicle.

* Lines are now only drawn between waypoint markers under the same conditions that waypoint markers are drawn

* Updated marker position to be player's mouse position

* Version update

* Added logic to update waypoint position during driving task if the waypoint position was changed before the driver arrived.

* Removed unused usings.  Refactored debug statements to use Game.LogTrivial instead of Logger.Log

* Removed class

* Removed Logger class

* Consolidated all custom enums to this class.  Added default waypoint settings from .ini

* Modified a hint message

* Fixed collector options not being enabled/disabled when Collector box is checked

* Refactored AITasking into CollectedVehicle.

* Updated reference to vehicle tasking based on AITasking refactor.  Fixed speed zone radius not updating correctly.

* Version update

* Refactored AITasking into CollectedVehicle

* Added check for CollectorRadius being more than SpeedZoneRadius.  Added debug messages when values are reset to default.

* Added hint message if player tries to edit waypoints while 3D waypoints are disabled

* Fixed a bug where a 3D waypoint marker would be drawn even if 3D waypoints were disabled

* Removed unnecessary property setting when a vehicle is being removed from a path.

* Added a check for if the driver loses their task and reassigns it.

* Fixed a bug where the 3D line between waypoints was still being drawn even though 3D waypoints were disabled in the settings menu.

* Updated version

* Added console command to show info about collected vehicles.

* Added ConsoleCommand class, removed AITasking class.

* Removed class after refactoring into CollectedVehicle

* Update README.md

* Update README.md

* Added ini setting for Advanced Barrier Options.  Added enum for TrafficLight state.  Added debug message for invalid barriers.

* Updated version

* Added MousePositionInWorld and RNUIMouseInputHandler classes

* Fixed a crash when a collected ped is arrested.

* Refactored to implement RNUIMouseInputHandler class.

* Removed unused method.

* Updated version

* Disabled deletion/creation of shadow barrier and re-enabled updating position based on mouse position.

* 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.

* Removed unused variable

* Renamed some methods to improve clarity

* Updated version.
2020-11-26 07:41:22 -07:00
Rich Dunne
cda8c31f43 Waypoint object now handles vehicle collection. 2020-10-17 07:12:18 -06:00
Rich Dunne
7ee307f8e6 Commented out unnecessary logging for release 2020-10-15 14:52:50 -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
d36c7fb012 Refactored variable/object references to reflect changes in path creation/edit waypoint menus. 2020-10-10 15:52:48 -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
0a2ef225ef Added condition to increase path marker height when directing a driver 2020-10-04 15:31:06 -06:00
Rich Dunne
4cb8c10569 Fixed waypoints being highlighted when they shouldn't be 2020-09-27 07:44:15 -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
139a1a4163 Added collectorRadius to new blip parameter when waypoint is updated to collector 2020-09-22 14:25:25 -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
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
7aedb19090 Removed unnecessary code and updated references. 2020-09-14 12:23:48 -06:00
Rich Dunne
d7fd0c5ee4 Refactored how waypoint marker is drawn. 2020-09-13 03:00:52 -06:00
Rich Dunne
27d4b5c39a Updated path reference based on CollectedVehicle refactoring. 2020-09-07 20:26:35 -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
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
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
0f70f4d001 Increased marker alpha from 80 to 100 2020-08-31 06:37:07 -06:00
Rich Dunne
54c2bd8c12 Added separate menu option for collector waypoint speed zone. 2020-08-30 10:05:58 -06:00
Rich Dunne
f75e4f299e Removed unused using statement 2020-08-24 09:14:40 -06:00
Rich Dunne
0c2f9134da Fixed world speedzone not updating correctly when waypoint is updated 2020-08-24 09:12:28 -06:00
Rich Dunne
d71d7ba275 Updated waypoint Collector field name to IsCollector 2020-08-23 15:42:35 -06:00
Rich Dunne
0dc3b19bc2 Refactored with more encapsulation, better protection for class fields 2020-08-20 15:31:10 -06:00
Rich Dunne
f4c1c0c693 Mid-refactor 2020-08-18 19:00:29 -06:00