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

22 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
d2b091a565 Modified hint notification layout 2020-10-18 19:38:06 -06:00
Rich Dunne
22dac470b7 Invalid shadow barrier object now displays a message and returns. 2020-10-16 12:57:35 -06:00
Rich Dunne
8bbb30e072 Added check for if shadowBarrier is invalid after creation 2020-10-15 14:51:42 -06:00
Rich Dunne
f25da3e307 Barrier menu width now adjusts to fit scroller item text 2020-10-11 14:57:57 -06:00
Rich Dunne
91e154a866 Refactored to allow barriers to be respawned if they were deleted outside of the plugin 2020-09-20 12:52:32 -06:00
Rich Dunne
53caddcc44 Added null check for removing nearest barrier 2020-09-17 16:11:08 -06:00
Rich Dunne
89771ab3df Refactored some private functions to local functions, updated public functions to internal. 2020-09-14 13:16:49 -06:00
Rich Dunne
70ef7a6596 Updated TracePlayerView distance value to reference BarrierPlacementDistance from Settings class. 2020-09-14 12:00:45 -06:00
Rich Dunne
de6169101f Shadow barrier will now only appear while the barrierList or rotateBarrier menu items are selected. Reset Barriers code fixed for road barrel w/ base object. 2020-09-13 02:51:46 -06:00
Rich Dunne
1aa94a0d50 Resetting barriers now removes the old barrier and spawns a new one at the original position/heading. Made it so you can no longer spawn barriers on top of other barriers 2020-09-07 20:23:27 -06:00
Rich Dunne
55056cc1f3 Added ability for users to provide their own barriers in the .ini 2020-09-07 00:04:20 -06:00
Rich Dunne
36a04f94c7 Fixed flares resetting when they weren't supposed to by referencing the correct model name. 2020-09-06 22:08:20 -06:00
Rich Dunne
7c28d2dddd Excluded flares from being reset 2020-09-04 04:34:40 -06:00
Rich Dunne
24b3eae6a7 Fixed value reference for when Barrier menu options are enabled/disabled based on shadow cone distance to player 2020-08-31 06:31:45 -06:00
Rich Dunne
3f5ce3aace Added "Reset Barriers" option to menu 2020-08-30 15:33:28 -06:00
Rich Dunne
646498bbc5 Added settings option for configurable barrier placement distance 2020-08-30 09:55:38 -06:00
Rich Dunne
a7fd140e1f Created new Hints class. Implemented Hints.Display method. Added option to SettingsMenu to enable/disable hints in-game. 2020-08-26 19:16:28 -06:00
Rich Dunne
99cb039797 Fixed flares spawning upright 2020-08-26 18:35:45 -06:00
Rich Dunne
2d08f9e2b5 Changed selectable menu item text color to Gold. Updated rotation step to 10 2020-08-24 10:12:24 -06:00
Rich Dunne
fe72d5daf8 Updated menu references based on MenuManager refactor 2020-08-20 18:57:20 -06:00
Rich Dunne
f4c1c0c693 Mid-refactor 2020-08-18 19:00:29 -06:00