<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="carFillable">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>Nysa 522</name>
        <specs>
            <power>70</power>
			<maxSpeed>80</maxSpeed>
        </specs>
        <functions>
            <function></function>
        </functions>
        <image>store.dds</image>
        <price>448</price>
        <lifetime>6000</lifetime>
        <rotation>0</rotation>
        <brand>NYSA</brand>
        <category>cars</category>
    </storeData>
    <base>
        <filename>nysa.i3d</filename>
        <size width="2.5" length="7.5"/>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="4000"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="CAR" />
		<sounds filename="Sound/sound.xml" />
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration>
                <wheels autoRotateBackSpeed="2.3">
					<wheel  isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics mass="0.5" rotSpeed="1" radius="0.38" restLoad="0.5"  repr="0>0|0" width="0.30" forcePointRatio="0.5" initialCompression="25" suspTravel="0.19" spring="40" damper="50" frictionScale="3"/>
                    </wheel>
                    <wheel  isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics mass="0.5" rotSpeed="1" radius="0.38" restLoad="0.5"  repr="0>0|1"  width="0.30" forcePointRatio="0.5" initialCompression="25" suspTravel="0.19" spring="40" damper="50" frictionScale="3"/>
                    </wheel>
                    <wheel  isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics mass="0.5" rotSpeed="0" restLoad="0.7" repr="0>0|2" forcePointRatio="0.5" radius="0.38" width="0.30" initialCompression="25" suspTravel="0.14" spring="19" damper="50" frictionScale="3"/>
                    </wheel>
                    <wheel  isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics mass="0.5" rotSpeed="0" restLoad="0.7" repr="0>0|3" forcePointRatio="0.5" radius="0.38" width="0.30" initialCompression="25" suspTravel="0.14" spring="19" damper="50" frictionScale="3"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="40" rotMax="40" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
    </wheels>
    <attacherJoints>
        <attacherJoint node="0>0|23" jointType="trailer" lowerRotLimit="10 80 80" lowerTransLimit="0 0 0" allowsJointLimitMovement="false" allowsLowering="false" canTurnOnImplement="false">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="0>0|23" jointType="trailerLow" lowerRotLimit="10 80 80" lowerTransLimit="0 0 0" allowsJointLimitMovement="false" allowsLowering="false" canTurnOnImplement="false">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>
    
    <enterable>
        <exitPoint node="0>0|13|1"/>
        <enterReferenceNode node="0>"/>
        <characterNode node="0>0|12|0" cameraMinDistance="0.4" spineRotation="-90 -10 90" >
            <target ikChain="rightFoot" targetNode="0>0|12|1"/>
            <target ikChain="leftFoot" targetNode="0>0|12|2"/>
            <target ikChain="rightArm" targetNode="0>0|4|0|1"/>
            <target ikChain="leftArm" targetNode="0>0|4|0|0"/>
        </characterNode>
        <cameras>
            <camera node="0>0|10|0" rotatable="true" rotateNode="0>0|10"  limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3.5" transMax="40" translation="0 0 5" rotation="-20 180 0"  >
            </camera>
			<camera node="0>0|11" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
			<camera node="0>0|22" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
	   </cameras>
	   
	<passengerSeats>
        <passengerSeat node="0>2|0" exitPoint="0>2|0|6" outdoorCameraIndex="1">
        <camera node="0>2|0|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" useOutdoorSounds="true" positionSmoothingParameter="0" />
        <characterNode node="0>2|0|1" cameraMinDistance="0.5" spineRotation="-90 0 90">
                <target ikChain="rightFoot" targetNode="0>2|0|3" />
                <target ikChain="leftFoot"  targetNode="0>2|0|2" />
                <target ikChain="rightArm"  targetNode="0>2|0|5" poseId="narrowFingers"/>
                <target ikChain="leftArm"   targetNode="0>2|0|4" poseId="flatFingers"/>
        </characterNode>
		</passengerSeat>
		<passengerSeat node="0>2|1" exitPoint="0>2|1|6" outdoorCameraIndex="1">
        <camera node="0>2|1|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" useOutdoorSounds="true" positionSmoothingParameter="0" />
        <characterNode node="0>2|1|1" cameraMinDistance="0.5" spineRotation="-90 0 90">
                <target ikChain="rightFoot" targetNode="0>2|1|3" />
                <target ikChain="leftFoot"  targetNode="0>2|1|2" />
                <target ikChain="rightArm"  targetNode="0>2|1|5" poseId="narrowFingers"/>
                <target ikChain="leftArm"   targetNode="0>2|1|4" poseId="flatFingers"/>
        </characterNode>
		</passengerSeat>
		<passengerSeat node="0>2|2|2" exitPoint="0>2|2|6" outdoorCameraIndex="1">
        <camera node="0>2|2|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" useOutdoorSounds="true" positionSmoothingParameter="0" />
        <characterNode node="0>2|2|1" cameraMinDistance="0.5" spineRotation="-90 0 90">
                <target ikChain="rightFoot" targetNode="0>2|2|3" />
                <target ikChain="leftFoot"  targetNode="0>2|2|2" />
                <target ikChain="rightArm"  targetNode="0>2|2|5" poseId="narrowFingers"/>
                <target ikChain="leftArm"   targetNode="0>2|2|4" poseId="flatFingers"/>
        </characterNode>
		</passengerSeat>
		<passengerSeat node="0>2|3" exitPoint="0>2|3|6" outdoorCameraIndex="1">
        <camera node="0>2|3|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" useOutdoorSounds="true" positionSmoothingParameter="0" />
        <characterNode node="0>2|3|1" cameraMinDistance="0.5" spineRotation="-90 0 90">
                <target ikChain="rightFoot" targetNode="0>2|3|3" />
                <target ikChain="leftFoot"  targetNode="0>2|3|2" />
                <target ikChain="rightArm"  targetNode="0>2|3|5" poseId="narrowFingers"/>
                <target ikChain="leftArm"   targetNode="0>2|3|4" poseId="flatFingers"/>
        </characterNode>
		</passengerSeat>
		<passengerSeat node="0>2|4" exitPoint="0>2|4|6" outdoorCameraIndex="1">
        <camera node="0>2|4|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" useOutdoorSounds="true" positionSmoothingParameter="0" />
        <characterNode node="0>2|4|1" cameraMinDistance="0.5" spineRotation="-90 0 90">
                <target ikChain="rightFoot" targetNode="0>2|4|3" />
                <target ikChain="leftFoot"  targetNode="0>2|4|2" />
                <target ikChain="rightArm"  targetNode="0>2|4|5" poseId="narrowFingers"/>
                <target ikChain="leftArm"   targetNode="0>2|4|4" poseId="flatFingers"/>
        </characterNode>
		</passengerSeat>
		<passengerSeat node="0>2|5" exitPoint="0>2|5|6" outdoorCameraIndex="1">
        <camera node="0>2|5|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" useOutdoorSounds="true" positionSmoothingParameter="0" />
        <characterNode node="0>2|5|1" cameraMinDistance="0.5" spineRotation="-90 0 90">
                <target ikChain="rightFoot" targetNode="0>2|5|3" />
                <target ikChain="leftFoot"  targetNode="0>2|5|2" />
                <target ikChain="rightArm"  targetNode="0>2|5|5" poseId="narrowFingers"/>
                <target ikChain="leftArm"   targetNode="0>2|5|4" poseId="flatFingers"/>
        </characterNode>
		</passengerSeat>
	</passengerSeats> 
	
    </enterable>
    <motorized>
		<consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="70"  fillType="diesel" />
            </consumerConfiguration>			
        </consumerConfigurations>
		<differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="3" wheelIndex2="4" /> <!-- back left-right -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
		<motorConfigurations>
        <motorConfiguration name="Nysa original" hp="70" price="0">
                <motor torqueScale="0.84" minRpm="850" maxRpm="3700" maxForwardSpeed="80" maxBackwardSpeed="15" brakeForce="1" lowBrakeForceScale="0.000002" dampingRateScale="0.15">
                    <torque normRpm="0.58" torque="0.6"/>
                    <torque normRpm="0.60" torque="0.7"/>
                    <torque normRpm="0.68" torque="0.8"/>
                    <torque normRpm="0.72" torque="1"/>
                    <torque normRpm="1" torque="0.8"/>
                </motor>
				<transmission autoGearChangeTime="0.5" gearChangeTime="0.4" axleRatio="12" startGearThreshold="0.35" name="$l10n_info_transmission_manual">
                    <directionChange useGear="true" useGroup="false" changeTime="0.5"/>
                    <forwardGear gearRatio="2.55" name="1" />
                    <forwardGear gearRatio="2.00" name="2" />
                    <forwardGear gearRatio="1.45" name="3" />
                    <forwardGear gearRatio="1.20" name="4" />
                    <backwardGear gearRatio="3.20" name="R"/>
                </transmission>
            </motorConfiguration>
		</motorConfigurations>
		<exhaustEffects>
            <exhaustEffect node="0>0|13|0" filename="$data/effects/exhaust/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" />
        </exhaustEffects>
		
		<gearLevers>
            <gearLever node="0>0|27|33|0" centerAxis="3" changeTime="0.5" handsOnDelay="0.25">               
				<state gear="-1" xRot="-10" zRot="10"  />
                <state gear="0" xRot="0"   zRot="0"  />
                <state gear="1" xRot="10"  zRot="-10" />
                <state gear="2" xRot="-10"  zRot="-10"  />
                <state gear="3" xRot="10" zRot="0"  />
                <state gear="4" xRot="-10"  zRot="0"  />
            </gearLever>
        </gearLevers> 
         
		<dashboards>
            <dashboard displayType="ANIMATION" valueType="speed" intensity="0.2" animName="speedDisplay"   groups="MOTOR_ACTIVE"/>
		    <dashboard displayType="ANIMATION" valueType="motorTemperature" animName="loadingBarTemperature" minValueAnim="50" maxValueAnim="130" groups="MOTOR_ACTIVE"/>
		</dashboards> 
    </motorized>
    <drivable>
        <steeringWheel node="0>0|4|0" indoorRotation="210" outdoorRotation="70"/>
    </drivable>
    <animations>
        <animation name="speedDisplay">
            <part node="0>1|0|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -155 0"/>
        </animation>
		<animation name="loadingBarTemperature">
            <part node="0>1|1|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -57 0"/>
        </animation>
		<animation name="fuelDisplay">
            <part node="0>1|2|0" startTime="0" endTime="1" startRot="0 -58 0" endRot="0 0 0" />
		</animation>
		<animation name="sideDoor">
            <part node="0>0|5" startTime="0" endTime="1" startRot="0 0 0" endRot="8 90 0" />
		</animation> 
    </animations>
	
	
	<foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts posDirectionText="$l10n_doorClose" negDirectionText="$l10n_doorOpen">
                    <foldingPart animationName="sideDoor" speedScale="1"/>
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

	<baseMaterial>
        <material name="test" baseNode="0>0|27|2">
            <shaderParameter name="colorMat0" material="6" value="0.8 0.55 0.05 16"/> <!--test -->
        </material>
		<material name="racs" baseNode="0>0|27|41">
            <shaderParameter name="colorMat0" material="6" value="0.8 0.55 0.05 16"/> <!--test -->
        </material>
		<material name="bhkajto" baseNode="0>0|5">
            <shaderParameter name="colorMat0" material="6" value="0.8 0.55 0.05 16"/> <!--test -->
        </material>
		<material name="beajto" baseNode="0>0|8">
            <shaderParameter name="colorMat0" material="6" value="0.8 0.55 0.05 16"/><!--lökháritó szin-->
        </material>
		<material name="jeajto" baseNode="0>0|9">
            <shaderParameter name="colorMat0" material="6" value="0.8 0.55 0.05 16"/><!--lökháritó szin-->
        </material>
		<material name="bhajto" baseNode="0>0|6">
            <shaderParameter name="colorMat0" material="6" value="0.8 0.55 0.05 16"/><!--lökháritó szin-->
        </material>
		<material name="jhajto" baseNode="0>0|7">
            <shaderParameter name="colorMat0" material="6" value="0.8 0.55 0.05 16"/><!--lökháritó szin-->
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations useDefaultColors="true" title="$l10n_configuration_felsoMaterial" price="0">
		<baseMaterialConfiguration name="24 Ruby red"      	    price="0" color="0.6 0.03 0.0 16"/> 
		<baseMaterialConfiguration name="295 Orange"      	 	price="0" color="0.98 0.3 0.0 16"/> 
		<baseMaterialConfiguration name="480 Cornflower blue"   price="0" color="0 0.2 1 16"/> 
		<baseMaterialConfiguration name="325 Pistachio green"   price="0" color="0.5 0.8 0.54 16"/>
		<baseMaterialConfiguration name="225 Pastel yellow"     price="0" color="1 1 0.04 16"/> 
		<baseMaterialConfiguration name="201 Snow white"     	price="0" color="0.95 0.95 0.95 0 16"/> 
		<baseMaterialConfiguration name="509 Cappuccino"     	price="0" color="0.8 0.5 0.3 16"/> 
		<baseMaterialConfiguration name="235 Beige"     	    price="0" color="0.4 0.18 0.1 16"/> 
		<baseMaterialConfiguration name="356 Toffee"     	    price="0" color="1 0.57 0.1 16"/> 
		<baseMaterialConfiguration name="793 Chocolate brown"   price="0" color="0.23 0.125 0.09 16"/> 
		<baseMaterialConfiguration name="386 Dark green"     	price="0" color="0 0.235 0 16"/> 
		<baseMaterialConfiguration name="208 Gold circle"     	price="0" color="0.82 0.54 0.01 16"/> 
		<baseMaterialConfiguration name="268 Vanilla"     	    price="0" color="1 0.95 0.63 16"/> 
		<baseMaterialConfiguration name="384 Mossy green"     	price="0" color="0 0.38 0.133 16"/> 
		<baseMaterialConfiguration name="425 Adriatic blue"     price="0" color="0 0.4 1 16"/> 
		<baseMaterialConfiguration name="671 Rims Grey"     	price="0" color="0.808 0.824 0.859 16"/> 
		<material name="test" shaderParameter="colorMat0"/>
		<material name="racs" shaderParameter="colorMat0"/>
		<material name="bhkajto" shaderParameter="colorMat0"/>
		<material name="beajto" shaderParameter="colorMat0"/>
		<material name="jeajto" shaderParameter="colorMat0"/>
		<material name="bhajto" shaderParameter="colorMat0"/>
		<material name="jhajto" shaderParameter="colorMat0"/>
	</baseMaterialConfigurations> 
	
	<lights>

	    <states>
            <state lightTypes="1" />
			<state lightTypes="2" />
        </states>
		
		    <realLights>
            <low>
                <light node="0>0|18|2" lightTypes="1"/>
                <light node="0>0|18|0" lightTypes="2"/>
				<light node="0>0|18|1" lightTypes="2"/>
                <light node="0>0|20" lightTypes="1 2"/>
				<light node="0>0|21" lightTypes="1 2"/>
				<turnLightLeft node="0>0|17|2"/>
				<turnLightLeft node="0>0|17|3"/>
                <turnLightRight node="0>0|17|0"/>
				<turnLightRight node="0>0|17|1"/>
                <brakeLight node="0>0|19"/>
            </low>
            <high>
                <light node="0>0|18|2" lightTypes="1"/>
                <light node="0>0|18|0" lightTypes="2"/>
				<light node="0>0|18|1" lightTypes="2"/>
                <light node="0>0|20" lightTypes="1 2"/>
				<light node="0>0|21" lightTypes="1 2"/>
				<turnLightLeft node="0>0|17|2"/>
				<turnLightLeft node="0>0|17|3"/>
                <turnLightRight node="0>0|17|0"/>
				<turnLightRight node="0>0|17|1"/>
                <brakeLight node="0>0|19"/>
            </high>
        </realLights>
        <defaultLights>
			<defaultLight shaderNode="0>0|27|46" lightTypes="1 2"/>
			<defaultLight shaderNode="0>0|27|43" lightTypes="1 2"/>
			<defaultLight shaderNode="0>0|35|4" lightTypes="1"/>
			<defaultLight shaderNode="0>0|35|0" lightTypes="2"/>
        </defaultLights>
        <turnLights>
		    <turnLightRight shaderNode="0>0|27|65|0"/>
			<turnLightRight shaderNode="0>0|27|65|1"/>
			<turnLightRight shaderNode="0>0|27|65|2"/>
            <turnLightLeft shaderNode="0>0|27|65|3"/>
			<turnLightLeft shaderNode="0>0|27|65|4"/>
			<turnLightLeft shaderNode="0>0|27|65|5"/>
			<turnLightRight shaderNode="0>0|35|5"/>
            <turnLightLeft shaderNode="0>0|35|3"/>
        </turnLights>
		
		
        <brakeLights>
            <brakeLight shaderNode="0>0|27|43"/>
			<brakeLight shaderNode="0>0|35|1"/>
			<brakeLight shaderNode="0>0|35|2"/>
        </brakeLights>
		
		
        <beaconLights>
            <beaconLight node="0>0|29" filename="$data/shared/assets/beaconLights/lizard/beaconLight07.xml"/>
			<beaconLight node="0>0|30" filename="$data/shared/assets/beaconLights/lizard/beaconLight07.xml"/>
        </beaconLights>
    </lights>
	<design2Configurations>
        <design2Configuration name="$l10n_no_beacon" price="0">
            <objectChange node="0>0|29" visibilityActive="false"/>
			<objectChange node="0>0|30" visibilityActive="false"/>
        </design2Configuration>
        <design2Configuration name="$l10n_beacon1" price="100">
            <objectChange node="0>0|29" visibilityActive="true"/>
			<objectChange node="0>0|30" visibilityActive="true"/>
        </design2Configuration>
    </design2Configurations>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="55" unitTextOverride="$l10n_unit_literShort" fillTypes="diesel" showOnHud="true" showInShop="false"/>
					<dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE"/>               
			   </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	<dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
    </dashboard>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
    <ai>
        <collisionTrigger node="0>0|34"/>
    </ai>
</vehicle>