OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Heinonen on 12 Apr 2003, 22:17:31

Title: Tanks with more than 1 turret
Post by: Heinonen on 12 Apr 2003, 22:17:31
Has anyone tried to put second turret to any model?
Or crew larger than 3 to tank? I like to make T35 model
and it has 3 turrets and 10 man crew so is it possible to
work in flashpoint or are there some limits to crew/turret numbers?
Title: Re:Tanks with more than 1 turret
Post by: JerryK_387 on 13 Apr 2003, 03:30:15
It's impossible to have more than 1 gunner, more than 1 commander, or more than 1 driver. I don't know if it's possible to use cargo personell to control the turrets though? Dunno...
Title: Re:Tanks with more than 1 turret
Post by: shinraiden on 15 Apr 2003, 00:48:24
I've looked into this as well some time ago, and the "commented config" files from BIS show gun 'mount points' for the commander's turret, but with the note that it is presently 'ignored'. I also recall seeing a post stating that the program memory point may or may not be active.

The cpp files only define the objects [PAUSE - I KNOW I AM OVER SIMPLIFYING HERE], but if the engine doesn't know what to do with the object, then it is just useless.

Where it stands now is that a vehicle has a turret object which has a  main gun object which is also potentially linked to an offset secondary gun. Any exceptions to this would be doing 'tricky' stuff, like a commander action:

getpos (this, y+n, this)
left = getComTurDir - 45deg
right = getComTurDir + 45deg
lob smokegrenade left
lob smokegrenade right

Note, this is not real code of course, just something to get folks thinking...