-
-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: v3 #120
Merged
Merged
Feature: v3 #120
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi @crashkonijn , do you have a roadmap or task tracker for all the items in this release (or any notes showing whats done vs whats to do)? I'm happy to help where able on the work intended for this version and to suggest other PRs along with it. |
Feature: capability builders
…s-warning Fix: multi sensor missing keys warning
…s-warning Fixed tests
Feature: Actions can now be (temporarily) disabled per action instead of action type
Feature: Implemented IActionRunstate.MayResolve logic
Update package version to 3.0.22-beta
Feature: turn based example
…d-0-breaking-resolver Fix: distance multiplier speed 0 breaking resolver
Update package version to 3.0.23-beta
chore: Updated sponsoring info
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Features:
Capabilities
. These are sub-sets of goals, actions and sensors.GoapSet
toAgentType
. This communicates it's purpose much better.AgentType
exists of a list of capabilities, which combined form all the goals, actions and sensors for the agent.IGoapController
, this manages the behaviour of how and when agents are resolved. Question: Possibility of override movement logic? #64IAgentTimers
to the agent.IActionRunState
in favor of theActionRunState
enum. Feature: More flexible options as the ActionRunState #117ContinueActionRunState
ContinueOrResolveActionRunState
StopActionRunState
CompletedActionRunState
WaitActionRunState
WaitThenCompleteActionRunState
WaitThenStopActionRunState
ActionRunState
class, which has static getters and methods that mimic the original situation.IActionProperties
class on an Action, similar toIActionData
. This enables configuring values for an action through code or the editor! Feature: Add possibility to configure actions better #72agent.DisableAction<TAction>()
oragent.EnableAction<TAction>()
. This will prevent the resolver from running this action and it's children.IsValid
method to actions. By default this will re-check the conditions to make sure they are still true. Will also check that aITarget
is present whenRequireTarget
is set to true in action config.End
,Stop
andComplete
methods are now optionalCrashKonijn.Agent.Core
: interfaces and enumsCrashKonijn.Agent.Runtime
: All implementationsCrashKonijn.Goap.Core
: interfaces and enumsCrashKonijn.Goap.Runtime
: All implementationsCrashKonijn.Goap.Resolver
: All resolver logic, not generally used by a userISensorTimer
interface.Fixes:
Chores:
CrashKonijn.Goap.Core
project.AgentBehaviour
run logic into separate class.Breaking changes:
CrashKonijn.Goap.Interfaces
toCrashKonijn.Goap.Core.Interfaces
.CrashKonijn.Goap.Enums
toCrashKonijn.Goap.Core.Enums
.Action.End
in favor ofAction.Stop
andAction.Complete
Feature: Complete on an action #119ActionRunState
is now in theCrashKonijn.Goap.Classes.RunStates
interface.OnTargetOutOfRange
toTargetNotInRange
for clarity.InRange
toStoppingDistance
for clarity.OutOfRange
toNotInRange
for clarity.agent.CurrentAction
,agent.CurrentActionData
andagent.RunState
have been moved toagent.ActionState.X
OnTargetLost
event is added in favor of callingOnTargetChanged
with nullExamples:
Generating classes
Capability editor
Mulit-sensor
Graph Viewer