|
Post by saltysal on Jun 19, 2020 0:11:15 GMT
Hi guys,
I'm attempting to make my enemies vault over windows into the play area, and I'm having issues with the current system. I'm using an FSM AI to bring the enemy to the window, and I was using an AI Send Message script to make the enemy jump over the window to enter the play area.
The problem is that the enemy doesn't always successfully jump inside, and he'll be stuck outside if he doesn't succeed the first time. (I'm using the JumpOver animation provided by Invector to achieve the proper animation.) When I studied the JumpOver prefab from the locomotion package, I noticed that the controller does a good deal of things like matching the animation to a position, allows a tolerance to angle the animation correctly, etc. However, this functionality requires a vThirdPersonController in order to function properly, which my AI doesn't have.
Has anyone ran into a similar issue? Did you port the functionality from the vTriggerGenericAction, or did you create your own solution?
|
|
|
Post by saltysal on Jun 19, 2020 21:13:19 GMT
If anyone has a similar issue, I ended up porting over the functionality from Trigger Generic Action (it wasn't too bad, just have to generalize the controller references).
I still don't know how to mark these questions as resolved... if anyone can help me that'd be great!
|
|
|
Post by rustychicken on Jun 19, 2020 22:35:51 GMT
Yes, I can’t figure out how to make my AI jump, climb up, climb ladders... been having some issues with it as well.
|
|
|
Post by saltysal on Jun 20, 2020 0:07:44 GMT
rustychicken, for the AI jump, you can look at FSM_AI_Examples. The second section makes the enemies jump. (They use an off mesh link on the AI chars)
|
|
|
Post by rustychicken on Jun 20, 2020 0:45:49 GMT
Thanks, will take a look as soon as I finish these mutant prefabs I am working on. I always bake in off mesh links but couldn’t get them to chase me up a ladder.
|
|
|
Post by komposite on Jun 22, 2020 7:38:02 GMT
If anyone has a similar issue, I ended up porting over the functionality from Trigger Generic Action (it wasn't too bad, just have to generalize the controller references). I still don't know how to mark these questions as resolved... if anyone can help me that'd be great!
If you could share this, I think it would make more than 1 person happy
|
|
|
Post by Daezalus on Sept 29, 2021 23:51:37 GMT
If anyone has a similar issue, I ended up porting over the functionality from Trigger Generic Action (it wasn't too bad, just have to generalize the controller references). I still don't know how to mark these questions as resolved... if anyone can help me that'd be great! Hey SaltySal, in what way did you generalize the controller references? Did you need to port both the Generic Action as well as the Trigger Generic Action, and then edit the vActionListener script to accomodate both? Or did you just edit the existing scripts without creating new ones for the AI?
I've tried to do this twice now with no avail, so any nuggets of enlightenment would be mightily appreciated!
|
|