Mod Aufbau Problem

Ls Landwirt
Posts: 32
Joined: Fri Jan 06, 2012 2:40 pm

Mod Aufbau Problem

Post by Ls Landwirt »

Hallo,
ich habe eine Schneekanone auf einen Mod aufgebaut allerdings, kann ich ihr keine Funktionen zuweisen ich habe schon alles in die Fahrzeug XML eingetragen aber danach kommt immer der Error Reading End Tag Fehler in der LOG und ich kann das Modell nicht kaufen.Sonst funktioniert alles ich kann die Kamera auswählen und die Lichter sind auch funktionsfähig.
Mr.Wulff
Posts: 71
Joined: Mon Dec 12, 2011 2:27 pm

Re: Mod Aufbau Problem

Post by Mr.Wulff »

poste mal bitte die log.txt und die .xml und moddesk.xml
Ls Landwirt
Posts: 32
Joined: Fri Jan 06, 2012 2:40 pm

Re: Mod Aufbau Problem

Post by Ls Landwirt »

Hier die ModDesc:
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="7">
<author>Ls Landwirt</author>
<version>1</version>
<title>
<en>Pistenbully 400 mit Schneekanone</en>
<de>Pistenbully 400 mit Schneekanone</de>
</title>
<description>
<en>Dies ist der PB 400 mit Schneekanonen Aufsatz</en>
<de>Dies ist der PB 400 mit Schneekanonen Aufsatz</de>
</description>
<iconFilename>store.dds</iconFilename>
<multiplayer supported="true"/>
<l10n>

</l10n>
<extraSourceFiles>
</extraSourceFiles>
<specializations>
</specializations>
<vehicleTypes>
<type name="snowcat" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="motorized" />
<specialization name="steerable" />
<specialization name="honk" />
</type>
</vehicleTypes>
<storeItems>
<storeItem>
<en>
<name>PB 400 Aufbau</name>
<description>
<![CDATA[Dies ist der Pistenbully 400 mit einem Schneekanonen Aufsatz.
Modelle: Giants
Umbau/ Scripte: Ls Landwirt]]>
</description>
<specs>Maintenance: %s / day</specs>
</en>
<de>
<name>PB 400 Aufbau</name>
<description>
<![CDATA[Dies ist der Pistenbully 400 mit einem Schneekanonen Aufsatz.
Modelle: Giants
Umbau/ Scripte: Ls Landwirt]]>
</description>
<specs>Unterhaltskosten: %s / Tag</specs>
</de>
<dailyUpkeep>1000</dailyUpkeep>
<rotation>0</rotation>
<image active="store.dds"/>
<price>100000</price>
<xmlFilename>pistenbully400.xml</xmlFilename>
</storeItem>
</storeItems>
<inputBindings>

</inputBindings>

</modDesc>
Hier die Fahrzeug XML:
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="snowcat">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<name>
<en></en>
<de></de>
</name>
<description></description>
<filename>pistenbully400.i3d</filename>
<wheels autoRotateBackSpeed="2.5">
<wheel rotSpeed="-70" rotMax="32" rotMin="-32" driveMode="1" repr="0" radius="0.428" deltaY="0.01" suspTravel="0.03" spring="30" damper="30" mass="0.2" lateralStiffness="2" isSynchronized="false"/>
<wheel rotSpeed="-70" rotMax="32" rotMin="-32" driveMode="1" repr="1" radius="0.428" deltaY="0.01" suspTravel="0.03" spring="30" damper="30" mass="0.2" lateralStiffness="2" isSynchronized="false"/>
<wheel rotSpeed="70" rotMax="32" rotMin="-32" driveMode="1" repr="2" radius="0.428" deltaY="0.01" suspTravel="0.03" spring="30" damper="30" mass="0.2" lateralStiffness="2" isSynchronized="false"/>
<wheel rotSpeed="70" rotMax="32" rotMin="-32" driveMode="1" repr="3" radius="0.428" deltaY="0.01" suspTravel="0.03" spring="30" damper="30" mass="0.2" lateralStiffness="2" isSynchronized="false"/>

<wheel rotSpeed="0" driveMode="1" repr="4" radius="0.409" deltaY="0.01" suspTravel="0.03" spring="15" damper="30" mass="0.2" lateralStiffness="2" isSynchronized="false"/>
<wheel rotSpeed="0" driveMode="1" repr="5" radius="0.409" deltaY="0.01" suspTravel="0.03" spring="15" damper="30" mass="0.2" lateralStiffness="2" isSynchronized="false"/>
</wheels>

<dynamicWheelFriction minAngle="50" maxAngle="60" />

<crawlers>
<crawler index="0>21" scrollSpeed="1" length="10.848" speedRefNode="0>21|0">
<rotatingPart index="0>17|6" radius="0.365" />
<rotatingPart index="0>17|7" radius="0.365" />
<rotatingPart index="0>17|8" radius="0.365" />
<rotatingPart index="0>17|9" radius="0.365" />
<rotatingPart index="0>17|10" radius="0.365" />
<rotatingPart index="0>17|11" radius="0.365" />
</crawler>
<crawler index="0>22" scrollSpeed="1" length="10.848" speedRefNode="0>22|0">
<rotatingPart index="0>17|0" radius="0.365" />
<rotatingPart index="0>17|1" radius="0.365" />
<rotatingPart index="0>17|2" radius="0.365" />
<rotatingPart index="0>17|3" radius="0.365" />
<rotatingPart index="0>17|4" radius="0.365" />
<rotatingPart index="0>17|5" radius="0.365" />
</crawler>
</crawlers>

<motor compensateWheelRadius="true" minRpm="40" maxRpm="373 545 670" maxTorques="-1 -1 -1" brakeForce="18" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" accelerations="1 1 1" forwardGearRatio="9" backwardGearRatio="9" differentialRatio="1" rpmFadeOutRange="20">
<torque rpm="40" torque="35.0"/>
<torque rpm="670" torque="20.0"/>
<torque rpm="793" torque="0.0"/>

<backwardTorque rpm="40" torque="35"/>
<backwardTorque rpm="385" torque="6"/>
<backwardTorque rpm="428" torque="0.0"/>
</motor>

<snowcat size="2" limitedRpm="545" limitedRpmSlow="373" />

<accelerationSpeed maxAcceleration="0.17" deceleration="0.25" backwardDeceleration="0.7" />
<fuelCapacity>260</fuelCapacity>
<fuelUsage>0.003</fuelUsage>
<downForce>7</downForce>

<cameras count="3">
<camera1 index="6|0|0" rotatable="true" rotateNode="6|0" limit="true" rotMinX="-1.4" rotMaxX="1" transMin="6" transMax="30" useWorldXZRotation="true" >
<raycastNode index="0>7|0"/>
<raycastNode index="0>7|1"/>
</camera1>
<camera2 index="6|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" />
<camera3 index="29|0|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" />
</cameras>

<attachSound file="$data/sounds/attach.wav" pitchOffset="1" />
<motorStartSound file="$data/vehicles/steerable/pistenbully/pistenbully_400_start.wav" pitchOffset="1" volume="1" />
<motorSound file="$data/vehicles/steerable/pistenbully/pistenbully_400_idle.wav" pitchOffset="1" pitchScale="0.009" pitchMax="1.46" volume="1" />
<motorSoundRun file="$data/sounds/hydrostatic_sound.wav" pitchOffset="0.85" pitchScale="0.0086" pitchMax="1.2" volume="1" />
<motorStopSound file="$data/vehicles/steerable/pistenbully/pistenbully_400_stop.wav" pitchOffset="1" />
<!--crawlerSound file="$data/vehicles/steerable/crawlers.wav" pitchOffset="1" volume="1"/-->
<aiMotorSound file="$data/vehicles/steerable/pistenbully/pistenbully_400_idleAI.wav" pitchOffset="1" radius="35" innerRadius="25" volume="1.0" />
<reverseDriveSound file="$data/sounds/reverseDrivingBeep.wav" volume="0.5" />
<honkSound file="$data/sounds/horn.wav" client="$data/sounds/horn3D.wav" volume="1" radius="80" innerRadius="35" />

<lights count="1">
<light1 index="8" />
<light2 index="29|0|3" />
</lights>

<lightCones>
<lightCone index="11" />
</lightCones>

<lightCoronas>
<lightCorona index="12" />
<lightCorona index="29|0|4|0" />
</lightCoronas>

<beaconLights>
<beaconLight index="13|0" speed="0.016" />
<beaconLight index="13|1" speed="0.016" />
<beaconLight index="29|0|5|0" speed="0.016" />
</beaconLights>

<exhaustParticleSystems count="1">
<exhaustParticleSystem1 node="10" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
</exhaustParticleSystems>

<driveGroundParticleSystems>
<driveGroundParticleSystem minScale="0.5" maxScale="1" minSpeed="4" maxSpeed="23" position="1.62 0 -2.65" rotation="0 0 0" file="$data/vehicles/particleSystems/snowDustParticleSystemBig.i3d" />
<driveGroundParticleSystem minScale="0.5" maxScale="1" minSpeed="4" maxSpeed="23" position="1.62 0.3 -3.1" rotation="0 0 0" file="$data/vehicles/particleSystems/snowChunksParticleSystemBig.i3d" />
<driveGroundParticleSystem minScale="0.5" maxScale="1" minSpeed="4" maxSpeed="23" position="-1.62 0 -2.65" rotation="0 0 0" file="$data/vehicles/particleSystems/snowDustParticleSystemBig.i3d" />
<driveGroundParticleSystem minScale="0.5" maxScale="1" minSpeed="4" maxSpeed="23" position="-1.62 0.3 -3.1" rotation="0 0 0" file="$data/vehicles/particleSystems/snowChunksParticleSystemBig.i3d" />
<driveGroundParticleSystem direction="-1" minScale="0.2" maxScale="1" minSpeed="4" maxSpeed="23" position="-1.62 0 2.65" rotation="0 180 0" file="$data/vehicles/particleSystems/snowChunksParticleSystemBig.i3d" />
<driveGroundParticleSystem direction="-1" minScale="0.2" maxScale="1" minSpeed="4" maxSpeed="23" position="-1.62 0 2.1" rotation="0 180 0" file="$data/vehicles/particleSystems/snowDustParticleSystemBig.i3d" />
<driveGroundParticleSystem direction="-1" minScale="0.2" maxScale="1" minSpeed="4" maxSpeed="23" position="1.62 0 2.65" rotation="0 180 0" file="$data/vehicles/particleSystems/snowChunksParticleSystemBig.i3d" />
<driveGroundParticleSystem direction="-1" minScale="0.2" maxScale="1" minSpeed="4" maxSpeed="23" position="1.62 0 2.1" rotation="0 180 0" file="$data/vehicles/particleSystems/snowDustParticleSystemBig.i3d" />
</driveGroundParticleSystems>

<schemaOverlay file="$data/vehicles/steerable/pistenbully/pistenbullySchema.png" width="1" height="0.5" attacherJointPosition="0.5 0">
<attacherJoint position="0.7 0.35" rotation="10" invertX="false" />
<attacherJoint position="0.2 0.28" rotation="0" invertX="true" />
</schemaOverlay>

<attacherJoints>
<attacherJoint jointType="groomer" index="15|0|0" rotationNode="15" maxRot="0 0 0" rotationNode2="15|0" maxRot2="35 0 0" maxTransLimit="0 0 0" maxRotLimit="0 0 30" moveTime="1.5">
</attacherJoint>
<attacherJoint jointType="fixedImplement" index="0>23" maxTransLimit="0 0 0" maxRotLimit="0 0 0" moveTime="1.5" allowsJointLimitMovement="false" allowsLowering="false">
</attacherJoint>
</attacherJoints>

<cannons>
<cannon cameraIndices="1" particleEmitNode="29|2|0" particleGravity="-9.81" particleVelocity="13" particleSize="0.75" particleGrowth="5" turbineNode="0>4|0|0" turbineNodeSpeed="-500" movingToolIndices="1 2">
<particleSystems>
<particleSystem node="29|2|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>

<trailerAttacherJoints>
<trailerAttacherJoint index="16" />
</trailerAttacherJoints>

<enterReferenceNode index="0>" />
<exitPoint index="0>9" />

<steering index="14|0" rotationSpeed="6"/>

<size width="5.5" length="7" lengthOffset="-0.2" widthOffset="0" />

<characterNode index="24" cameraMinDistance="0.5" />

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

</vehicle>
In der LOG sind keine Fehler, da das die Version ist in die ich noch nichts eingefügt habe für die Funktionen außer die 3. Camera, die Coronas und Beacon Lights.
User avatar
bassaddict
GIANTS Software | Web/Script Programmer
Posts: 11983
Joined: Tue Nov 29, 2011 2:44 pm
Location: ER, DE

Re: Mod Aufbau Problem

Post by bassaddict »

Snowcat ist doch ein standard VehicleType aus SRS, oder hab ich das falsch in Erinnerung? Da musst du also einen anderen VT vergeben. Außerdem seh ich da keine Spezi, die der Schneekanone eine Funktion verleihen würde.
Ls Landwirt
Posts: 32
Joined: Fri Jan 06, 2012 2:40 pm

Re: Mod Aufbau Problem

Post by Ls Landwirt »

Also für den SRS sind wohl keine Spezis vonnöten habe nämliche viele Mods angeschaut da standen keine Spezis drin. Wenn ich welche brauche wie würden diese heißen?
User avatar
bassaddict
GIANTS Software | Web/Script Programmer
Posts: 11983
Joined: Tue Nov 29, 2011 2:44 pm
Location: ER, DE

Re: Mod Aufbau Problem

Post by bassaddict »

Spezis brauchst du immer. Und weil du ja zusätzlich eine Schneekanone hast wirst du auch mit den standard VehicleTypes nicht mehr hinkommen, musst du also einen neuen anlegen. Welcher VT welche Spezis hat kannst du hier nachlesen: http://forum.landwirtschafts-simulator. ... 03#p314203
Post Reply