Вот как у меня в конфиге (в блюпринт -эдиторе разберешься )
тут внутренняя анимация со всеми кнопками и тд
- Код: Выделить всё
<cControlContainerBlueprint-cControlValue d:id="20719040">
<ControlName d:type="cDeltaString">Wipers</ControlName>
<DefaultValue d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</DefaultValue>
<MinimumValue d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</MinimumValue>
<MaximumValue d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</MaximumValue>
<BriefDescription d:type="cDeltaString"></BriefDescription>
<DetailedDescription d:type="cDeltaString">Front Right wiper</DetailedDescription>
<ApplyToConsist d:type="cDeltaString">eFalse</ApplyToConsist>
<InterfaceElements>
<cControlContainerBlueprint-cInteriorPushButton d:id="26067712">
<ElementName d:type="cDeltaString">Wipers</ElementName>
<DifficultyType d:type="cDeltaString">StopGo</DifficultyType>
<PickTransformName d:type="cDeltaString">wiper_swich_01</PickTransformName>
<MovementType d:type="cDeltaString">PushButton</MovementType>
<AnalogInputSensitivity d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</AnalogInputSensitivity>
<DigitalInputSensitivity d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</DigitalInputSensitivity>
<AnimationName d:type="cDeltaString">D_R_Rail\Addon\RailVehicles\Diesel\tgm 3a-1054\CabView\wiper_swich_01</AnimationName>
<AutoRelease d:type="cDeltaString">eFalse</AutoRelease>
</cControlContainerBlueprint-cInteriorPushButton>
<cControlContainerBlueprint-cInteriorGeometrySlaveOutput d:id="26908104">
<ElementName d:type="cDeltaString">Wipers</ElementName>
<DifficultyType d:type="cDeltaString">StopGo</DifficultyType>
<AnimationName d:type="cDeltaString">D_R_Rail\Addon\RailVehicles\Diesel\tgm 3a-1054\CabView\wiper_01</AnimationName>
</cControlContainerBlueprint-cInteriorGeometrySlaveOutput>
<cControlContainerBlueprint-cExteriorAnimation d:id="15531712">
<ElementName d:type="cDeltaString">Wipers</ElementName>
<DifficultyType d:type="cDeltaString">StopGo</DifficultyType>
<AnimationID d:type="cDeltaString">Wipers</AnimationID>
<AnimStyle d:type="cDeltaString">BackAndForthContinuous</AnimStyle>
</cControlContainerBlueprint-cExteriorAnimation>
</InterfaceElements>
</cControlContainerBlueprint-cControlValue>
<cControlContainerBlueprint-cControlValue d:id="20713040">
наружная анимация(часть конфига в блоке аним сет)
- Код: Выделить всё
<iAnimObjectRenderBlueprint-cAnimation d:id="70495836">
<AnimationID d:type="cDeltaString">Wipers</AnimationID>
<AnimationName d:type="cDeltaString">D_R_Rail\Addon\RailVehicles\Diesel\tgm 3a-1054\wiper_01</AnimationName>
<AnimateInEditor d:type="cDeltaString">eTrue</AnimateInEditor>
</iAnimObjectRenderBlueprint-cAnimation>
часть конфига из блокаWiperPairs (чтобы не зеркалилось)
- Код: Выделить всё
<WiperPairs>
<cControlContainerBlueprint-cWiperPair d:id="37326328">
<SlaveToAnimationA d:type="cDeltaString">Wipers</SlaveToAnimationA>
<SlaveToAnimationB d:type="cDeltaString">Wipers</SlaveToAnimationB>
<TextureID d:type="cDeltaString">D_R_Rail\Addon\RailVehicles\Diesel\tgm 3a-1054\Cabview\[00]window_motion_1_nm</TextureID>
<NormalsTextureID d:type="cDeltaString">D_R_Rail\Addon\RailVehicles\Diesel\tgm 3a-1054\Cabview\[00]windows_norm_nm</NormalsTextureID>
</cControlContainerBlueprint-cWiperPair>
</WiperPairs>
ista011 писал(а):Внутренняя анимация прописывается через контрол Interior geometry output?
как видишь InteriorGeometrySlaveOutput
П.С.ну раз уж ты сам написал что можешь скриптовать , то мне тоже нужна помощь , касаемо скрипта