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

272 commits

Author SHA1 Message Date
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
Rich Dunne
97314a2cde Removed unused code. Fixed blip opacity not being restored to normal when the path is re-enabled 2020-09-03 17:50:57 -06:00
Rich Dunne
b619e48650 Added Driver property 2020-09-03 17:50:10 -06:00
Rich Dunne
305aa22af2 Added more null checks 2020-09-03 17:49:54 -06:00
Rich Dunne
02c545e6a2 Changed blip colors to match waypoint marker colors 2020-09-03 17:49:38 -06:00
Rich Dunne
72f5a48201 Blips for new waypoints added to disabled paths via the edit waypoint menu will now have correctly transparent blips 2020-09-03 17:48:12 -06:00
Rich Dunne
fa38dc28e5 Changed speed zone radius options from 50m max with 1m increments to 200m max with 5m increments. 2020-08-31 06:43:15 -06:00
Rich Dunne
18a49ed143 Tweaked AI driving flag values 2020-08-31 06:42:34 -06:00
Rich Dunne
0f70f4d001 Increased marker alpha from 80 to 100 2020-08-31 06:37:07 -06:00
Rich Dunne
c185bed99f Moved Barrier.cs into Objects folder 2020-08-31 06:36:54 -06:00
Rich Dunne
a09bd08e7a Moved Barrier.cs into Object folder 2020-08-31 06:36:21 -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
75e1fbcc82 Updated barrier references as a result of new Barrier class 2020-08-30 15:35:26 -06:00
Rich Dunne
92c444e9ea Changed CreateWaypointBlip method from public to private 2020-08-30 15:34:56 -06:00
Rich Dunne
774a2801fc Created new Barrier class to store barrier information for the new Reset Barriers menu option. 2020-08-30 15:34:39 -06:00
Rich Dunne
d75229c83e Added new "Add As New Waypoint" menu option to edit waypoint menu 2020-08-30 15:34:11 -06:00
Rich Dunne
3f5ce3aace Added "Reset Barriers" option to menu 2020-08-30 15:33:28 -06:00
Rich Dunne
5da0176f10 Fixed vehicles being collected while they are too far from a collector waypoint (cause was the same function being called for two different purposes). Added temporary debug blips for missing drivers. 2020-08-30 10:08:39 -06:00