]> git.localhorst.tv Git - blank-assets.git/commitdiff
mark eyes in models
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 19 Oct 2015 12:05:16 +0000 (14:05 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 19 Oct 2015 12:34:36 +0000 (14:34 +0200)
or somthing similar

data/default.models

index 2b1d425fed36e531d212c4a24946bdd3fd062d87..2fe0a1bcd129578ea8f0bb4f6d04b045ba0bab03 100644 (file)
@@ -10,6 +10,7 @@ player = {
                        }
                ];
        };
+       eyes = 1;
 };
 
 monster = {
@@ -18,15 +19,19 @@ monster = {
                textures = [ "rock-1" ];
                rgb_mod = [ 1, 1, 0 ];
                children = [{
-                       shape = player_head;
-                       position = [ -0.275, 0.375, 0 ];
-                       textures = [ "rock-1", "rock-face" ];
-                       rgb_mod = [ 1, 0, 0 ];
-               }, {
-                       shape = player_head;
-                       position = [ 0.275, 0.375, 0 ];
-                       textures = [ "rock-1", "rock-face" ];
-                       rgb_mod = [ 1, 0.5, 0 ];
+                       position = [ 0, 0.375, 0 ];
+                       children = [{
+                               shape = player_head;
+                               position = [ -0.275, 0.375, 0 ];
+                               textures = [ "rock-1", "rock-face" ];
+                               rgb_mod = [ 1, 0, 0 ];
+                       }, {
+                               shape = player_head;
+                               position = [ 0.275, 0.375, 0 ];
+                               textures = [ "rock-1", "rock-face" ];
+                               rgb_mod = [ 1, 0.5, 0 ];
+                       }];
                }];
        };
+       eyes = 1;
 };