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

516 commits

Author SHA1 Message Date
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
77bf3750bb Added condition for IsValidForCollection that the vehicle's engine is on. Added loop checking for vehicle driver after a driver has to be created 2020-09-21 11:32:08 -06:00
Rich Dunne
b3ca91e7a7 Fixed collector radius blip changing size on update when the player did not change the size in the menu. Added nullref checks for blips in updating the blip position. 2020-09-21 11:31:16 -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
58a09087ee Fixed collector radius blip updating position to player's position when waypoint's position is not updated 2020-09-20 13:17:37 -06:00
Rich Dunne
077854ffc1 Slightly increased distance check for getting vehicles near collector waypoints 2020-09-20 12:59:17 -06:00
Rich Dunne
5ad6e61973 Added more null ref checks. Refactored initial task assignment to take into account whether a vehicle was Directed 2020-09-20 12:58:32 -06:00
Rich Dunne
fb433612a3 Set default values for optional constructor parameters. Added null check to UpdateDrivingFlag method 2020-09-20 12:57:27 -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
4b4f596024 Added Model property and set all properties to get only 2020-09-20 12:55:07 -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
ca6a272276 Added WaitForCompletion to VehicleManeuver.GoForwardWithCustomSteeringAngle and cleared tasks afterwards to try and fix vehicles rarely getting stuck with this task. 2020-09-17 16:12:12 -06:00
Rich Dunne
454918f011 Changed alpha of all markers to 100 2020-09-17 16:11:19 -06:00
Rich Dunne
53caddcc44 Added null check for removing nearest barrier 2020-09-17 16:11:08 -06:00
Rich Dunne
f2909ef6a8 Removed unnecessary else statements, changed Z-height for waypoint currently being edited. Added condition for drawing edit waypoint to ensure it's only changing the waypoint markers for the selected path. 2020-09-15 13:50:02 -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
3c636c1564 Merge branch 'Testing' of https://github.com/Ridunnekulous/SceneManager into Testing 2020-09-14 16:43:33 -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
9deec7d113 Updated plugin attributes 2020-09-14 15:01:53 -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
47a5ea5879 Set default state of EnableWaypointMarker to true, fixed DrawWaypointMarker not working correctly 2020-09-14 14:45:38 -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
c141396d64 Updated public methods and properties to internal 2020-09-14 13:20:31 -06:00
Rich Dunne
e173d9da0c Updated methods from public to internal 2020-09-14 13:19:28 -06:00
Rich Dunne
9cf578f380 Changed public methods to internal 2020-09-14 13:17:14 -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
730e85fe3c Changed Game.LogTrivial references to Logger.Log. Changed LoopWhileDrivingToWaypoint methods to local functions 2020-09-14 12:33:34 -06:00
Rich Dunne
7aedb19090 Removed unnecessary code and updated references. 2020-09-14 12:23:48 -06:00
Rich Dunne
02a603ad15 Removed unnecessary code and updated references. 2020-09-14 12:15:34 -06:00
Rich Dunne
8d52f31ea2 Changed Game.LogTrivial reference to Logger.Log 2020-09-14 12:13:41 -06:00
Rich Dunne
eb52aee317 Removed unnecessary code 2020-09-14 12:13:01 -06:00
Rich Dunne
66cfe95557 Removed code pertaining to Patreon verification 2020-09-14 12:11:44 -06:00
Rich Dunne
24e9b51810 Updated log statements to use Logger class 2020-09-14 12:08:00 -06:00
Rich Dunne
fdd454783f Made GetNearbyVehiclesForCollection a local function within LoopForNearbyValidVehicles. Removed condition regarding a deprecated TasksAssigned property. 2020-09-14 12:03:29 -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
3ebe712148 Created new Logger class to automatically display Trivial or TrivialDebug messages based on program's build state. 2020-09-14 11:31:30 -06:00
Rich Dunne
f200a7bf22 Replaced Game.LogTrivial calls with calls to new Logger class. 2020-09-14 11:30:52 -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
b67d4bdd50 Added #ifdebug preprocessor for test version subtitle message. 2020-09-14 10:52:01 -06:00
Rich
47653dfc47
Delete install.gif 2020-09-13 05:02:44 -06:00
Rich Dunne
68d558c9d7 Merge branch 'Testing' of https://github.com/Ridunnekulous/SceneManager into Testing 2020-09-13 04:52:40 -06:00
Rich Dunne
66fe80380c Adjusted vehicle collection LINQ argument from distance to collector waypoint < radius to <= radius. 2020-09-13 04:51:56 -06:00