#These look like the best things since

1 messages ยท Page 1 of 1 (latest)

slow sparrow
#

Eventually part of GME

obsidian stream
#

I see, I thought that might be the mod. Thanks

thin tendon
#

Interesting.
Is there a specific reason why you give each A.I. it's own group?
To prevent them from using their "Return to formation" behavior and leaving the garrison position?
Also they need to spawn inside of the building to get it work?

slow sparrow
# thin tendon Interesting. Is there a specific reason why you give each A.I. it's own group? T...

Is there a specific reason why you give each A.I. it's own group?
To prevent them from using their "Return to formation" behavior and leaving the garrison position?
Yeah, that's exactly why. Every A.I. also gets its own defend waypoint with a small radius. I bet it could be somehow done with a single group and a waypoint with a custom BT, but I haven't gone into BT modding so far, so this was the easiest solution for me. Ofc we could collaborate if you would like to come up with such a BT ๐Ÿ˜‰

Also they need to spawn inside of the building to get it work?
Not sure what you're implying. I'm literally just trying to replicate the instant garrison module from Zeus Enhanced/Achilles

thin tendon
#

Well the "Return to formation" behavior can be bypassed pretty easy.
The behavior tree is called "Idle_ReturnToFormation.bt".
Instead of using the group formation position you simply use the garrison position so A.I. will always stay where they are.
Thing is you would also need to modify combat move and investigate behavior.
I'm already doing something very similar with the "Hold position" of CRX.
Like keeping A.I. at a specific position all the time.

What i mean with spawn inside of the building.
Back in A2/A3 A.I. would garrison buildings if within 100m to a building.
So you could place them close to a building and they would move into the closest building and occupy different positions instead of teleporting.
Sure if you like me to get involved i'm up to the task. ๐Ÿ‘

slow sparrow
#

Yeah, search building is a different feature. That should rather be a waypoint than a context action tbh.

#

As for the BT, what I can provide for you as input from my side is the array of positions to occupy and the preferred directions to watch.

thin tendon
slow sparrow
#

Yeah, that would be great. They just shouldn't be able to move around more than like in a radius than 3 m or something like that. Hence, move a bit in the building, but not being able to leave it.

#

That's what I was aiming for with the individual defend waypoints

thin tendon
#

Yeah should be doable. ๐Ÿ‘

slow sparrow
thin tendon
#

Okay thank's. ๐Ÿ‘
I will check and try to get something done at the weekend.
You like me to use git or should i create a new project and you take what you need?

slow sparrow
#

Up to you. You can make a fork and PR or just send the modified project as a zip

thin tendon
#

Okay.
Guess i will go zip. ๐Ÿ˜„

slow sparrow
#

Either way don't forget to add yourself to AUTHORS.txt, so we finally have a first contributor ๐Ÿ˜„

thin tendon
#

Will do. ๐Ÿ™‚

wide portal
#

Is the garrison mod still forcing AI into odd positions? Has it been fixed?

slow sparrow
#

Best see for yourself ๐Ÿ˜