Community Forum

turn lights / blinkers and hazards don't blink

Forum Overview >> Farming Simulator 15

CategoryFarming Simulator 15
Created18.12.2014 04:18


After Shave (Unknown) 18.12.2014 04:19
Hello all,
I'm finishing a simple flatbed trailer and have a problem with the lights. The turn signals don't alternate on and off. They just stay on when activated. I'm wondering if someone could take a look at my .xml's and .i3d below. There are no log errors. I'm so close, and stumped!

Thanks, evah.

[code]<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="21">
<author>evah</author>
<version>1.0</version>
<title>
<en>Flatbed Trailer</en>
<de>Flachbettanhänger</de>
</title>
<description>
<en>This utility trailer allows you to transport pallets to bales with ease. It's standard equipped with a low hitch and dynamic-mount loading.</en>
<de>Dieses Dienstprogramm Anhänger transportiert Paletten und Ballen mit Leichtigkeit. Es ist standardmäßig mit einem niedrigen Anbauanordnung und dynamischer Belastung.</de>
</description>
<iconFilename>store_flatbedTrailer.dds</iconFilename>
<multiplayer supported="true"/>
<type name="dynamicMountAttacherTrailer" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="attachable" />
<specialization name="washable" />
<specialization name="dynamicMountAttacher" />
<specialization name="mountable" />
</type>
<storeItems>
<storeItem>
<name>
<en>Lizard Flatbed</en>
<de>Lizard Flachbettanhänger</de>
</name>
<rotation>0</rotation>
<functions>
<function>$l10n_function_baleTrailer</function>
</functions>
<image active="store_flatbedTrailer.dds" brand="brand_lizard.dds"/>
<price>4350</price>
<dailyUpkeep>2</dailyUpkeep>
<xmlFilename>flatbedTrailer.xml</xmlFilename>
<brand>Lizard</brand>
<category>misc</category>
<specs>
<power></power>
</specs>
</storeItem>
</storeItems>
</modDesc>
[/code]

[code]<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dynamicMountAttacherTrailer">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<name>
<en>Lizard Flatbed Trailer</en>
<de>Lizard Flatbed Trailer</de>
</name>
<filename>flatbedTrailer.i3d</filename>

<size width="3" length="9" />

<wheels autoRotateBackSpeed="2.0">
<wheel restLoad="0.7" repr="0>0" radius="0.457" initialCompression="30" suspTravel="0.08" spring="13" damper="10" mass="0.04" />
<wheel restLoad="0.7" repr="0>1" radius="0.457" initialCompression="30" suspTravel="0.08" spring="13" damper="10" mass="0.04" />
<wheel restLoad="0.4" repr="0>2" radius="0.457" initialCompression="30" suspTravel="0.08" spring="13" damper="10" mass="0.04" hasTyreTracks="true" tyreTrackAtlasIndex="4"/>
<wheel restLoad="0.4" repr="0>3" radius="0.457" initialCompression="30" suspTravel="0.08" spring="13" damper="10" mass="0.04" hasTyreTracks="true" tyreTrackAtlasIndex="4"/>
</wheels>

<dynamicallyLoadedParts>
<dynamicallyLoadedPart node="11|0" linkNode="0>0" filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
<dynamicallyLoadedPart node="11|1" linkNode="0>1" filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
<dynamicallyLoadedPart node="11|0" linkNode="0>2" filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
<dynamicallyLoadedPart node="11|1" linkNode="0>3" filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
</dynamicallyLoadedParts>

<brakeForce>0.3</brakeForce>

<lightCoronas>
<lightCorona index="6" />
</lightCoronas>

<brakeLights>
<brakeLight index="0>8" />
</brakeLights>

<turnSignals>
<turnSignalLeft index="0>5|0" />
<turnSignalRight index="0>5|1" />
</turnSignals>

<inputAttacherJoints>
<inputAttacherJoint index="4" jointType="trailerLow"/>
</inputAttacherJoints>

<!-- dynamicMountAttacherTrigger triggerNode="0>13" rootNode="0>" jointNode="0>" forceAcceleration="30" -->
<dynamicMountAttacherTrigger triggerNode="0>13" rootNode="0>" jointNode="0>" forceAcceleration="67" />

<allowFillFromAir value="false" />
<allowTipDischarge value="false" />

<animations>
<!-- move support wheel down/up -->
<animation name="moveSupport">
<part node="7" startTime="0" duration="0.6" startTrans="0 0.385 0" endTrans="0 0 0" />
</animation>
</animations>

<support animationName="moveSupport" />

<washable dirtDuration="90" washDuration="1" workMultiplier="4" />

<driveGroundParticleSystems>
<driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="1" />
<driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="2" />
<driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="3" />
<driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="4" />
</driveGroundParticleSystems>

<components count="1">
<component1 centerOfMass="0 0.5 -0.7" solverIterationCount="10" />
</components>

<schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>[/code]

[code]<?xml version="1.0" encoding="iso-8859-1"?>

<i3D name="flatbed_GEexport.blend" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">
<Asset>
<Export program="GIANTS Editor 64bit" version="6.0.3"/>
</Asset>

<Files>
<File fileId="6" filename="//car_corona_red_diffuse.dds" relativePath="true"/>
<File fileId="4" filename="//corona_orange.dds" relativePath="true"/>
<File fileId="10" filename="//cubemapRough.dds" relativePath="true"/>
<File fileId="2" filename="//orange_selfilum.dds" relativePath="true"/>
<File fileId="5" filename="//red_selfilum.dds" relativePath="true"/>
<File fileId="3" filename="//shared/emissiveLightsShader.xml" relativePath="true"/>
<File fileId="7" filename="//support_diffuse.png" relativePath="true"/>
<File fileId="8" filename="//support_normal.png" relativePath="true"/>
<File fileId="9" filename="//support_specular.png" relativePath="true"/>
<File fileId="12" filename="//trailer_diffuse.png" relativePath="true"/>
<File fileId="13" filename="//trailer_normal.png" relativePath="true"/>
<File fileId="14" filename="//trailer_specular.png" relativePath="true"/>
<File fileId="11" filename="//vehicleShaderDirt.xml" relativePath="true"/>
</Files>


<Materials>
<Material name="default" materialId="9" diffuseColor="0.294118 0.294118 0.294118 1" ambientColor="1 1 1">
</Material>
<Material name="red_mat" materialId="11" ambientColor="1 1 1" alphaBlending="true" customShaderId="3" customShaderVariation="STATIC_LIGHT">
<Emissivemap fileId="6"/>
</Material>
<Material name="orange_mat" materialId="12" ambientColor="1 1 1" alphaBlending="true" customShaderId="3" customShaderVariation="STATIC_TURNLIGHT">
<Emissivemap fileId="4"/>
</Material>
<Material name="red_self" materialId="13" ambientColor="1 1 1" alphaBlending="true" customShaderId="3" customShaderVariation="STATIC_LIGHT">
<Emissivemap fileId="5"/>
</Material>
<Material name="orange_self" materialId="14" ambientColor="1 1 1" alphaBlending="true" customShaderId="3" customShaderVariation="STATIC_TURNLIGHT">
<Emissivemap fileId="2"/>
</Material>
<Material name="support_mat" materialId="7" ambientColor="1 1 1" cosPower="50" specularColor="1 1 1" customShaderId="11">
<Texture fileId="7"/>
<Normalmap fileId="8"/>
<Glossmap fileId="9"/>
<Reflectionmap fileId="10" wrap="false" type="cube" scaling="1" refractiveIndex="1" bumpScale="0.1" objectMask="2147483647"/>
<CustomParameter name="RDT" value="1 1 20 20"/>
<CustomParameter name="offsetUV" value="0 0 0 0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1 1"/>
<CustomParameter name="colorScale" value="0.8 0.55 0.055 1"/>
</Material>
<Material name="trailer_mat" materialId="8" ambientColor="1 1 1" cosPower="50" specularColor="1 1 1" customShaderId="11">
<Texture fileId="12"/>
<Normalmap fileId="13"/>
<Glossmap fileId="14"/>
<Reflectionmap fileId="10" wrap="false" type="cube" scaling="1" refractiveIndex="1" bumpScale="0.1" objectMask="2147483647"/>
<CustomParameter name="RDT" value="1 1 20 20"/>
<CustomParameter name="offsetUV" value="0 0 0 0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1 1"/>
<CustomParameter name="colorScale" value="0.8 0.55 0.055 1"/>
</Material>
</Materials>


<Dynamics>
</Dynamics>

<Scene>
<Shape shapeId="1" name="flatbedTrailer" dynamic="true" compound="true" collisionMask="8397058" density="0.184" clipDistance="300" nodeId="52" materialIds="9" castsShadows="true" receiveShadows="true" nonRenderable="true">
<TransformGroup name="wheel01" translation="0.993832 0.451476 -0.722766" nodeId="53"/>
<TransformGroup name="wheel02" translation="-0.993821 0.451476 -0.722766" nodeId="54"/>
<TransformGroup name="wheel03" translation="0.993958 0.454764 -1.78947" nodeId="55"/>
<TransformGroup name="wheel04" translation="-0.993847 0.454743 -1.789" nodeId="56"/>
<TransformGroup name="attacherJoint" translation="0 0.550772 4.4685" rotation="0 90 0" nodeId="57"/>
<TransformGroup name="turnSignals" nodeId="58">
<TransformGroup name="left" nodeId="59">
<Shape shapeId="2" name="turn_left_selfIllum" rotation="90 -0 0" nodeId="60" materialIds="14" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="3" name="turn_left_corona" rotation="90 -0 0" nodeId="61" materialIds="12"/>
</TransformGroup>
<TransformGroup name="right" nodeId="62">
<Shape shapeId="4" name="turn_right_selfilum" rotation="90 -0 0" nodeId="63" materialIds="14" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="5" name="turn_right_corona" rotation="90 -0 0" nodeId="64" materialIds="12"/>
</TransformGroup>
</TransformGroup>
<TransformGroup name="lightCoronas" visibility="false" nodeId="65">
<Shape shapeId="6" name="corona_selfillum" rotation="90 -0 0" nodeId="66" materialIds="13" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="7" name="corona_right" rotation="90 -0 0" nodeId="67" materialIds="11"/>
<Shape shapeId="8" name="corona_left" rotation="90 -0 0" nodeId="68" materialIds="11"/>
</TransformGroup>
<Shape shapeId="9" name="support" clipDistance="50" nodeId="69" materialIds="7" castsShadows="true" receiveShadows="true">
<Shape shapeId="10" name="supportCol" visibility="false" static="true" compoundChild="true" nodeId="70" materialIds="9" castsShadows="true" receiveShadows="true" nonRenderable="true"/>
</Shape>
<TransformGroup name="lightBrake" visibility="false" nodeId="71">
<Shape shapeId="11" name="brake_selfillum" rotation="90 -0 0" nodeId="72" materialIds="13" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="12" name="brake_right_corona" rotation="90 -0 0" nodeId="73" materialIds="11"/>
<Shape shapeId="13" name="brake_left_corona" rotation="90 -0 0" nodeId="74" materialIds="11"/>
</TransformGroup>
<Shape shapeId="14" name="flatbedTrailer_vis" nodeId="75" materialIds="8" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="15" name="frontPart" visibility="false" static="true" compoundChild="true" collisionMask="8450" staticFriction="0" dynamicFriction="0" density="0.001" nodeId="76" materialIds="9" castsShadows="true" receiveShadows="true" nonRenderable="true"/>
<Shape shapeId="16" name="wheelRearRightCol" visibility="false" static="true" compoundChild="true" collisionMask="8450" staticFriction="0" dynamicFriction="0" density="0.001" nodeId="77" materialIds="9" castsShadows="true" receiveShadows="true" nonRenderable="true"/>
<Shape shapeId="17" name="wheelRearLeftCol" visibility="false" static="true" compoundChild="true" collisionMask="8450" staticFriction="0" dynamicFriction="0" density="0.001" nodeId="78" materialIds="9" castsShadows="true" receiveShadows="true" nonRenderable="true"/>
<Shape shapeId="18" name="dynamicMountTrigger" visibility="false" kinematic="true" compound="true" trigger="true" collisionMask="83894272" nodeId="79" materialIds="9" castsShadows="true" receiveShadows="true" nonRenderable="true"/>
</Shape>
<Camera name="persp" translation="0.0395945 1.00968 -5.17068" rotation="174.57 4.65362 180" nodeId="80" fov="35" nearClip="0.1" farClip="100"/>
</Scene>

</i3D>[/code]

Again thanks for any help.

After Shave (Unknown) 20.12.2014 00:33
I think I found the problem. The origin of the decoration and the corona mesh must be snapped to geometry before exporting to .i3d.



Note: Log in to post. Create a new account here.