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

266 commits

Author SHA1 Message Date
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
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