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

234 commits

Author SHA1 Message Date
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
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 Dunne
66fe80380c Adjusted vehicle collection LINQ argument from distance to collector waypoint < radius to <= radius. 2020-09-13 04:51:56 -06:00
Rich Dunne
19409be1d9 Disabled test version message 2020-09-13 04:50:51 -06:00
Rich Dunne
e58dc71113 Adjusted distance check of vehicle to waypoint position relative to waypoint's collector radius 2020-09-13 04:50:35 -06:00
Rich Dunne
8c3752a483 Adjusted distance check to nearest waypoint when dismissed. 2020-09-13 04:49:52 -06:00
Rich Dunne
d6fd840333 Adjusted menu descriptions and colors 2020-09-13 04:49:04 -06:00
Rich Dunne
354fb88b52 Refactored GetNearbyVehiclesForCollection LINQ conditions 2020-09-13 03:04:14 -06:00
Rich Dunne
1a52badd04 Updated control hints to no longer specify "while on foot" 2020-09-13 03:03:02 -06:00
Rich Dunne
acadfed51e Removed reference to waypoint's DrawWaypointMarker method. 2020-09-13 03:02:34 -06:00
Rich Dunne
a24350a435 Removed DismissDriver method. Refactored waypoint tasking. Experimenting with new braking distance formula. 2020-09-13 03:01:45 -06:00
Rich Dunne
d7fd0c5ee4 Refactored how waypoint marker is drawn. 2020-09-13 03:00:52 -06:00
Rich Dunne
435fce3c15 Added DrawLinesBetweenWaypoints method. 2020-09-13 03:00:07 -06:00
Rich Dunne
07dcc46abb Refactored AssignPropertiesFromDirectedTask method, added Dismiss method. Added a second constructor 2020-09-13 02:59:47 -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