Oder kann ich da selbst einen einbauen?
Danke im Voraus für die Hilfe!
![*thumbsup* *thumbsup*](./images/smilies/icon_thumbs1.gif)
Oha, da sind ne Menge Indexes falsch.steyr0990 wrote:<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="snowCannon">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<name>
<en></en>
<de></de>
</name>
<description></description>
<typeDesc>$l10n_TypeDesc_SnowCannon</typeDesc>
<filename>data/vehicles/tools/snowCannons/lizardB360.i3d</filename>
<wheels autoRotateBackSpeed="2.5">
<wheel rotSpeed="0" driveMode="0" repr="0" radius="0.244" deltaY="0.01" suspTravel="0.01" spring="30" damper="30" mass="0.3" lateralStiffness="2"/>
<wheel rotSpeed="0" driveMode="0" repr="1" radius="0.244" deltaY="0.01" suspTravel="0.01" spring="30" damper="30" mass="0.3" lateralStiffness="2"/>
<wheel rotSpeed="0" driveMode="0" repr="2" radius="0.105" deltaY="0.01" suspTravel="0.01" spring="30" damper="30" mass="0.3" lateralStiffness="2" isSynchronized="false" />
</wheels>
<attacherJoint index="1>" jointType="implement" rootNode="1>"/>
<brakeForce>5</brakeForce>
<accelerationSpeed maxAcceleration="0.17" deceleration="0.25" backwardDeceleration="0.7" />
<fuelCapacity>1</fuelCapacity>
<fuelUsage>0</fuelUsage>
<downForce>7</downForce>
<cameras count="1">
<camera1 index="0>5|0|1" rotatable="false" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
</cameras>
<!--motorStartSound file="data/vehicles/steerable/crawlerExcavatorStart.wav" pitchOffset="1" volume="1" />
<motorSound file="data/vehicles/steerable/crawlerExcavatorIdle.wav" pitchOffset="1" pitchScale="0.0027" pitchMax="1.65" volume="1" />
<motorStopSound file="data/vehicles/steerable/crawlerExcavatorStop.wav" pitchOffset="1" />
<crawlerSound file="data/vehicles/steerable/crawlers.wav" pitchOffset="1" volume="1"/>
<hydraulicSound file="data/vehicles/steerable/hydraulics.wav" pitchOffset="0.8" volume="0.4" /-->
<lights count="1">
<light1 index="0>4|0|3" />
</lights>
<lightCoronas>
<lightCorona index="0>4|0|4" />
</lightCoronas>
<beaconLights>
<beaconLight index="0>4|0|5" speed="0.016" />
</beaconLights>
<cannons>
<cannon cameraIndices="1" particleEmitNode="0>4|0|2" particleGravity="-9.81" particleVelocity="13" particleSize="0.75" particleGrowth="5" turbineNode="0>4|0|0" turbineNodeSpeed="-500" movingToolIndices="1 2">
<particleSystems>
<particleSystem node="0>4|0|2" file="data/vehicles/particleSystems/snowCannonParticleSystem.i3d" />
</particleSystems>
<startSound file="data/vehicles/tools/snowCannons/snowCannon_start.wav" pitchOffset="1" volume="1" />
<stopSound file="data/vehicles/tools/snowCannons/snowCannon_stop.wav" pitchOffset="1" volume="1" />
<workingSound file="data/vehicles/tools/snowCannons/snowCannon_work.wav" pitchOffset="1" volume="1" />
</cannon>
</cannons>
<mouseControls>
<mouseControl iconFilename="dataS2/menu/mouseControlsHelp/tool_sc_horizontal.png" mouseButton="LEFT" mouseAxis="X" axis="AXIS_SNOW_CANNON_LEFTRIGHT" />
<mouseControl iconFilename="dataS2/menu/mouseControlsHelp/tool_sc_vertical.png" mouseButton="LEFT" mouseAxis="Y" axis="AXIS_SNOW_CANNON_UPDOWN" />
</mouseControls>
<movingTools>
<!-- rot leftright -->
<movingTool index="0>4" anchorActor="0" rotationAxis="2" rotSpeed="20" rotAcceleration="250" rotMax="30" rotMin="-30" axis="AXIS_SNOW_CANNON_LEFTRIGHT" invertAxis="true" mouseAxis="AXIS_SNOW_CANNON_LEFTRIGHT" invertMouseAxis="true" speedFactor="0.3">
</movingTool>
<!-- rot updown -->
<movingTool index="0>4|0" anchorActor="0" rotationAxis="1" rotSpeed="-15" rotAcceleration="250" rotMax="30" rotMin="0" axis="AXIS_SNOW_CANNON_UPDOWN" invertAxis="true" mouseAxis="AXIS_SNOW_CANNON_UPDOWN" invertMouseAxis="true" speedFactor="0.3">
</movingTool>
<!-- support -->
<movingTool index="0>6" anchorActor="0"></movingTool>
</movingTools>
<animations>
<!-- move support wheel down/up -->
<animation name="moveSupport">
<part node="0>6" startTime="0" duration="0.6" startTrans="0 0.554 0.238" endTrans="0 0.4 0.238" />
<part node="0>6|0" startTime="0" duration="0.6" startRot="0 720 0" endRot="0 0 0" />
<part node="0>6|1" startTime="0" duration="0.6" startRot="0 720 0" endRot="0 0 0" />
<part node="0>6|2" startTime="0" duration="0.6" startRot="0 720 0" endRot="0 0 0" />
</animation>
</animations>
<enterReferenceNode index="0>" />
<exitPoint index="0>5" />
<size width="4" length="2" lengthOffset="1" widthOffset="0" />
<support animationName="moveSupport" />
<components count="2">
<component1 centerOfMass="0 0 0" solverIterationCount="10" />
<component2 centerOfMass="0 0 0" solverIterationCount="10" />
<joint component1="0" component2="1" index="0>3" rotLimit="30 0 0" transLimit="0 0 0" />
</components>
<schemaOverlay file="data/vehicles/tools/snowCannons/lizardB360Schema.png" fileSelected="data/vehicles/tools/snowCannons/lizardB360SchemaSelected.png" width="0.5" height="0.5" basePosition="0.5 0" attacherJointPosition="0.1 0.4">
</schemaOverlay>
</vehicle>
Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="snowCannon">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<name>
<en></en>
<de></de>
</name>
<description></description>
<typeDesc>$l10n_TypeDesc_SnowCannon</typeDesc>
<filename>data/vehicles/tools/snowCannons/lizardB360.i3d</filename>
<wheels autoRotateBackSpeed="2.5">
<wheel rotSpeed="0" driveMode="0" repr="0" radius="0.244" deltaY="0.01" suspTravel="0.01" spring="30" damper="30" mass="0.3" lateralStiffness="2"/>
<wheel rotSpeed="0" driveMode="0" repr="1" radius="0.244" deltaY="0.01" suspTravel="0.01" spring="30" damper="30" mass="0.3" lateralStiffness="2"/>
<wheel rotSpeed="0" driveMode="0" repr="2" radius="0.105" deltaY="0.01" suspTravel="0.01" spring="30" damper="30" mass="0.3" lateralStiffness="2" isSynchronized="false" />
</wheels>
<attacherJoint index="0>7" jointType="implement" rootNode="0>"/>
<brakeForce>5</brakeForce>
<accelerationSpeed maxAcceleration="0.17" deceleration="0.25" backwardDeceleration="0.7" />
<fuelCapacity>1</fuelCapacity>
<fuelUsage>0</fuelUsage>
<downForce>7</downForce>
<cameras count="1">
<camera1 index="0>3|0|1" rotatable="false" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
</cameras>
<!--motorStartSound file="data/vehicles/steerable/crawlerExcavatorStart.wav" pitchOffset="1" volume="1" />
<motorSound file="data/vehicles/steerable/crawlerExcavatorIdle.wav" pitchOffset="1" pitchScale="0.0027" pitchMax="1.65" volume="1" />
<motorStopSound file="data/vehicles/steerable/crawlerExcavatorStop.wav" pitchOffset="1" />
<crawlerSound file="data/vehicles/steerable/crawlers.wav" pitchOffset="1" volume="1"/>
<hydraulicSound file="data/vehicles/steerable/hydraulics.wav" pitchOffset="0.8" volume="0.4" /-->
<lights count="1">
<light1 index="0>3|0|3" />
</lights>
<lightCoronas>
<lightCorona index="0>3|0|4" />
</lightCoronas>
<beaconLights>
<beaconLight index="0>3|0|5" speed="0.016" />
</beaconLights>
<cannons>
<cannon cameraIndices="1" particleEmitNode="0>3|0|2" particleGravity="-9.81" particleVelocity="13" particleSize="0.75" particleGrowth="5" turbineNode="0>3|0|0" turbineNodeSpeed="-500" movingToolIndices="1 2">
<particleSystems>
<particleSystem node="0>3|0|2" file="data/vehicles/particleSystems/snowCannonParticleSystem.i3d" />
</particleSystems>
<startSound file="data/vehicles/tools/snowCannons/snowCannon_start.wav" pitchOffset="1" volume="1" />
<stopSound file="data/vehicles/tools/snowCannons/snowCannon_stop.wav" pitchOffset="1" volume="1" />
<workingSound file="data/vehicles/tools/snowCannons/snowCannon_work.wav" pitchOffset="1" volume="1" />
</cannon>
</cannons>
<mouseControls>
<mouseControl iconFilename="dataS2/menu/mouseControlsHelp/tool_sc_horizontal.png" mouseButton="LEFT" mouseAxis="X" axis="AXIS_SNOW_CANNON_LEFTRIGHT" />
<mouseControl iconFilename="dataS2/menu/mouseControlsHelp/tool_sc_vertical.png" mouseButton="LEFT" mouseAxis="Y" axis="AXIS_SNOW_CANNON_UPDOWN" />
</mouseControls>
<movingTools>
<!-- rot leftright -->
<movingTool index="0>3" anchorActor="0" rotationAxis="2" rotSpeed="20" rotAcceleration="250" rotMax="30" rotMin="-30" axis="AXIS_SNOW_CANNON_LEFTRIGHT" invertAxis="true" mouseAxis="AXIS_SNOW_CANNON_LEFTRIGHT" invertMouseAxis="true" speedFactor="0.3">
</movingTool>
<!-- rot updown -->
<movingTool index="0>3|0" anchorActor="0" rotationAxis="1" rotSpeed="-15" rotAcceleration="250" rotMax="30" rotMin="0" axis="AXIS_SNOW_CANNON_UPDOWN" invertAxis="true" mouseAxis="AXIS_SNOW_CANNON_UPDOWN" invertMouseAxis="true" speedFactor="0.3">
</movingTool>
<!-- support -->
<movingTool index="05" anchorActor="0"></movingTool>
</movingTools>
<animations>
<!-- move support wheel down/up -->
<animation name="moveSupport">
<part node="0>5" startTime="0" duration="0.6" startTrans="0 0.554 0.238" endTrans="0 0.4 0.238" />
<part node="0>5|0" startTime="0" duration="0.6" startRot="0 720 0" endRot="0 0 0" />
<part node="0>5|1" startTime="0" duration="0.6" startRot="0 720 0" endRot="0 0 0" />
<part node="0>5|2" startTime="0" duration="0.6" startRot="0 720 0" endRot="0 0 0" />
</animation>
</animations>
<enterReferenceNode index="0>" />
<exitPoint index="0>4" />
<size width="4" length="2" lengthOffset="1" widthOffset="0" />
<support animationName="moveSupport" />
<components count="2">
<component1 centerOfMass="0 0 0" solverIterationCount="10" />
<component2 centerOfMass="0 0 0" solverIterationCount="10" />
<joint component1="0" component2="1" index="0>3" rotLimit="30 0 0" transLimit="0 0 0" />
</components>
<schemaOverlay file="data/vehicles/tools/snowCannons/lizardB360Schema.png" fileSelected="data/vehicles/tools/snowCannons/lizardB360SchemaSelected.png" width="0.5" height="0.5" basePosition="0.5 0" attacherJointPosition="0.1 0.4">
</schemaOverlay>
</vehicle>