Open ghost opened 6 years ago
The "strategies" (I prefer goals as a more apt name) might need certain data members, the opcodes related to characters (listed below) outline roughly what behaviours are required to get scripts working.
Variants should be used to store the data for goals and activities, I'm not sure virtual inheritance is adding anything here.
I'm hoping that someone with more experience with GTA can outline how the animation/activity state machine would work best. Are the activities directly observing the animation state?
Beyond characters there are opcodes for vehicle navigation, these will need to be handled in some way too.
Character AI should take a different approach, using top-down objectives over the rather messy Activity system currently in use.
This is slightly more important after #683, the lack of response to melee attacks is quite obvious.
There's a lot of work to do: -Path-finding (for example A*) -new activities in vehicles -Different behavior and place of occurrence for different pedestrians etc..
But before that, (I think that) ai folder needs to be rewritten. My idea is unite DefaultAIController.and PlayerController. Class controller would contains 3 data members:
What do you think?