OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Bricktop on 20 Apr 2003, 09:29:23
-
For some reason and this seems to be in 3rd party maps, cars will NOT stay on the road, they always seem to go offroad ... id there some way to keep them on??
Cheers
BT
-
Not really. The AI are just bad drivers.
Using setbehaviour safe sometimes helps. Also increasing the skill of the drivers. Having no eye candy (eg trucks parked just off the road) can make a difference, and sometimes you can fix it by changing the vehicle's starting position a little.
-
Cheers ... Ill give that a try ... thanks ...
RBT
-
I am not 100% sure about this but I think roads on maps are basically there in two ways.
first there is what meets the eye....the road itself
second there is some coded stuff that gives AI units the references of where the roads are on the map, so they can follow them (as AI doesnt use its eyes to locate them)
So when you say you have this problem on 3rd party maps, then it might just be a road placed on it yet not coded for AI use.
Once again, I could be wrong on this one. dont know if things like WrpEdit automatically have the AI road recognition thingie going on when roads are created.