summaryrefslogtreecommitdiff
path: root/res/brush47.xml
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-04 14:27:23 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-04 14:27:23 +0000
commit54ddcd3da0916b6a46f5fcf3f33ff0fbffe375ce (patch)
treea1a46ac32486375a7b2636e467779916d28c8c4c /res/brush47.xml
parentAdd Asset helpers to construct OpenGL ready meshes from Asset Factory meshes ... (diff)
downloadilt-54ddcd3da0916b6a46f5fcf3f33ff0fbffe375ce.tar.bz2
ilt-54ddcd3da0916b6a46f5fcf3f33ff0fbffe375ce.tar.xz
ilt-54ddcd3da0916b6a46f5fcf3f33ff0fbffe375ce.zip
Support and load factory asset directly into a RailVehicleClass instance
Diffstat (limited to 'res/brush47.xml')
-rw-r--r--res/brush47.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/res/brush47.xml b/res/brush47.xml
index 477610c..796641a 100644
--- a/res/brush47.xml
+++ b/res/brush47.xml
@@ -12,8 +12,8 @@
<use type="axel" position="0,2,0"/>
<use type="axel" position="0,-2,0"/>
</object>
- <asset id="brush-47" name="Brush 47">
- <mesh id="body" size="2.69,19.38,3.9">
+ <asset p.typeid="RailVehicleClass" id="brush-47" name="Brush 47">
+ <bodyMesh id="body" size="2.69,19.38,3.9">
<use type="cuboid" position="0,0,1.2" scale="2.69,19.38,1.5" colour="#2c4f5a">
<face id="bottom" colour="#2c3539"/>
<face id="front" colour="goldenrod"/>
@@ -25,12 +25,12 @@
</face>
</use>
<use type="cuboid" position="0,0,0.2" scale="2.6,4.5,1" colour="grey30"/>
- </mesh>
- <mesh id="bogie1">
+ </bodyMesh>
+ <bogie id="bogie1">
<use type="bogie" position="0,6,0" colour="#413b3a"/>
- </mesh>
- <mesh id="bogie2">
+ </bogie>
+ <bogie id="bogie2">
<use type="bogie" position="0,-6,0" rotation="0,3.14159,0" colour="#413b3a"/>
- </mesh>
+ </bogie>
</asset>
</ilt>