Minor corrections to some component scripts to clear old references.

This commit is contained in:
Areloch 2016-05-17 23:57:30 -05:00
parent 6fe0b1789d
commit 36bb0b3c54
5 changed files with 0 additions and 40 deletions

View file

@ -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;

View file

@ -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();

View file

@ -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");

View file

@ -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>

View file

@ -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)