Could you give me some info on how to build in ai movable guns, that use the cfg/DP to react to enemies, ie auto-trainable enemy following/firing guns.
I'm ok with the building and animation of things (FSDS), it's the last part.
Now, I've re-read Flerk's 'bible', interesting and useful but not specific.
I scasm'd the CFS2 default SHA_MAHAN to see how it's done. And you get
Now, from what I can see from the ani offset data, various rotary and angular anis were used e.g Engine 3 Prop position (angle) and percentage left wing fold. So no problem of using those type of ani offsets to build into barrels, turrets etc etc (I'd like to know in the SHA_MAHAN what the tags gun, barrel and bullets mean. Is it gun (gun turret), barrel (gun barrel) and bullets (unknown)...????)
Is it just a case of making sure the turrets and barrels have rotary and angular movement, and then letting the cfg/DP take over auto control?
Anyway, being naval gurus could you help me out please?