diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/brush47.xml | 31 | ||||
-rw-r--r-- | res/rail/cabWindowFront.png | bin | 0 -> 630 bytes | |||
-rw-r--r-- | res/rail/roofSideWithVents.png | bin | 0 -> 17011 bytes | |||
-rw-r--r-- | res/rail/roofTopWithVents.png | bin | 0 -> 11921 bytes |
4 files changed, 24 insertions, 7 deletions
diff --git a/res/brush47.xml b/res/brush47.xml index dbd3327..31518c8 100644 --- a/res/brush47.xml +++ b/res/brush47.xml @@ -2,8 +2,7 @@ <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" colour="#413b3a"/> - <face id="bottom" colour="#413b3a"/> + <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> @@ -59,17 +58,35 @@ </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="19.38" wheelBase="15.70" maxSpeed="42.4688"> <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" colour="goldenrod"/> - <face id="back" colour="goldenrod"/> + <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" colour="#e1eff3"/> - <face id="back" colour="#e1eff3"/> - <face id="top" type="extrude" scale="0.5,0.85,0" smooth="true" position="0,0,0.575" colour="#aeb0b0"/> + <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> diff --git a/res/rail/cabWindowFront.png b/res/rail/cabWindowFront.png Binary files differnew file mode 100644 index 0000000..3803f21 --- /dev/null +++ b/res/rail/cabWindowFront.png diff --git a/res/rail/roofSideWithVents.png b/res/rail/roofSideWithVents.png Binary files differnew file mode 100644 index 0000000..67ed851 --- /dev/null +++ b/res/rail/roofSideWithVents.png diff --git a/res/rail/roofTopWithVents.png b/res/rail/roofTopWithVents.png Binary files differnew file mode 100644 index 0000000..0f64ced --- /dev/null +++ b/res/rail/roofTopWithVents.png |