AI Attachment Agent has broke all my mods
12 posts
Page 1 of 1
-
- Posts: 278
- Joined: Sun Dec 09, 2018 9:55 pm
AI Attachment Agent has broke all my mods
Clean log yesterday, updated to 1.4....get these errors
Missing ai agent attachment definition for attachable vehicle
Thanks Giants for breaking every single mod with this new XML entry,
Missing ai agent attachment definition for attachable vehicle
Thanks Giants for breaking every single mod with this new XML entry,
-
- Posts: 278
- Joined: Sun Dec 09, 2018 9:55 pm
Re: AI Attachment Agent has broke all my mods
If i knew what values to enter into the XML i could fix this...but no idea what values to enter ?
-
- Posts: 1875
- Joined: Fri Jun 22, 2018 5:57 pm
- Location: United Kingdom
Re: AI Attachment Agent has broke all my mods
You would have loved playing World of Warcraft. They patched and hot fixed the game on a regular basis, generally at least once a month. Every single update broke at least 90% of the mods.Richard Dower wrote: ↑Tue Apr 19, 2022 3:07 pm
Thanks Giants for breaking every single mod with this new XML entry,
Re: AI Attachment Agent has broke all my mods
<ai supportsAIJobs="false">
<agentAttachment/>
</ai>
<agentAttachment/>
</ai>
-
- Posts: 278
- Joined: Sun Dec 09, 2018 9:55 pm
Re: AI Attachment Agent has broke all my mods
When setting supportsAIJobs="false", will the AI be able to drive with these trailers anymore?
Support für meine Mods im Discord
Re: AI Attachment Agent has broke all my mods
I wouldn't expect it to.
Here's an example of what you put in the <ai> </ai> tags.
You most likely have the attacherJoint node somewhere in your mod already. So just reference it or find out which node index it is, use the code above and tinker with the attributes until you get it right.
The trailer I got this code from has four wheels (two on each side) thus the 4 wheel indices.
Here's an example of what you put in the <ai> </ai> tags.
Code: Select all
<agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2 3 4" width="3" height="3" length="7" lengthOffset="1"/>
The trailer I got this code from has four wheels (two on each side) thus the 4 wheel indices.
Re: AI Attachment Agent has broke all my mods
Yes, but where do I get the correct dimensions for this entry?
The description do not tell me what are the correct values for all the parameter possible.
And I have not found a description for this is at all.
I do not want to make now a fix for all trailers only to get rid of the warning and then I had to fix all again because the values are wrong
The description do not tell me what are the correct values for all the parameter possible.
And I have not found a description for this is at all.
I do not want to make now a fix for all trailers only to get rid of the warning and then I had to fix all again because the values are wrong
Support für meine Mods im Discord
Re: AI Attachment Agent has broke all my mods
Are they *your* mods? If they're not I'd wait for whoever made the mod to fix it.
I took the dimensions of the trailer found inside the <base> tags, under <size>
I took the dimensions of the trailer found inside the <base> tags, under <size>
Re: AI Attachment Agent has broke all my mods
Yes, these are my mods in the 22 I converted and published from the 19 with the permission of the original makers.
Support für meine Mods im Discord
-
- Posts: 1
- Joined: Thu May 05, 2022 4:38 pm
Re: AI Attachment Agent has broke all my mods
I fixed the error by adding these lines underneath the <tensionBelts> section in the XML.
<ai>
<allowTurnBackward value="false"/>
<turningRadiusLimitation radius="8"/>
<agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="4.0" height="5.0" length="13.0" lengthOffset="-1.0"/>
</ai>
It is simply copied from the Giants basegame trailers that came out with 1.4. All you need to do, as stated earlier is change the width, height, length, and length offset to your model. Hope this help or fix it if you did not already get it fixed.
<ai>
<allowTurnBackward value="false"/>
<turningRadiusLimitation radius="8"/>
<agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="4.0" height="5.0" length="13.0" lengthOffset="-1.0"/>
</ai>
It is simply copied from the Giants basegame trailers that came out with 1.4. All you need to do, as stated earlier is change the width, height, length, and length offset to your model. Hope this help or fix it if you did not already get it fixed.
-
- Posts: 277
- Joined: Tue Feb 07, 2012 8:17 pm
Re: AI Attachment Agent has broke all my mods
Hi. I read on the giants forum that you wrote about a problem with Ai in mods. And i have a question i have a problem with one model but i have already entered the correct commands and still the same error is there
Warning (E:/ModyFS22/FS22_Kenworth_T900_Legend_tipper/dogTrailer.xml): Missing ai agent attachment definition for attachable vehicle
Warning (E:/ModyFS22/FS22_Kenworth_T900_Legend_tipper/dogTrailer.xml): Missing ai agent attachment definition for attachable vehicle
- Attachments
-
- dogTrailer.xml
- (39.55 KiB) Downloaded 157 times
12 posts
Page 1 of 1