AI doesnt use ground vehicles in MP

Started by Willkilla, March 08, 2025, 08:27:35 AM

Previous topic - Next topic
I'm having an issue with AI not entering ground vehicles in either Lan or Internet games. They still enter the flyers, but none of the hovers, speeders, or the MTT. I wanted my map to be primarily for coop MP, so this feature is critical to me. I noticed on Geonosis and Hoth LAN/Internet the AI still enter all vehicles, it just takes a little longer than in Instant action. I went through the Geo and Hot Lua, but couldn't find anything obvious that would prevent the ai. I am really unsure what to look for, has anyone ever seen this issue? Seems like a pretty niche problem

Hard to remember the details...but I think they have to be assigned 'ownership' in either the world setting if not the LUA.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Hmm I cant seem to locate any ownership assignments in the world files, it only references Teams. Could this be all in the setup_teams.lua for the level? I never mess with that because I never thought I'd need to, and sadly there doesn't seem to be examples for the stock worlds

yeah, something like the vehicle spawn needs to be assigned to the team
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Found the fix, had to host with a dedicated server. AI seems to have trouble with vehicles on many maps without a dedicated server

Ah, not sure why that would make a difference--are you on PC ?  Have you modded your game otherwise?

In any event, thanks for following it up with your solution.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Also, are your vehicles sitting too close to barriers? The AI think if any part of a vehicle exists in a barrier that it's inaccessible.  This is a common problem even in the stock game that isn't well noted.
The BOBclan:  A Rich History


Quote from: Unit 33 on November 29, 2014, 03:44:44 AM'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.