Turret Config Reference – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 28: Line 28:


::::"selections in the models turret section" - not true as i said before. Selections can be named differently - [[User:Bdfy|Bdfy]]
::::"selections in the models turret section" - not true as i said before. Selections can be named differently - [[User:Bdfy|Bdfy]]
:::::If you say so, but in a hex editor obsTurret and obsGun are listed in the model file.
:::::[[User:Planck|Planck]] 22:25, 29 July 2007 (CEST)

Revision as of 22:25, 29 July 2007

"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)