OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Captain Wacky on 21 Feb 2005, 14:55:42

Title: A.I walking through objects problem! Please help.
Post by: Captain Wacky on 21 Feb 2005, 14:55:42
I have an addon that allows you to build bunkers on the map, it works kind of like the Editor Update, but also has a few of the same problems. I need to stop A.I units from walking through the walls of the building. When I create certain waypoints, the A.I sometimes just walks through the walls. Needless to say it's very annoying and causing me some editing problems. Does anyone know if there's any way to stop this happening? I would really appreciate any help as it is a vital part of the mission. Thanks in advance, Wacky.    
Title: Re:A.I walking through objects problem! Please help.
Post by: Terox on 21 Feb 2005, 15:40:14
not being an addon maker, i cant guarantee the accuracy of this post

however i do believe it has something to do with the lods within the models and if so its the addon that is at fault.

What you could do is hide another object within the walls of the troublesome object, such as a wire fence etc, to prevent the ai from passing through it.

Title: Re:A.I walking through objects problem! Please help.
Post by: macguba on 21 Feb 2005, 15:50:14
If its an addon it could just be poor addon making.   In which case bin it and use a better addon.

However, there is a perennial problem of AI loons being able to see through and walk through walls.    It's a limitation of the game engine.    Before you complain too much, on the grounds that lots of other games have solved this problem, remember that none of these games allow you to run around an island five miles long.
Title: Re:A.I walking through objects problem! Please help.
Post by: RujiK on 21 Feb 2005, 17:49:19
This is a regular game engine problem, however with certain addons I have noticed it is even worse then default objects.
MANY time I have witness AI walking through buildings for whatever reason, I have also noticed that the buildings that come with OFP resistance seem to have much more inertia.
Title: Re:A.I walking through objects problem! Please help.
Post by: Blanco on 21 Feb 2005, 23:29:50
I'm not sure about this, but I think it's only the leader who's playing ghost.