Turret Config Reference – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

"mainGun" and "mainTurret" are obviously model selections that might be acted on by animations types, but I do not think they are animations.

Have reverted to previous description meantime.

Planck 23:50, 20 May 2007 (CEST)

yep, the animation sources should be defined by animationSourceBody and animationSourceGun. --TeRp 01:04, 21 May 2007 (CEST)


I wonder what is "body" parameter for. It's not model selection (selections are defined in cfgModels and turrets are working properly with old OFP names defined there). Anyone can say what is the difference between "body" and "animationSourceBody" ? I see no use in "body" parameter now

--Bdfy

Looking at the tracked.pbo config I can see that 'body' and 'gun' are parameters inside the turret part of a vehicles config entry.
body = "obsTurret";
gun = "obsGun";
obsTurret and obsGun are obviously selections in the models turret section.
This is followed by:
animationSourceBody = "obsTurret";
animationSourceGun = "obsGun";
which presumably set the same selections as the selections used by those particular animation types.
Planck 17:10, 29 July 2007 (CEST)
"selections in the models turret section" - not true as i said before. Selections can be named differently - Bdfy
If you say so, but in a hex editor obsTurret and obsGun are listed in the model file.
Planck 22:25, 29 July 2007 (CEST)
cfgModel also will be included into binarized model ;) Anyway selections _can_ be named so , but it's not necessarily - i used stadart ofp selections and it works with proper cfgModel. Thus body is not selection definition. Animated selections are defined in cfgModels section in the config Bdfy
'obsTurret' and 'obsGun' are just names given to a particular selection in some of the ArmA vehicle models , whomever modelled a particular ArmA model could have just as easily called the selections 'bob' and 'mary'. If one is trying to modify the behaviour of a 'standard' BIS model through the use of an external cfgModel definition then one of course needs to refer to the selections currently present. And, as you've all already noted above, in the case of 'most' (if not all) BIS models (of turreted vehicles) those selections are as you've noted. As an example see the 'm1_abrams' info on this -> User_talk:Sy page... --Sy 10:44, 30 July 2007 (CEST)