Error: xml. rotSpeed. /> StoreItem will be ignored! (Help?)

Your forum for all discussions around Modding.
RaceTime911
Posts: 4
Joined: Thu Aug 17, 2017 1:52 pm

Error: xml. rotSpeed. /> StoreItem will be ignored! (Help?)

Post by RaceTime911 »

So, in short, here is my problem.
Log:

Code: Select all

  Register vehicle type: GMC_5500.boxtruck
Error: C:/Users/Ookpik/Documents/My Games/FarmingSimulator2017/mods/GMC_5500/americanTruckOneAxle.xml.  rotSpeed.  />

	<wheel rotSpeed="1" restLoad="2.6" tireType="street" repr="0>1" driveNode="0>1|0" radius="0.33" initialCompression="30" suspTravel="0.25" spring="53" damper="65" mass="0.5" frictionScale= "2" hasTireTracks="true" tireTrackAtlasIndex="4" maxLatStiffness="200"  hasTireTracks="true" />

	<wheel rotSpeed="0" restLoad="1.7" tireType="street" repr="0>2" driveNode="0>2|0" radius="0.33" initialCompression="10" suspTravel="0.22" spring="53" damper="65" mass="0.5" frictionScale= "2" hasTireTracks="true" tireTrackAtlasIndex="4" maxLatStiffness="200"  hasTireTracks="true" />

	<wheel rotSpeed="0" restLoad="1.7" tireType="street" repr="0>3" driveNode="0>3|0" radius="0.33" initialCompression="10" suspTravel="0.22" spring="53" damper="65" mass="0.5" frictionScale= "2" hasTireTracks="true" tireTrackAtlasIndex="4" maxLatStiffness="200"  hasTireTracks="true" />

    </wheels>





    <ackermannSteeringConfigurations>

        <ackermannSteering rotSpeed="65" rotMax="47" rotCenterWheel1="2" rotCenterWheel2="3"/>

    </ackermannSteeringConfigurations>

	

    

	





	

	

	    <differentialConfigurations>	

    <differentials>

        <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="0" wheelIndex2="1"/>

        <!-- front left-right -->

        <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="2" wheelIndex2="3"/>

        <!-- back left-right -->

        <differential torqueRatio="0.5" maxSpeedRatio="1.5" differentialIndex1="0" differentialIndex2="1"/>

        <!-- front-back -->

    </differentials>

	    </differentialConfigurations>

	

    <motorConfigurations>

        <motorConfiguration name="$l10n_configuration_valueDefault" price="0">

            <motor torqueScale="1.779" minRpm="1000" maxRpm="2200" maxForwardSpeed="68" maxBackwardSpeed="15" brakeForce="7" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.0015" minForwardGearRatio="10" maxForwa Error: No storeData found in 'C:/Users/Ookpik/Documents/My Games/FarmingSimulator2017/mods/GMC_5500/americanTruckOneAxle.xml'. StoreItem will be ignored!
I have no idea what this error is referring to, as I have got rotSpeeds on all wheels, just like I usually do (which has always worked til now).

I have tried numerous things but cannot seem to get the mod to work. This error is generated when loading the mod to a savegame. The vehicle (obviously) does not show in shop in-game.

If anyone has any idea what to try, it would be very much appreciated.
It may be worth noting that I used a 6-wheel semi from the vanilla game as a base for this mod I am am making, and this GMC 5500 only has 4 wheels.

I have checked the " marks, and the end tags, opening tags, and they all seem in order. No idea what to try now. Please help.

ModDesc.xml:

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="32">
    
	<author>RT911</author>
    <version>1.0.0.0</version>
	
    <title>
        <en>GMC 5500</en>
        <de>GMC 5500</de>
    </title>
	
    <description>
        <en>GMC 5500</en>
        <de>GMC 5500</de>
    </description>
	

		<l10n> 
		
		 <text name="input_ramp">
			<en>Ramp</en>
			<de>Ramp</de>
			</text>
		
		</l10n> 
		
		
		<inputBindings>  
		<input name="ramp" key1="KEY_x" button=""/>	
		</inputBindings>  
	
		<specializations>		
        <specialization name="toggleAnimatedParts" className="toggleAnimatedParts" filename="scripts/toggleAnimatedParts.lua"/>     		
        </specializations> 
	
	
	<vehicleTypes>
        <type name="boxtruck" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
        <specialization name="attacherJoints"/>
            <specialization name="lights"/>
            <specialization name="animatedVehicle"/>
            <specialization name="cylindered"/>
            <specialization name="motorized"/>
            <specialization name="steerable"/>
            <specialization name="drivable"/>
            <specialization name="honk"/>
            <specialization name="washable"/>
            <specialization name="mountable"/>
            <specialization name="foldable"/>
			<specialization name="toggleAnimatedParts"/> 	
        </type>
    </vehicleTypes>
	
  <iconFilename>store_americanTruckOneAxle.dds</iconFilename>
  
  
 <multiplayer supported="true"/>

		<storeItems>
        <storeItem rootNode="vehicle" xmlFilename="americanTruckOneAxle.xml"/>
    </storeItems>
	
</modDesc>
XML:

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="no" ?>


<vehicle type="boxtruck">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name><en>GMC 5500</en></name>
        <specs>
            <power>420</power>
            <maxSpeed>65</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_car</function>
        </functions>
        <image>store_americanTruckOneAxle.dds</image>
        <price>124000</price>
        <dailyUpkeep>570</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>trucks</category>
        <vertexBufferMemoryUsage>1930564</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>311388</indexBufferMemoryUsage>
        <textureMemoryUsage>24204960</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <typeDesc>$l10n_typeDesc_car</typeDesc>
    <filename>americanTruckOneAxle.i3d</filename>
	
    <size width="3.5" length="7.5"/>

	<wheels autoRotateBackSpeed="1.7">
	<wheel rotSpeed="1" restLoad="2.6" tireType="street" repr="0>0" driveNode="0>0|0" radius="0.33" initialCompression="30" suspTravel="0.25" spring="53" damper="65" mass="0.5" frictionScale= "2" hasTireTracks="true" tireTrackAtlasIndex="4" maxLatStiffness="200"  hasTireTracks="true" />
	<wheel rotSpeed="1" restLoad="2.6" tireType="street" repr="0>1" driveNode="0>1|0" radius="0.33" initialCompression="30" suspTravel="0.25" spring="53" damper="65" mass="0.5" frictionScale= "2" hasTireTracks="true" tireTrackAtlasIndex="4" maxLatStiffness="200"  hasTireTracks="true" />
	<wheel rotSpeed="0" restLoad="1.7" tireType="street" repr="0>2" driveNode="0>2|0" radius="0.33" initialCompression="10" suspTravel="0.22" spring="53" damper="65" mass="0.5" frictionScale= "2" hasTireTracks="true" tireTrackAtlasIndex="4" maxLatStiffness="200"  hasTireTracks="true" />
	<wheel rotSpeed="0" restLoad="1.7" tireType="street" repr="0>3" driveNode="0>3|0" radius="0.33" initialCompression="10" suspTravel="0.22" spring="53" damper="65" mass="0.5" frictionScale= "2" hasTireTracks="true" tireTrackAtlasIndex="4" maxLatStiffness="200"  hasTireTracks="true" />
    </wheels>

    <ackermannSteeringConfigurations>
        <ackermannSteering rotSpeed="65" rotMax="47" rotCenterWheel1="2" rotCenterWheel2="3"/>
    </ackermannSteeringConfigurations>
	
	    <differentialConfigurations>	
    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="0" wheelIndex2="1"/>
        <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="2" wheelIndex2="3"/>
        <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.5" differentialIndex1="0" differentialIndex2="1"/>
        <!-- front-back -->
    </differentials>
	    </differentialConfigurations>
	
    <motorConfigurations>
        <motorConfiguration name="$l10n_configuration_valueDefault" price="0">
            <motor torqueScale="1.779" minRpm="1000" maxRpm="2200" maxForwardSpeed="68" maxBackwardSpeed="15" brakeForce="7" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.0015" minForwardGearRatio="10" maxForwardGearRatio="150" minBackwardGearRatio="40" maxBackwardGearRatio="150">
                <torque normRpm="0.45" torque="0.5"/>
                <torque normRpm="0.5" torque="0.6"/>
                <torque normRpm="0.59" torque="0.7"/>
                <torque normRpm="0.72" torque="1"/>
                <torque normRpm="0.86" torque="0.88"/>
                <torque normRpm="1" torque="0.7"/>
            </motor>
        </motorConfiguration>
    </motorConfigurations>
	
    <fuelCapacity>980</fuelCapacity>
	
    <cameras count="2">
        <camera1 index="0>7|0|0" rotatable="true" rotateNode="0>7|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4.5" transMax="35">
            <raycastNode index="0>7|2"/>
            <raycastNode index="0>7|3"/>
            <raycastNode index="0>7|4"/>
        </camera1>
        <camera2 index="0>7|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
    </cameras>
	
	
	
    <lights>
        <low>
            <light decoration="0>8|0|0" lightTypes="0 3"/>
            <light realLight="0>8|0|1" lightTypes="0" excludedLightTypes="3"/>
            <!--FrontLights-->
            <light decoration="0>8|1|0" lightTypes="0 1"/>
            <!--BackLights-->
            <light realLight="0>8|0|2" lightTypes="3"/>
            <!--HighBeam -->
        </low>
        <high>
            <light decoration="0>8|0|0" lightTypes="0 3"/>
            <light realLight="0>8|0|3" lightTypes="0" excludedLightTypes="2 3"/>
            <!--FrontLights-->
            <light realLight="0>8|1|1" decoration="0>8|1|0" lightTypes="0 3"/>
            <!--BackLights-->
            <light realLight="0>8|0|4" lightTypes="3" excludedLightTypes="2"/>
            <!--HighBeam-->
        </high>
		
        <states>
            <state lightTypes="0"/>
        </states>
		
    </lights>
	
    <brakeLights>
        <brakeLight realLight="0>8|3|1" decoration="0>8|3|0"/>
		 <brakeLight realLight="0>8|3|2"/>
    </brakeLights>
	
    <turnLights>
        <turnLightLeft realLight="0>8|2|1|1" decoration="0>8|2|0|0"/>
		<turnLightLeft realLight="0>8|2|0|2" />
        <turnLightRight realLight="0>8|2|0|1" decoration="0>8|2|1|0"/>
		<turnLightRight realLight="0>8|2|1|2" />
    </turnLights>
	
    <reverseLights>
        <reverseLight realLight="0>8|4|1" decoration="0>8|4|0"/>
    </reverseLights>
	
    <mirrors>
    </mirrors>
	
    <indoorHud>
        <speed animName="speedDisplay" minValueAnim="0" maxValueAnim="160"/>
        <rpm animName="rpmDisplay" minValueAnim="0" maxValueAnim="4000"/>
        <fuel animName="fuelDisplay"/>
    </indoorHud>
	
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>9"/>
	
    <attacherJoints>
        <attacherJoint index="0>15|0" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="12 175 12" enableCollision="true">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint index="0>15|2" jointType="trailer" lowerRotLimit="10 65 65" upperRotationOffset="0" allowsJointLimitMovement="false">
            <schema position="0 0" rotation="0" invertX="true"/>
        </attacherJoint>
    </attacherJoints>
	


	
        <animations>
		
        <animation name="speedDisplay">
            <part node="0>14|0|0" startTime="0" endTime="1" startRot="0 0 0" endRot="224 0 0"/>
        </animation>
		
        <animation name="rpmDisplay">
            <part node="0>14|1|0" startTime="0" endTime="1" startRot="0 0 0" endRot="240 0 0"/>
        </animation>
		
        <animation name="fuelDisplay">
            <part node="0>4|2|0" startTime="0" endTime="1" startRot="0 0 0" endRot="180 0 0"/>
        </animation>
	
		</animations>
	
    <steering index="0>11|0" indoorRotation="360" outdoorRotation="37"/>
	
    <characterNode index="0>10|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 100">
        <target ikChain="rightFoot" targetNode="0>10|1"/>
        <target ikChain="leftFoot" targetNode="0>10|2"/>
        <target ikChain="rightArm" targetNode="0>11|0|0" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>11|0|1" setDirty="true"/>
    </characterNode>
	
    <ai>
        <trafficCollisionTrigger index="0>12|0"/>
    </ai>
	
    <exhaustEffects>
        <exhaustEffect index="0>13|0" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="0 0" xzRotationsForward="-100 0" xzRotationsBackward="100 0" xzRotationsLeft="0 -80" xzRotationsRight="0 80"/>
        <exhaustEffect index="0>13|1" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="0 0" xzRotationsForward="-100 0" xzRotationsBackward="100 0" xzRotationsLeft="0 -80" xzRotationsRight="0 80"/>
    </exhaustEffects>
	
    <motorStartDuration>2500</motorStartDuration>
    <motorStartSound file="sounds/start.wav" pitchOffset="0.62" volume="1.00" indoorVolumeFactor="0.40" indoorLowpassGain="0.95"/>
    <motorSound file="sounds/engine1.wav" pitchOffset="0.62" volume="1.10" indoorVolumeFactor="0.50" indoorLowpassGain="0.95" pitchMax="1.15" pitchScale="0.04"/>
    <motorStopSound file="$data/vehicles/steerable/man/manTGS18480_stop.wav" pitchOffset="1.00" volume="0.95 " indoorVolumeFactor="0.40" indoorLowpassGain="0.95"/>
    <motorSoundRun file="sounds/engine1.wav" pitchOffset="0.55" volume="0.70" indoorVolumeFactor="0.65" indoorLowpassGain="0.85" pitchMax="1.10"/>
    <motorSoundLoad file="$data/vehicles/steerable/americanTruck/americanTruck_load.wav" pitchOffset="0.67" volume="1.10" indoorVolumeFactor="0.55" indoorLowpassGain="0.95" pitchMax="1.60" minimalVolumeFactor="0.10"/>
    <gearboxSound file="$data/sounds/transmission/transmissionCVT_X.wav" pitchOffset="0.65" volume="0.15" indoorVolumeFactor="0.47" indoorLowpassGain="0.75" pitchMax="1.00" volumeMax="0.52" reverseVolumeMax="0.30"/>
    <retarderSound file="$data/sounds/transmission/retarderET2015.wav" pitchOffset="0.48" volume="0.10" indoorVolumeFactor="0.80" indoorLowpassGain="0.80" pitchMax="0.90" volumeMax="0.50" minSpeed="8"/>
    <brakeCompressor capacity="10000" fillSpeed="200"/>
    <maximalAirConsumptionPerFullStop value="4250"/>
    <brakeCompressorStartSound file="$data/sounds/technicalAccessories/compressor_controller.wav" pitchOffset="1.75" volume="1.00" indoorVolumeFactor="0.50" indoorLowpassGain="0.95"/>
    <brakeCompressorRunSound file="$data/sounds/technicalAccessories/compressor_idle.wav" pitchOffset="0.86" volume="0.22" indoorVolumeFactor="0.25" indoorLowpassGain="0.95" pitchMax="1.1"/>
    <brakeCompressorStopSound file="$data/sounds/technicalAccessories/brakeOld.wav" pitchOffset="1.10" volume="1.00" indoorVolumeFactor="0.50" indoorLowpassGain="0.95"/>
    <compressedAirSound file="$data/sounds/technicalAccessories/brakeOld.wav" pitchOffset="0.60" volume="0.70" indoorVolumeFactor="0.90" indoorLowpassGain="0.95"/>
    <airReleaseValveSound file="$data/sounds/technicalAccessories/airValveSound.wav" pitchOffset="1.50" volume="0.75" indoorVolumeFactor="0.80" indoorLowpassGain="0.95"/>
    <attachSound file="$data/sounds/truck_attach.wav" pitchOffset="1.00" volume="1.00" indoorVolumeFactor="0.25" indoorLowpassGain="0.90"/>
    <hydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="1.00" volume="0.45" indoorVolumeFactor="0.25" indoorLowpassGain="0.90"/>
    <honkSound file="sounds/horn.wav" pitchOffset="0.90" volume="0.7" indoorVolumeFactor="0.25" indoorLowpassGain="0.90" radius="100" innerRadius="18.775"/>
    <reverseDriveSound file="$data/sounds/reverseDrivingBeep_3.wav" pitchOffset="1.00" volume="1.00" indoorVolumeFactor="0.20" indoorLowpassGain="0.75"/>
    

	
    <baseColorConfigurations useDefaultColors="true" price="1800" icon="$dataS2/menu/hud/configurations/config_color.png">
        <baseColorConfiguration color="0.8 1 1 1" />
        <colorNode node="0>4|6" />
    </baseColorConfigurations>

	
    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>
	
    <components count="1">
        <component1 centerOfMass="0 -1.0 3.011" solverIterationCount="10"/>
    </components>
	
    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0"/>
	
	 <animParts>
	 <animPart autorun="true" index="0>16" id="ramp" rotMin="-90 0 0" rotMax="-191 0 0" moveTime="1"/>
	 </animParts>

	
</vehicle>
RaceTime911
Posts: 4
Joined: Thu Aug 17, 2017 1:52 pm

Re: Error: xml. rotSpeed. /> StoreItem will be ignored! (Help?)

Post by RaceTime911 »

Figured it out, had two hasTireTracks="true" in my wheels
User avatar
Smith Modding
Posts: 2996
Joined: Sat May 14, 2016 12:42 pm
Location: Harris County, Georgia

Re: Error: xml. rotSpeed. /> StoreItem will be ignored! (Help?)

Post by Smith Modding »

That'll do it. If you ever get an error like that, pay attention to the line it gives you, in this case rotSpeed. /> this means there's an error there, and it's giving you a hint on where to look
Smith Modding Co.
Christian Based Modding
Isaiah 30:23- He will also send you rain for the seed you sow in the ground, and the food that comes from the land will be rich and plentiful. In that day your cattle will graze in broad meadows.:
Playing FS15-19 on PC
Playing too much FS19 :mrgreen:
Specs-
i5-7300HQ|NVIDIA GTX 1050ti|16GB DDR4 RAM|1TB/500GB SSD/256GB M.2|Windows 10
ThaFarmer
Posts: 337
Joined: Fri Jun 09, 2017 4:14 am

Re: Error: xml. rotSpeed. /> StoreItem will be ignored! (Help?)

Post by ThaFarmer »

Smith Modding wrote:That'll do it. If you ever get an error like that, pay attention to the line it gives you, in this case rotSpeed. /> this means there's an error there, and it's giving you a hint on where to look
I'm talking by experience here, sometimes it's coming from any tagging, syntax or other error in the XML, but "afaik", it's always from a previous line...
In my case, I encountered that kind of errors because it seemed that my Wheels section lines were too long... The fact was that the wheels config lines length includes the code called by <<filename="">> code insertion.
I tried to use a custom wheels/tire config, using (filename="$data/vehicles/wheels/lizard/315_80R22_5.xml" configIndex="truckBack") can result in a too long config line and I got this error... I gotta say, I was trying to change a "custom fixed(working properly I have specify) wheels/tires", imported from an i3d file, to add a "broad tires" configuration while keeping those custom fixed wheels/tires...

I tried real hard to keep those really nice-looking wheels/tires and add a broad tires config but at the end I had to drop this idea...
User avatar
Smith Modding
Posts: 2996
Joined: Sat May 14, 2016 12:42 pm
Location: Harris County, Georgia

Re: Error: xml. rotSpeed. /> StoreItem will be ignored! (Help?)

Post by Smith Modding »

Yeah, I gave up on using the in game wheels and tried to use custom wheels, and that took some time to get it right.
Smith Modding Co.
Christian Based Modding
Isaiah 30:23- He will also send you rain for the seed you sow in the ground, and the food that comes from the land will be rich and plentiful. In that day your cattle will graze in broad meadows.:
Playing FS15-19 on PC
Playing too much FS19 :mrgreen:
Specs-
i5-7300HQ|NVIDIA GTX 1050ti|16GB DDR4 RAM|1TB/500GB SSD/256GB M.2|Windows 10
Post Reply