Browse Source

Update for new animation controller

Josh Engebretson 10 years ago
parent
commit
599ce49ce8

+ 4 - 3
RoboMan3D/Resources/Prefabs/Robo_01.prefab

@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<node id="424">
+<node id="386">
 	<attribute name="Is Enabled" value="true" />
 	<attribute name="Name" value="Robo_01" />
 	<attribute name="Position" value="0 0 0" />
@@ -187,15 +187,16 @@
 		<attribute name="Node Animation States">
 			<variant type="Int" value="0" />
 		</attribute>
-		<attribute name="Animation Resources" value="Animation;e30fa79a0b75b75cbe5b03a73baa28a5_Idle.ani;e30fa79a0b75b75cbe5b03a73baa28a5_Walk.ani;e30fa79a0b75b75cbe5b03a73baa28a5_Run.ani" />
+		<attribute name="Autoplay" value="false" />
+		<attribute name="AnimationResources" value="Animation;e30fa79a0b75b75cbe5b03a73baa28a5_Idle.ani;e30fa79a0b75b75cbe5b03a73baa28a5_Walk.ani;e30fa79a0b75b75cbe5b03a73baa28a5_Run.ani" />
 	</component>
 	<component type="JSComponent" id="2246">
 		<attribute name="ComponentFile" value="JSComponentFile;Components/RoboMan.js" />
 	</component>
 	<component type="JSComponent" id="2008">
+		<attribute name="ComponentFile" value="JSComponentFile;Components/AvatarController.js" />
 		<attribute name="FieldValues">
 			<variant hash="273365031" type="Float" value="1" />
 		</attribute>
-		<attribute name="ComponentFile" value="JSComponentFile;Components/AvatarController.js" />
 	</component>
 </node>

+ 2 - 2
RoboMan3D/Resources/Scenes/Test.scene

@@ -5,8 +5,8 @@
 	<attribute name="Smoothing Constant" value="50" />
 	<attribute name="Snap Threshold" value="5" />
 	<attribute name="Elapsed Time" value="0" />
-	<attribute name="Next Replicated Node ID" value="471" />
-	<attribute name="Next Replicated Component ID" value="2649" />
+	<attribute name="Next Replicated Node ID" value="474" />
+	<attribute name="Next Replicated Component ID" value="2841" />
 	<attribute name="Next Local Node ID" value="16778496" />
 	<attribute name="Next Local Component ID" value="16777216" />
 	<attribute name="Variables" />

+ 7 - 5
ToonTown/Resources/Scenes/ToonTown.scene

@@ -5,10 +5,10 @@
 	<attribute name="Smoothing Constant" value="50" />
 	<attribute name="Snap Threshold" value="5" />
 	<attribute name="Elapsed Time" value="0" />
-	<attribute name="Next Replicated Node ID" value="366" />
-	<attribute name="Next Replicated Component ID" value="1982" />
-	<attribute name="Next Local Node ID" value="16779520" />
-	<attribute name="Next Local Component ID" value="16778240" />
+	<attribute name="Next Replicated Node ID" value="368" />
+	<attribute name="Next Replicated Component ID" value="1984" />
+	<attribute name="Next Local Node ID" value="16780032" />
+	<attribute name="Next Local Component ID" value="16778752" />
 	<attribute name="Variables" />
 	<attribute name="Variable Names" value="" />
 	<component type="PhysicsWorld" id="1" />
@@ -6079,7 +6079,7 @@
 	<node id="361">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="Robo_01" />
-		<attribute name="Position" value="-58.68 40.21 -7.08" />
+		<attribute name="Position" value="-58.68 39.7996 -7.08" />
 		<attribute name="Rotation" value="1 0 0 0" />
 		<attribute name="Scale" value="1 1 1" />
 		<attribute name="Variables" />
@@ -6264,6 +6264,8 @@
 			<attribute name="Node Animation States">
 				<variant type="Int" value="0" />
 			</attribute>
+			<attribute name="Autoplay" value="false" />
+			<attribute name="AnimationResources" value="Animation;e30fa79a0b75b75cbe5b03a73baa28a5_Idle.ani;e30fa79a0b75b75cbe5b03a73baa28a5_Run.ani" />
 		</component>
 		<component type="JSComponent" id="1975">
 			<attribute name="ComponentFile" value="JSComponentFile;Components/RoboMan.js" />