Browse Source

Update Chicken prefab

Josh Engebretson 10 years ago
parent
commit
51a7357471
2 changed files with 19 additions and 7 deletions
  1. 11 5
      Chickens/Resources/Prefabs/Chicken.prefab
  2. 8 2
      Chickens/Resources/Scenes/Scene.scene

+ 11 - 5
Chickens/Resources/Prefabs/Chicken.prefab

@@ -1,12 +1,12 @@
 <?xml version="1.0"?>
 <?xml version="1.0"?>
-<node id="378">
+<node id="372">
 	<attribute name="Is Enabled" value="true" />
 	<attribute name="Is Enabled" value="true" />
 	<attribute name="Name" value="Chicken" />
 	<attribute name="Name" value="Chicken" />
 	<attribute name="Position" value="0 0 0" />
 	<attribute name="Position" value="0 0 0" />
 	<attribute name="Rotation" value="1 0 0 0" />
 	<attribute name="Rotation" value="1 0 0 0" />
 	<attribute name="Scale" value="1 1 1" />
 	<attribute name="Scale" value="1 1 1" />
 	<attribute name="Variables" />
 	<attribute name="Variables" />
-	<component type="AnimatedModel" id="2280">
+	<component type="AnimatedModel" id="2352">
 		<attribute name="Model" value="Model;ec7c3962ae69596f19c6fe3047bd92d0.mdl" />
 		<attribute name="Model" value="Model;ec7c3962ae69596f19c6fe3047bd92d0.mdl" />
 		<attribute name="Material" value="Material;Models/Materials/Chicken.material;Models/Materials/Comb.material;Models/Materials/Chicken.material" />
 		<attribute name="Material" value="Material;Models/Materials/Chicken.material;Models/Materials/Comb.material;Models/Materials/Chicken.material" />
 		<attribute name="Cast Shadows" value="true" />
 		<attribute name="Cast Shadows" value="true" />
@@ -51,16 +51,22 @@
 		<attribute name="Animation States">
 		<attribute name="Animation States">
 			<variant type="Int" value="0" />
 			<variant type="Int" value="0" />
 		</attribute>
 		</attribute>
+		<attribute name="Geometry Enabled">
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+		</attribute>
 	</component>
 	</component>
-	<component type="AnimationController" id="2281">
+	<component type="AnimationController" id="2353">
 		<attribute name="Node Animation States">
 		<attribute name="Node Animation States">
 			<variant type="Int" value="0" />
 			<variant type="Int" value="0" />
 		</attribute>
 		</attribute>
+		<attribute name="Animation" value="Animation;ec7c3962ae69596f19c6fe3047bd92d0_Walk.ani" />
 	</component>
 	</component>
-	<component type="JSComponent" id="2282">
+	<component type="JSComponent" id="2354">
 		<attribute name="ComponentFile" value="JSComponentFile;Components/Player.js" />
 		<attribute name="ComponentFile" value="JSComponentFile;Components/Player.js" />
 	</component>
 	</component>
-	<component type="SoundSource3D" id="2283">
+	<component type="SoundSource3D" id="2355">
 		<attribute name="Sound" value="Sound;Sound/chicken.wav" />
 		<attribute name="Sound" value="Sound;Sound/chicken.wav" />
 		<attribute name="Far Distance" value="20" />
 		<attribute name="Far Distance" value="20" />
 	</component>
 	</component>

+ 8 - 2
Chickens/Resources/Scenes/Scene.scene

@@ -5,8 +5,8 @@
 	<attribute name="Smoothing Constant" value="50" />
 	<attribute name="Smoothing Constant" value="50" />
 	<attribute name="Snap Threshold" value="5" />
 	<attribute name="Snap Threshold" value="5" />
 	<attribute name="Elapsed Time" value="0" />
 	<attribute name="Elapsed Time" value="0" />
-	<attribute name="Next Replicated Node ID" value="384" />
-	<attribute name="Next Replicated Component ID" value="2344" />
+	<attribute name="Next Replicated Node ID" value="385" />
+	<attribute name="Next Replicated Component ID" value="2441" />
 	<attribute name="Next Local Node ID" value="16778496" />
 	<attribute name="Next Local Node ID" value="16778496" />
 	<attribute name="Next Local Component ID" value="16777216" />
 	<attribute name="Next Local Component ID" value="16777216" />
 	<attribute name="Variables" />
 	<attribute name="Variables" />
@@ -67,6 +67,9 @@
 		<component type="StaticModel" id="1981">
 		<component type="StaticModel" id="1981">
 			<attribute name="Model" value="Model;fea6551833c1584347b4a6bee5d05565.mdl" />
 			<attribute name="Model" value="Model;fea6551833c1584347b4a6bee5d05565.mdl" />
 			<attribute name="Material" value="Material;Models/Materials/DefaultMaterial.material" />
 			<attribute name="Material" value="Material;Models/Materials/DefaultMaterial.material" />
+			<attribute name="Geometry Enabled">
+				<variant type="Bool" value="true" />
+			</attribute>
 		</component>
 		</component>
 	</node>
 	</node>
 	<node id="367">
 	<node id="367">
@@ -79,6 +82,9 @@
 		<component type="Skybox" id="1982">
 		<component type="Skybox" id="1982">
 			<attribute name="Model" value="Model;fea6551833c1584347b4a6bee5d05565.mdl" />
 			<attribute name="Model" value="Model;fea6551833c1584347b4a6bee5d05565.mdl" />
 			<attribute name="Material" value="Material;Models/Materials/Skybox.material" />
 			<attribute name="Material" value="Material;Models/Materials/Skybox.material" />
+			<attribute name="Geometry Enabled">
+				<variant type="Bool" value="true" />
+			</attribute>
 		</component>
 		</component>
 	</node>
 	</node>
 	<node id="369">
 	<node id="369">