Browse Source

Minor corrections to some component scripts to clear old references.

Areloch 9 years ago
parent
commit
36bb0b3c54

+ 0 - 2
Templates/Full/game/scripts/server/components/game/camera.cs

@@ -22,8 +22,6 @@
 
 function CameraComponent::onAdd(%this) 
 {
-   Parent::onBehaviorAdd(%this);
-
    %this.addComponentField(clientOwner, "The client that views this camera", "int", "1", "");
 
    %test = %this.clientOwner;

+ 0 - 2
Templates/Full/game/scripts/server/components/game/controlObject.cs

@@ -24,8 +24,6 @@
 
 function ControlObjectComponent::onAdd(%this)
 {
-   Parent::onBehaviorAdd(%this);
-
    %this.addComponentField(clientOwner, "The shape to use for rendering", "int", "1", "");
 
    %clientID = %this.getClientID();

+ 0 - 2
Templates/Full/game/scripts/server/components/input/fpsControls.cs

@@ -24,8 +24,6 @@
 
 function FPSControls::onAdd(%this)
 {
-   Parent::onBehaviorAdd(%this);
-
    //
 	%this.beginGroup("Keys");
 		%this.addComponentField(forwardKey, "Key to bind to vertical thrust", keybind, "keyboard w");

+ 0 - 28
Templates/Full/game/scripts/server/gameObjects/GameObjectList.xml

@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
-<GameObjects>
-    <GameObject>
-        <Name>ScriptedTriggerObject</Name>
-        <TAMLPath>data/EC/scripts/gameObjects/ScriptedTriggerObject.taml</TAMLPath>
-        <ScriptPath>data/EC/scripts/gameObjects/ScriptedTriggerObject.cs</ScriptPath>
-    </GameObject>
-    <GameObject>
-        <Name>PlayerObject</Name>
-        <TAMLPath>data/EC/scripts/gameObjects/playerObject.taml</TAMLPath>
-        <ScriptPath>data/EC/scripts/gameObjects/playerObject.cs</ScriptPath>
-    </GameObject>
-    <GameObject>
-        <Name>spectatorObject</Name>
-        <TAMLPath>data/EC/scripts/gameObjects/spectatorObject.taml</TAMLPath>
-        <ScriptPath>data/EC/scripts/gameObjects/spectatorObject.cs</ScriptPath>
-    </GameObject>
-    <GameObject>
-        <Name>ThirdPersonPlayerObject</Name>
-        <TAMLPath>data/EC/scripts/gameObjects/ThirdPersonPlayerObject.taml</TAMLPath>
-        <ScriptPath>data/EC/scripts/gameObjects/ThirdPersonPlayerObject.cs</ScriptPath>
-    </GameObject>
-    <GameObject>
-        <Name>FirstPersonArms</Name>
-        <TAMLPath>data/EC/scripts/gameObjects/FirstPersonArms.taml</TAMLPath>
-        <ScriptPath>data/EC/scripts/gameObjects/FirstPersonArms.cs</ScriptPath>
-    </GameObject>
-</GameObjects>

+ 0 - 6
Templates/Full/game/scripts/server/gameObjects/ThirdPersonPlayerObject.cs

@@ -26,12 +26,6 @@ function ThirdPersonPlayerObject::onAdd(%this)
    
    %this.aimedMaxPitch = 90;
    %this.aimedMinPitch = -90;
-   
-   %this.arms = SGOManager.spawn("FirstPersonArms", true);
-   
-   %this.add(arms);
-   
-   //%this.mesh.mountObject(%this.arms, "Eye");
 }
 
 function ThirdPersonPlayerObject::onRemove(%this)