I'm actually looking at the battleship code because that's what I based this on. The battleship uses 2 turrets, TURRET01 and TURRET02, and it has 3 barrels on each turret: TUR1BARREL01, TUR1BARREL02 and TUR1BARREL03 on TURRET01, and TUR2BARREL01, TUR2BARREL02 and TUR2BARREL03 on TURRET02. It's code refers to TUR1BARREL for the PRIMARY weapon, and TUR2BARREL for the SECONDARY weapon, so they actually have 2 different weapons.
In our case, I removed the middle (02) barrel on both sides, and renamed the 4 barrels to become BARREL01 to BARREL04 in sequence. And I used all the BARREL bones for the PRIMARY weapon. So there's no SECONDARY wepaon in our case, to make sure both turrets (supposedly) target the same thing. But if this doesn't work (stupid EA should have fixed this bug), then I guess we could do it EA's way. Give the ship 1 weapon for each turret, and make them turn independently. Not ideal, but better than the results I've been getting.
|