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

109 commits

Author SHA1 Message Date
Rich Dunne
526ff83f90 Replaced waypoint type scroller item with checkboxes. Rearranged order of some menu items. 2020-10-10 15:52:14 -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
0ad0136c3a Vehicle and driver persistence is now set when a vehicle is collected, inside the CollectedVehicle class. 2020-10-08 05:45:42 -06:00
Rich Dunne
5a36a3582a Changed GetNearbyVehicles param value to max for getting nearby driver in directDriver option 2020-10-07 05:06:44 -06:00
Rich Dunne
f0a5fb6d80 Fixed vehicle and driver persistence not being set after dismissal/before recollection 2020-10-07 05:00:29 -06:00
Rich Dunne
87e1b591f4 Moved waypoint removal code to the Waypoint class 2020-10-05 06:11:47 -06:00
Rich Dunne
4d305aea15 Directed vehicles are now dismissed properly from their paths and re-collected. 2020-10-05 05:49:11 -06:00
Rich Dunne
334ec2358c Organized code into local functions within DeletePath. Deleted duplicate speed zone removal code. collectedVehicle is now dismissed when directed to another path in order to remove them from their current path. 2020-10-04 13:52:52 -06:00
Rich Dunne
14378211b6 CreateWaypointBlip is now a local function and not referenced elsewhere 2020-10-01 06:05:05 -06:00
Rich Dunne
6ce58a7d8e Added local function to create waypoint blip for Add As New Waypoint 2020-10-01 06:04:40 -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
64c7afed14 Added loop to ensure driver is deleted before the vehicle is deleted upon dismiss from world 2020-09-22 14:24:07 -06:00
Rich Dunne
03d18f621f Added functions to update path blips and path numbers when a single path is deleted. 2020-09-21 11:30:21 -06:00
Rich Dunne
55af040a6b Increased maximum waypoint speed from 80 to 100 2020-09-21 11:29:26 -06:00
Rich Dunne
5fe643ea42 Refactored dismiss driver options. "From position" is replaced with "From world" 2020-09-20 12:54:09 -06:00
Rich Dunne
561b8f3a21 Fixed waypoints not updating correctly when adding a new collector waypoint 2020-09-20 12:53:16 -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
2241e107de Removed GetPaths() method from PathMainMenu and updated references to paths list. 2020-09-15 13:49:10 -06:00
Rich Dunne
5ae4a13f2b Moved some variable assignments back into their build menu method. 2020-09-14 16:42:51 -06:00
Rich Dunne
d29e38f25c Refactored menu item initializations, updated public methods to internal 2020-09-14 14:48:00 -06:00
Rich Dunne
d60c9ff105 Refactored menu item initializations, updated Game.LogTrivial calls to Logger.Log, updated public methods to internal 2020-09-14 14:47:37 -06:00
Rich Dunne
de3aade534 Refactored menu item initializations, updated Game.LogTrivial calls to Logger.Log, refactored SetDriveSpeedForWaypoint as local function 2020-09-14 14:47:05 -06:00
Rich Dunne
4dbe037cdd Refactored menu item initializations, updated Game.LogTrivial calls to Logger.Log 2020-09-14 14:46:43 -06:00
Rich Dunne
514211dd96 Updated public methods and properties to internal, changed Game.LogTrivial calls to Logger.Log 2020-09-14 13:23:03 -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
02a603ad15 Removed unnecessary code and updated references. 2020-09-14 12:15:34 -06:00
Rich Dunne
480ef8975f Removed unncessary code, updated references. 2020-09-14 12:02:20 -06:00
Rich Dunne
530686a8b2 Removed menu option to adjust barrier placement distance and removed any references for it. 2020-09-14 12:01:28 -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
af2476bb2f Extracted Draw3DWaypointOnPlayer method to PathMainMenu for when a new path is created. Removed referencs to DebugGraphics class 2020-09-14 11:30:14 -06:00
Rich Dunne
d6fd840333 Adjusted menu descriptions and colors 2020-09-13 04:49:04 -06:00
Rich Dunne
08115a871b Removed DebugGraphics.LoopToDrawDebugGraphics reference. 2020-09-13 02:58:19 -06:00
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
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
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
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
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
f770a6298f Fixed DismissDriver, attempted to fix emergency vehicle sirens turning on when dismissed 2020-09-06 09:20:34 -06:00