View Single Post
Old 03-31-10, 04:58 PM   #22
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by keltos01 View Post
how do you add the MAD visual node to a plane ?

keltos
Smoke and mirrors!

First, lets establish one thing. Underwater detection by an airplane is nothing short of a hack. Your making the game do something it was never designed to do. So it won't be perfect. Thankfully it works well enough to be feasible.

Now then, what your going to have to do is make several new visual sensor nodes (easy with S3D), each with their own characteristics. (happy testing there, let me tell ya!). One "normal" visual sensor, and another with a negative surface factor to detect submerged, and maybe another with an even more negative surface factor.

To the best of my knowledge, an AI unit can have only one visual sensor at a time. So then, like radar or sonar improvements in a ship or plane SNS file, so you do the same with the visual sensor.

edit:
Another idea is to clone (by 3d model inheirtance) a plane, so you have two instances of the same plane. One with the super negative visual factor, the other without. Place them both in your airbase.cfg files and let them randomly spawn.
Ducimus is offline   Reply With Quote