Core: Added way to alternate paths - PathSettings #582
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
during runtime based on the given
Requirements
list.Many requested this feature, #432, #459, #577
Most of the path related settings move to a new class called
PathSettings
.I kept the old path related settings in
ClassConfiguration
for backward compatibility. However from those old values a newPathSettings
is created to ensure both ways are supported.At this stage there are not many
Requirement
to choose from. So added the followingsFor more details please read the Readme file, starting from the
Path
section.Note: The Path Editor only works with the first
ClassConfiguration.Paths
for now.Media:
Frontend Changes:
Path Selector Changes
For each Path there's a corresponding Path Selector component to override the base path. In this instance there are 3 paths.
GoapGoalView Changes
For each path there's a corresponding
FollowRouteGoal
where the Requirements are visibleClass Configuration Tab Changes
For each path there's a corresponding
PathSettings
, mostly to changePathThereAndBack
andPathReduceSteps
Raw Values Tab Changes
Session Stats added.
Route Component Changes
It shows the last actively used Path, also updates the symbol which is driven by the
PathSettings.PathThereAndBack
Bug Introduced: