View Single Post
Old 02-18-14, 09:12 PM   #2866
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Is there a special routine telling sea units that they must reach a point on map by following the campaign nodes? Thinking out loud, your code might be bypassing it



Probably not relevant, but under this respect coastal artillery is more similar to aircraft than it is to sea units: I am sure you are aware that their cannon controller is directly linked to the main model (through sim file indeed), rather than to an external gun equipment.
For the first one no. My code doesn't bypass anything. All it does is allow the game to set the pointer to the contact detected by another unit for the unit using the existing game code.

The coastal artillery is completely different than aircraft because of the cmdr_xxxx controller assigned to it. This controller does not have the routines that iterate over all the unit's equipment and activate weapons if unit has a contact. This is a major blunder by the devs
TheDarkWraith is offline   Reply With Quote