summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 17:59:45 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 17:59:45 +0100
commit46784bfd9ca8d500971d2ec43fe83f12bddef117 (patch)
tree1eb96d07e9a17a51e5763f397fc003f762cd2e75
parentRemove the old .obj load, assets and supporting stuff (diff)
downloadilt-46784bfd9ca8d500971d2ec43fe83f12bddef117.tar.bz2
ilt-46784bfd9ca8d500971d2ec43fe83f12bddef117.tar.xz
ilt-46784bfd9ca8d500971d2ec43fe83f12bddef117.zip
Add an asset template and use it to define all the foliage assets in the plants pack
-rw-r--r--res/assetTemplate.m45
-rw-r--r--res/foliage.xml150
2 files changed, 155 insertions, 0 deletions
diff --git a/res/assetTemplate.m4 b/res/assetTemplate.m4
new file mode 100644
index 0000000..8750c42
--- /dev/null
+++ b/res/assetTemplate.m4
@@ -0,0 +1,5 @@
+ <asset p.typeid="TYPE" id="ID" name="ID">
+ <bodyMesh id="body">
+ <use type="ID"/>
+ </bodyMesh>
+ </asset>
diff --git a/res/foliage.xml b/res/foliage.xml
index 1b0a1aa..5345b39 100644
--- a/res/foliage.xml
+++ b/res/foliage.xml
@@ -6,4 +6,154 @@
<use type="Tree-01-1"/>
</bodyMesh>
</asset>
+ <asset p.typeid="Foliage" id="Tree-01-1" name="Tree-01-1">
+ <bodyMesh id="body">
+ <use type="Tree-01-1"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-01-2" name="Tree-01-2">
+ <bodyMesh id="body">
+ <use type="Tree-01-2"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-01-3" name="Tree-01-3">
+ <bodyMesh id="body">
+ <use type="Tree-01-3"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-01-4" name="Tree-01-4">
+ <bodyMesh id="body">
+ <use type="Tree-01-4"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-02-1" name="Tree-02-1">
+ <bodyMesh id="body">
+ <use type="Tree-02-1"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-02-2" name="Tree-02-2">
+ <bodyMesh id="body">
+ <use type="Tree-02-2"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-02-3" name="Tree-02-3">
+ <bodyMesh id="body">
+ <use type="Tree-02-3"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-02-4" name="Tree-02-4">
+ <bodyMesh id="body">
+ <use type="Tree-02-4"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-03-1" name="Tree-03-1">
+ <bodyMesh id="body">
+ <use type="Tree-03-1"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-03-2" name="Tree-03-2">
+ <bodyMesh id="body">
+ <use type="Tree-03-2"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-03-3" name="Tree-03-3">
+ <bodyMesh id="body">
+ <use type="Tree-03-3"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Tree-03-4" name="Tree-03-4">
+ <bodyMesh id="body">
+ <use type="Tree-03-4"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Hedge-01" name="Hedge-01">
+ <bodyMesh id="body">
+ <use type="Hedge-01"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Bush-01" name="Bush-01">
+ <bodyMesh id="body">
+ <use type="Bush-01"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Bush-02" name="Bush-02">
+ <bodyMesh id="body">
+ <use type="Bush-02"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Bush-03" name="Bush-03">
+ <bodyMesh id="body">
+ <use type="Bush-03"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Bush-04" name="Bush-04">
+ <bodyMesh id="body">
+ <use type="Bush-04"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Bush-05" name="Bush-05">
+ <bodyMesh id="body">
+ <use type="Bush-05"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Clover-01" name="Clover-01">
+ <bodyMesh id="body">
+ <use type="Clover-01"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Clover-02" name="Clover-02">
+ <bodyMesh id="body">
+ <use type="Clover-02"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Clover-03" name="Clover-03">
+ <bodyMesh id="body">
+ <use type="Clover-03"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Clover-04" name="Clover-04">
+ <bodyMesh id="body">
+ <use type="Clover-04"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Clover-05" name="Clover-05">
+ <bodyMesh id="body">
+ <use type="Clover-05"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Grass-01" name="Grass-01">
+ <bodyMesh id="body">
+ <use type="Grass-01"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Grass-02" name="Grass-02">
+ <bodyMesh id="body">
+ <use type="Grass-02"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Grass-03" name="Grass-03">
+ <bodyMesh id="body">
+ <use type="Grass-03"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Flowers-02" name="Flowers-02">
+ <bodyMesh id="body">
+ <use type="Flowers-02"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Flowers-04" name="Flowers-04">
+ <bodyMesh id="body">
+ <use type="Flowers-04"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Flowers-01" name="Flowers-01">
+ <bodyMesh id="body">
+ <use type="Flowers-01"/>
+ </bodyMesh>
+ </asset>
+ <asset p.typeid="Foliage" id="Flowers-03" name="Flowers-03">
+ <bodyMesh id="body">
+ <use type="Flowers-03"/>
+ </bodyMesh>
+ </asset>
</ilt>