summaryrefslogtreecommitdiff
path: root/res/brush47.xml
blob: dc332826775dc88b740d435fd5c0a998e632f23d (plain)
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
<?xml version="1.0"?>
<ilt p.id="assetFactory">
  <object id="wheel">
    <use type="cylinder" position="0,0,0.571" scale="1.142,1.142,0.07" rotation="0,0,1.5708" colour="silver">
      <face id="top bottom" colour="#413b3a"/>
    </use>
    <use type="cuboid" scale="0.3,0.5,0.3" position="0.2,0,0.421" colour="grey30"/>
  </object>
  <object id="spring">
    <use type="cylinder" scale="0.15,0.15,0.2" position="0,0,-0.1" colour="red"/>
  </object>
  <object id="spring-pair">
    <use type="spring" position="0.0,-0.1,0.0"/>
    <use type="spring" position="0.0,0.1,0.0"/>
  </object>
  <object id="axel">
    <use type="wheel" position="-0.717,0,0" rotation="0,3.14159,0"/>
    <use type="wheel" position="0.717,0,0"/>
    <use type="cylinder" scale="0.1,0.1,2.2" position="-1.1,0,0.571" rotation="0,0,1.5708" colour="yellow"/>
  </object>
  <object id="bogie-side">
    <use type="spring-pair" position="0,-1.1,0"/>
    <use type="spring-pair" position="0,1.1,0"/>
    <use type="cuboid" scale="0.2,4.3,0.15" position="0,0,-0.25" colour="darkgrey">
      <face id="bottom" type="extrude" scale="1,0.3,1" position="0,0,-0.1"/>
    </use>
    <use type="cuboid" scale="0.2,4.3,0.15" position="0,0,0.1" colour="darkgrey">
      <face id="top" type="extrude" scale="1,0.3,1" position="0,0,0.3"/>
    </use>
  </object>
  <object id="bogie">
    <use type="axel" position="0,0,0"/>
    <use type="axel" position="0,2,0"/>
    <use type="axel" position="0,-2,0"/>
    <use type="bogie-side" position="0.9,0,0.571"/>
    <use type="bogie-side" position="-0.9,0,0.571"/>
    <use type="cuboid" scale="1.8,0.6,0.5" position="0,1,0.4" colour="darkgrey"/>
    <use type="cuboid" scale="1.8,0.6,0.5" position="0,-1,0.4" colour="darkgrey"/>
    <use type="cuboid" scale="1.2,1.9,0.5" position="0,0,0.5" colour="grey30"/>
    <use type="cuboid" scale="1,5.3,0.4" position="0,0,0.4" colour="darkgrey"/>
    <use type="cuboid" scale="1.6,0.2,0.3" position="0,2.7,0.4" colour="grey30"/>
  </object>
  <object id="battery">
    <use type="cuboid" scale="2.6,2.2,0.7" position="0,0,0.4" colour="slategrey">
      <face id="bottom" type="extrude" scale="0.6,1,1" position="0,0,-0.3"/>
    </use>
  </object>
  <object id="buffer">
    <use type="cylinder" scale="0.3,0.3,0.3" colour="grey10"/>
    <use type="cylinder" scale="0.6,0.6,0.1" position="0,0,0.3" colour="grey10"/>
  </object>
  <object id="buffers">
    <use type="buffer" rotation="-1.5708,0,0" position="1.1,0,-0.3"/>
    <use type="buffer" rotation="-1.5708,0,0" position="-1.1,0,-0.3"/>
    <use type="cuboid" scale="2.65,0.1,0.6" position="0,-0.05,-0.6">
      <face id="front" type="extrude" scale="0.9,1,0.4" position="0,-0.5,0.18">
        <face id="front" type="extrude" scale="0.4,1,0" position="0,-0.5,0.09"/>
      </face>
    </use>
  </object>
  <textureFragment id="roofSideWithVents" path="rail/roofSideWithVents.png"/>
  <textureFragment id="roofTopWithVents" path="rail/roofTopWithVents.png"/>
  <textureFragment id="cabWindowFront" path="rail/cabWindowFront.png"/>
  <asset p.typeid="RailVehicleClass" id="brush-47" name="Brush 47" length="19380" wheelBase="15700" maxSpeed="42468.8">
    <bodyMesh id="body" size="2.69,19.38,3.9">
      <use type="cuboid" position="0,0,1.2" scale="2.69,19.38,0.3" colour="goldenrod">
        <face id="bottom" colour="#2c3539"/>
        <face id="top" type="extrude" position="0,0,1.05" colour="#2c4f5a">
          <face id="front back" colour="goldenrod"/>
          <face id="right left">
            <split id="frontcorner" origin="0,7.90704,0" normal="0,1,0"/>
            <split id="backcorner" origin="0,-7.90704,0" normal="0,-1,0"/>
            <face id="rightfrontcorner leftfrontcorner rightbackcorner leftbackcorner" colour="goldenrod"/>
          </face>
          <face id="top" type="extrude" scale="1,0.96,1" position="0,0,0.775">
            <face id="front back" texture="cabWindowFront"/>
            <face id="right left">
              <split id="frontcorner" origin="0,7.90704,0" normal="0,1,0"/>
              <split id="backcorner" origin="0,-7.90704,0" normal="0,-1,0"/>
              <face id="rightfrontcorner leftfrontcorner rightbackcorner leftbackcorner" texture="cabWindowFront"/>
            </face>
            <face id="top" type="extrude" scale="0.5,0.85,0" smooth="true" position="0,0,0.575" colour="#aeb0b0">
              <face id="top" texture="roofTopWithVents"/>
              <face id="right left">
                <split id="frontcorner" origin="0,7.90704,0" normal="0,1,0"/>
                <split id="backcorner" origin="0,-7.90704,0" normal="0,-1,0"/>
                <face id="right left" texture="roofSideWithVents"/>
              </face>
            </face>
          </face>
        </face>
      </use>
      <use type="cuboid" position="0,0,0.3" scale="1.6,4,1" colour="darkslategrey"/>
      <use type="battery" position="0,1.2,0"/>
      <use type="battery" position="0,-1.2,0"/>
      <use type="buffers" position="0,9.69,1.2" colour="grey20"/>
      <use type="buffers" position="0,-9.69,1.2" colour="grey20" rotation="0,3.14159,0"/>
    </bodyMesh>
    <bogie id="bogie1">
      <use type="bogie" position="0,-1.85,0"/>
    </bogie>
    <bogie id="bogie2">
      <use type="bogie" position="0,1.85,0" rotation="0,3.14159,0"/>
    </bogie>
  </asset>
</ilt>