Jump to content
Sign in to follow this  
Mouse

Vehicle problems!

Recommended Posts

Ok.. i have a base with fence around it, and i put some tanks inside the base and gave them waypoints to go to another base a couple miles away. the problem is, they doesnt exit thru the open gate.. they run down the fence.. grr. any ideas? i just want them to exit the base and follow the road in Line formation. so that me and my sidekick (Bizon spetznaz) can enter base and finish of the remaining troops.

and yes, i want them to start inside the fence wink.gif

Share this post


Link to post
Share on other sites

just give them a waypoint and select safe as behaviour

RED

Share this post


Link to post
Share on other sites

Yeah, they follow the road but still go thru the fence sad.gif

i set the waypoint as "safe" behaviour and used the init

this setbehaviour "safe" on the tanks.

Share this post


Link to post
Share on other sites

I once did this with a soldier, its tedious but it works.

Just zoom in on the road and keep adding move waypoints along it. They should keep advancing to these waypoints in a straight line so if you have enough of them, They will go on straight line along the road.

Share this post


Link to post
Share on other sites

yeah but the unit will stop alot of the time

RED

Share this post


Link to post
Share on other sites

yeah..thats the prob.. i want them to drive out of the base in a pretty line.. thru the gate.. not thru the fence heh, i guess the wholelotta waypoints would work.. but it wouldnt be pretty when they stop all the the time =/

Share this post


Link to post
Share on other sites

This is pretty easy to explain if you know calculus. If you have less waypoints, theres less tangent lines and less stops, but they will less accurately follow the road. The more wp's, the more accurate, but more stops. So its a mix of what you want. If the road is straight for some distance, wps can be far apart, as long as tangency is within your accpetance. Along a curve though, more wps are needed to make them follow a better path. I'm sure there's a way you could balance it that it gets to something you can accept.

Share this post


Link to post
Share on other sites

The reason the tanks don't follow the roads are because tanks don't have to smile.gif They're one of the few vehicles that are meant as off-road vehicles. Trucks, Jeeps, etc, all follow roads, but armoured divisions don't. I never knew about the 'safe' feature, so maybe that changes their likeness to follow roads, but I've witnessed my tanks drive through water, blow up, and kill off half their crew because they went DIRECTLY to their waypoint - quite stupid and really pissed me off. So I did the billion waypoint thing, a pissoff, but they at least follow the road.

Anyways, if you put the fence there, I don't think they know to lead out the opening. I think the 'road texture' on the maps is what they look for, not just openings. So unless you can edit the map terrain itself, I doubt the tanks will stop crunching your pretty white picket fence.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×