Turret Config Reference – Talk

From Bohemia Interactive Community
Revision as of 20:21, 29 July 2007 by Bdfy (talk | contribs)
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