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

189 commits

Author SHA1 Message Date
Rich Dunne
628120f5f2 Removed IsInCollectedVehicles method. Added code to DeletePath method for vehicles stopped at a waypoint. Refactored directDriver and dismissDriver options. 2020-09-13 02:57:26 -06:00
Rich Dunne
5d3d90bfe7 Removed DebugGraphics.LoopToDrawDebugGraphics method from trafficAddWaypoint 2020-09-13 02:55:09 -06:00
Rich Dunne
6456f43b99 Updating the only waypoint in a path must now be a collector waypoint. 2020-09-13 02:54:03 -06:00
Rich Dunne
1b9a3b4ceb Updated reference to PathMainMenu.DeletePath method 2020-09-13 02:52:16 -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
935bd1eb37 Updated references based on Barrier class refactoring. 2020-09-07 20:28:55 -06:00
Rich Dunne
4b68e12606 Added null checking method. Updated references based on CollectedVehicle refactoring. Fixed performance issue with vehicle's at stop waypoint. 2020-09-07 20:28:24 -06:00
Rich Dunne
8fb6f33ffb Updated references based on CollectedVehicle refactor. 2020-09-07 20:27:22 -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
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
ad2ef2c4a8 Changed vehicle collectinon distance to be less than collector radius. Removed unused code. 2020-09-07 08:52:20 -06:00
Rich Dunne
b7b9cf3f8f Added guard clause function for null checks 2020-09-07 08:51:19 -06:00
Rich Dunne
a87ac5ffdc Fixed marker radius not matching blip scale 2020-09-07 08:50:53 -06:00
Rich Dunne
b79aacac98 Fixed marker marker radius not matching blip scale 2020-09-07 08:50:39 -06:00
Rich Dunne
1225cb5514 Changed plugin attribute from Test Build to Release Candidate 2020-09-07 00:05:01 -06:00
Rich Dunne
dfbf027b0f Added null check for collectedVehicle in DriveVehicleToNextWaypoint 2020-09-07 00:04:41 -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
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
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
ac10c987ac Added State and SpeedUnits enums to the class. Added code to save settings from the settings menu to plugin's .ini file 2020-09-06 14:28:45 -06:00
Rich Dunne
2f6956be20 Updated reference names based on refactorings. Added break condition for Draw3DWaypointOnPlayer if player leaves the pathCreationMenu. 2020-09-06 14:28:06 -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
1bb4f2d750 Added menu options to enable/disable map blips, as well as save settings to the plugin's .ini file 2020-09-06 14:26:09 -06:00
Rich Dunne
a4e85eab51 Updated reference names based on refactorings. Added check during waypoint blip creation whether blips are enabled in order to set the correct blip.Alpha 2020-09-06 14:25:21 -06:00
Rich Dunne
6941f26141 Removed unused using statements 2020-09-06 14:23:30 -06:00
Rich Dunne
6321fce313 Renamed togglePath checkbox item to disablePath 2020-09-06 14:23:18 -06:00
Rich Dunne
e756ecb60f Renamed togglePath checkbox item to disablePath 2020-09-06 14:22:06 -06:00
Rich Dunne
0320497fde Preparing to remove VehicleDismissed function 2020-09-06 09:22:41 -06:00
Rich Dunne
82590778d3 Added IsSirenSilent to try and fix emergency vehicles turning on their sirens upon dismissal 2020-09-06 09:22:19 -06:00
Rich Dunne
57d998b606 Refactored for better encapsulation 2020-09-06 09:21:45 -06:00
Rich Dunne
f770a6298f Fixed DismissDriver, attempted to fix emergency vehicle sirens turning on when dismissed 2020-09-06 09:20:34 -06:00
Rich Dunne
1d2e64ff88 Moved World.SpeedZone code to Waypoint class, updated references from refactoring 2020-09-06 09:19:54 -06:00
Rich Dunne
7513326e46 Moved World.SpeedZone code to Waypoint class 2020-09-06 09:19:10 -06:00
Rich Dunne
af57fd791e Refactored reference names 2020-09-05 14:08:07 -06:00
Rich Dunne
d177b624cd Removed debugGraphics parameter from LoopToDrawDebugGraphics method. 2020-09-05 14:07:54 -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
30ff396e0d Refactored reference names 2020-09-05 14:06:17 -06:00
Rich Dunne
2581ce666d Removed parameter from DebugGraphics.LoopToDrawDebugGraphics method. 2020-09-05 14:06:01 -06:00
Rich Dunne
801eca2cb2 Refactored reference names, removed unused code. 2020-09-05 14:05:30 -06:00
Rich Dunne
6b2cb588cb Refactored reference names for easier readability. Added event handler for OnIndexChanged on editWaypoint scroller item as a part of drawing the marker for the waypoint currently being edited. 2020-09-05 14:04:01 -06:00
Rich Dunne
beeafcb6a0 Speed radius can now no longer be less than collection radius. 2020-09-04 19:55:55 -06:00
Rich Dunne
c40f2e13a5 Removed unused using statements 2020-09-04 04:35:49 -06:00
Rich Dunne
1738708e32 Removed 0.5 multiplier from radiuses 2020-09-04 04:35:22 -06:00
Rich Dunne
7c28d2dddd Excluded flares from being reset 2020-09-04 04:34:40 -06:00
Rich Dunne
268bcc4ca6 Fixed AI driving around vehicles stopped at Stop waypoints. 2020-09-03 17:52:28 -06:00
Rich Dunne
046bfbd599 Fixed collector radius not matching marker radius 2020-09-03 17:51:36 -06:00