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

30 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
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
5ddcf3aead Added DismissOption.FromPlayer condition 2020-10-10 20:09:23 -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
0da63a655a Adjusted distance value for collection and dismissal of vehicles 2020-10-05 05:22:52 -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
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
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
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
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
c141396d64 Updated public methods and properties to internal 2020-09-14 13:20:31 -06:00
Rich Dunne
8d52f31ea2 Changed Game.LogTrivial reference to Logger.Log 2020-09-14 12:13:41 -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
07dcc46abb Refactored AssignPropertiesFromDirectedTask method, added Dismiss method. Added a second constructor 2020-09-13 02:59:47 -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
b619e48650 Added Driver property 2020-09-03 17:50:10 -06:00
Rich Dunne
a052aefc8a Removed unused Redirected property 2020-08-25 20:56:15 -06:00
Rich Dunne
96b535675c Preparing to remove Redirected property as part of Direct Driver refactor 2020-08-24 20:13:01 -06:00
Rich Dunne
6a6b8b5492 Refactored fields and properties 2020-08-20 19:29:56 -06:00
Rich Dunne
c48d1ea8ed Renamed ControlledVehicle object and class to CollectedVehicle 2020-08-20 08:47:28 -06:00
Renamed from SceneManager/Object Classes/ControlledVehicle.cs (Browse further)