Скрипт из XML документа "modDesc от мода МТЗ 80"
| XML |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
| <?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="4">
<author>Clondike</author>
<version>1.0</version>
<title>
<en>mtz</en>
<de>mtz</de>
</title>
<description>
<en>mtz</en>
<de>mtz</de>
</description>
<l10n>
<text name="Z��ng">
<en>Motor indit/leallit</en>
<de>Motor indit/leallit</de>
</text>
<text name="ESLimiter_level">
<en>Level</en>
<de>Stufe</de>
</text>
<text name="ESLimiter_controls">
<en>ESLimiter:</en>
<de>Drehzahlbegrenzer:</de>
</text>
<text name="AUTOSTEER">
<en>Autosteer : ON/OFF</en>
<de>Autosteer : ON/OFF</de>
<fr>Autosteer : ON/OFF</fr>
</text>
</l10n>
<extraSourceFiles>
<sourceFile filename="ExtraFile.lua" />
</extraSourceFiles>
<specializations>
<specialization name="MTZ82" className="MTZ82" filename="MTZ82.lua"/>
<specialization name="wheelParticleSpec" className="wheelParticle" filename="wheelParticle.lua" />
<specialization name="mirror" className="mirror" filename="mirror.lua"/>
<specialization name="MHautosteer" className="MHautosteer" filename="MHautosteer.lua" />
<specialization name="ESLimiter" className="ESLimiter" filename="ESLimiter.lua" />
<specialization name="operatingHours" className="OperatingHours" filename="OperatingHours.lua" />
</specializations>
<vehicleTypes>
<type name="MTZ82" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="motorized" />
<specialization name="steerable" />
<specialization name="hirable" />
<specialization name="aiTractor" />
<specialization name="MTZ82"/>
<specialization name="wheelParticleSpec" />
<specialization name="ESLimiter" />
<specialization name="operatingHours" />
<specialization name="MHautosteer" />
<specialization name="mirror" />
</type>
</vehicleTypes>
<storeItems>
<storeItem>
<en>
<name>MTZ-80</name>
<description>
<![CDATA[
Modell: Max1985,Tornado,Nickel77
Scripts: Tornado
Texturing and edit: Clondike]]>
</description>
</en>
<de>
<name>MTZ-80</name>
<description>
<![CDATA[
Modell: Max1985,Tornado,Nickel77
Scripts: Tornado
Texturing and edit: Clondike]]>
</description>
<name>mtz</name>
<iconFilename>store.png</iconFilename>
<multiplayer supported="true"/>
</de>
<rotation>180</rotation>
<image active="store.png"/>
<price>300</price>
<xmlFilename>MTZ82.xml</xmlFilename>
</storeItem>
</storeItems>
<inputBindings>
<input name="ACCELERATE" key="KEY_KP_plus" button="" />
<input name="DECELERATE" key="KEY_KP_minus" button="" />
<input name="ZUENDUNG" key="KEY_6" button="" />
<input name="HUPE" key="KEY_5" button="" />
<input name="RADIO" key="KEY_r" button="" />
<input name="ESLimiter_PLUS" category="VEHICLE" key1="KEY_pageup" key2="" button="" device="0" mouse="" />
<input name="ESLimiter_MINUS" category="VEHICLE" key1="KEY_pagedown" key2="" button="" device="0" mouse="" />
<input name="MHAUTOSTEER" category="VEHICLE" key1="KEY_KP_multiply" key2="" button="" device="0" mouse="" />
</inputBindings>
</modDesc> |
|
Добавлено через 3 минуты
Скрипт из XML документа мода MTZ 82. Интересует, пропись активаций функций самого мода. То есть каждая строчка XML скрипта активирует открывание дверей,поворот колес,свечение фар,пропись звуковых фаилов,дым из трубы,гидравлика.
| XML |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
| <?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="MTZ82">
<annotation>Copyright (C) Boembchen u.GIANTS Software GmbH, All Rights Reserved.</annotation>
<name>
<en>MTZ80</en>
<de>MTZ80</de>
</name>
<description></description>
<filename>MTZ82.i3d</filename>
<wheels autoRotateBackSpeed="2.5">
<wheel rotSpeed="50" rotMax="35" rotMin="-35" driveMode="2" repr="1>0" driveNode="1>0|0" radius="0.53" deltaY="0" suspTravel="0" spring="180" damper="0" mass="0.35" lateralStiffness="10" />
<wheel rotSpeed="50" rotMax="35" rotMin="-35" driveMode="2" repr="1>1" driveNode="1>1|0" radius="0.53" deltaY="0" suspTravel="0" spring="180" damper="0" mass="0.35" lateralStiffness="10" />
<wheel rotSpeed="0" driveMode="1" repr="2" driveNode="2" radius="0.9" deltaY="0" suspTravel="0" spring="100" damper="10" mass="0.35" lateralStiffness="30" />
<wheel rotSpeed="0" driveMode="1" repr="3" driveNode="3" radius="0.9" deltaY="0" suspTravel="0" spring="100" damper="10" mass="0.35" lateralStiffness="30" />
</wheels>
<motor minRpm="180" maxRpm="350 600 2200" brakeForce="5" forwardGearRatio="2.5" backwardGearRatio="2.1" differentialRatio="4" rpmFadeOutRange="20">
<torque rpm="500" torque="2.5"/>
<torque rpm="900" torque="3.5"/>
<torque rpm="1100" torque="4.6"/>
<torque rpm="1750" torque="4.0"/>
<torque rpm="1800" torque="2.7"/>
</motor>
<fuelCapacity>120</fuelCapacity>
<fuelUsage>0.002</fuelUsage>
<downForce>4</downForce>
<cameras count="2">
<camera2 index="4|0" rotatable="true" rotateNode="4" limit="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="50" />
<camera1 index="5" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
</cameras>
<lights count="3">
<light1 index="12" />
<light2 index="12" />
<light3 index="12" />
</lights>
<steering index="20|0" rotationSpeed="6"/>
<enterReferenceNode index="0>" />
<exitPoint index="9" />
<cuttingAreas count="0">
<!--cuttingArea1 startIndex="6" widthIndex="7" heightIndex="8" losing="true"/-->
</cuttingAreas>
<trailerAttacherJoints>
<trailerAttacherJoint index="32" />
<trailerAttacherJoint index="10" minY="1.03" maxY="1.35" moveable="true" />
<trailerAttacherJoint index="22" low="true" />
<trailerAttacherJoint index="0>15|0|1|0|2" low="false"/>
<trailerAttacherJoint index="0>15|0|1|0|3" low="true"/>
</trailerAttacherJoints>
<tipCamera index="11" />
<radioSound file="$data/radio/radio.wav" volume="0.6" />
<attachSound file="data/vehicles/steerable/fendt/attach.wav" pitchOffset="1" />
<motorStartSound file="Start.wav" pitchOffset="1" volume="0.8" />
<motorSound file="run.wav" pitchOffset="1" pitchScale="0.01" pitchMax="1.7" volume="0.8" />
<motorSoundRun file="run2.wav" pitchOffset="0.8" pitchScale="0.02" pitchMax="1.16" volume="1.0" />
<motorStopSound file="out.wav" pitchOffset="0.8" />
<compressedAirSound file="kompressor.wav" pitchOffset="1" volume="1.0"/>
<compressionSound file="kompressor.wav" pitchOffset="1" volume="1.5"/>
<aiMotorSound file="run.wav" pitchOffset="1" radius="25" innerRadius="4" volume="1.0" />
<brakeSound file="bremse.wav" pitchOffset="1"/>
<exhaustParticleSystems count="1">
<exhaustParticleSystem1 position="-0.41828 2.64371 0.50946" rotation="60 0 0" file="exhaustParticleSystemBig.i3d" />
</exhaustParticleSystems>
<attacherJoints>
<attacherJoint index="14|0|0" rotationNode="14" maxRot="-10 0 0" rotationNode2="14|0" maxRot2="10 0 0" maxTransLimit="0 0 0" maxRotLimit="0 0 22" moveTime="1.8">
<bottomArm rotationNode="15" translationNode="15|0" referenceNode="15|0|0" zScale="-1" />
<topArm rotationNode="16" translationNode="16|0" referenceNode="16|0|0" zScale="-1" />
</attacherJoint>
<attacherJoint index="17|0|0" rotationNode="17" maxRot="10 0 0" rotationNode2="17|0" maxRot2="-7 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.8">
<bottomArm rotationNode="18" translationNode="18|0" referenceNode="18|0|0" zScale="1" />
<topArm rotationNode="19" translationNode="19|0" referenceNode="19|0|0" zScale="1" />
</attacherJoint>
</attacherJoints>
<rightdoor index="36" minRot="0 0 0" maxRot="0 -185 0" rotTime="2.0" touchRotLimit="10"/>
<backwindow index="38" minRot="0 0 0" maxRot="25.52577 0 0" rotTime="2.0" touchRotLimit="10"/>
<leftDoor index="37" minRot="0 0 0" maxRot="0 185 0" rotTime="2.0" touchRotLimit="10"/>
<teto index="40" minRot="0 0 0" maxRot="-5 0 0" rotTime="2.0" touchRotLimit="10"/>
<abl1 index="25|0" minRot="0 0 0" maxRot="75 0 0" rotTime="2.0" touchRotLimit="10"/>
<abl2 index="46" minRot="0 0 0" maxRot="0 0 -12" rotTime="2.0" touchRotLimit="10"/>
<hidra1 index="26" minRot="0 0 0" maxRot="38 0 0" rotTime="2.0" touchRotLimit="10"/>
<hidra2 index="26|0|0" minRot="0 0 0" maxRot="-38 0 0" rotTime="2.0" touchRotLimit="10"/>
<hidra3 index="15" minRot="0 0 0" maxRot="22 0 0" rotTime="2.0" touchRotLimit="10"/>
<characterNode index="44|0" cameraMinDistance="1.5" />
<aiTrafficCollisionTrigger index="23" />
<components count="2">
<component1 centerOfMass="0 0 -2.9" solverIterationCount="30" />
<component2 centerOfMass="0 -0.3 0" solverIterationCount="10" />
<joint component1="0" component2="1" index="0>46" rotLimit="0 0 10" transLimit="0 0 0" />
</components>
<keys>
<input name="rundumleuchte" key="KEY_6" />
<input name="hilfe" key="KEY_0" />
</keys>
<brakelights count="1">
<brakelight1 index="43" />
</brakelights>
<farlights count="1">
<farlight1 index="24" />
</farlights>
<frontlights count="1">
<frontlight1 index="12" src="12|0" />
</frontlights>
<worklights count="1">
<worklight1 index="34" />
</worklights>
<turnlights count="1">
<turnlight1 index="42" /><!--Blinker Rechts-->
</turnlights>
<turnlights2 count="1">
<turnlight1 index="41" /><!--Blinker Links-->
</turnlights2>
<wheelParticleSystems file="wheelParticleSystem.i3d" >
<wheelParticleSystem node="47|0" />
<wheelParticleSystem node="47|1" />
<wheelParticleSystem node="47|2" />
<wheelParticleSystem node="47|3" />
</wheelParticleSystems>
<mirrors>
<mirror1 index="0>15|0|1|0" />
</mirrors>
<ESLimiter posX="0.7543" posY="0.1715" />
<operatingHours posX="0.7543" posY="0.1715" />
</vehicle> |
|