فهرست منبع

Clean up the cheetah's onLoad() TSShapeConstructor script

This prevents some console spam due to erroneous node removal requests.
thecelloman 12 سال پیش
والد
کامیت
1a87d56116
2فایلهای تغییر یافته به همراه0 افزوده شده و 7 حذف شده
  1. 0 6
      Templates/Full/game/art/shapes/Cheetah/Cheetah_Body.cs
  2. 0 1
      Templates/Full/game/art/shapes/Cheetah/wheel.cs

+ 0 - 6
Templates/Full/game/art/shapes/Cheetah/Cheetah_Body.cs

@@ -42,7 +42,6 @@ function CheetahDAE::onLoad(%this)
    %this.addSequence("timeline", "brakeLight", "50", "51");
    %this.setSequencePriority("brakeLight", "8");
    %this.setNodeTransform("cam", "5.46934e-008 -4.75632 2.89171 -0.404897 0.817636 0.409303 1.71107", "1");
-   %this.removeNode("EnvironmentAmbientLight");
    %this.removeNode("CheetahMesh300");
    %this.removeNode("CheetahMesh200");
    %this.removeNode("CheetahMesh100");
@@ -51,10 +50,5 @@ function CheetahDAE::onLoad(%this)
    %this.removeNode("TailLightsMesh200");
    %this.removeNode("TailLightsMesh100");
    %this.removeNode("TailLightsMesh2");
-   %this.removeNode("collision-1");
-   %this.removeNode("collision-5");
-   %this.removeNode("collision-4");
-   %this.removeNode("collision-3");
-   %this.removeNode("collision-2");
    %this.removeNode("nulldetail1");
 }

+ 0 - 1
Templates/Full/game/art/shapes/Cheetah/wheel.cs

@@ -32,7 +32,6 @@ singleton TSShapeConstructor(WheelDae)
 
 function WheelDae::onLoad(%this)
 {
-   %this.removeNode("EnvironmentAmbientLight");
    %this.removeNode("Tread_LOD100");
    %this.removeNode("Tread_LOD2");
    %this.removeNode("Tread_LOD300");