mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Minor corrections to some component scripts to clear old references.
This commit is contained in:
parent
6fe0b1789d
commit
36bb0b3c54
5 changed files with 0 additions and 40 deletions
|
|
@ -22,8 +22,6 @@
|
||||||
|
|
||||||
function CameraComponent::onAdd(%this)
|
function CameraComponent::onAdd(%this)
|
||||||
{
|
{
|
||||||
Parent::onBehaviorAdd(%this);
|
|
||||||
|
|
||||||
%this.addComponentField(clientOwner, "The client that views this camera", "int", "1", "");
|
%this.addComponentField(clientOwner, "The client that views this camera", "int", "1", "");
|
||||||
|
|
||||||
%test = %this.clientOwner;
|
%test = %this.clientOwner;
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,6 @@
|
||||||
|
|
||||||
function ControlObjectComponent::onAdd(%this)
|
function ControlObjectComponent::onAdd(%this)
|
||||||
{
|
{
|
||||||
Parent::onBehaviorAdd(%this);
|
|
||||||
|
|
||||||
%this.addComponentField(clientOwner, "The shape to use for rendering", "int", "1", "");
|
%this.addComponentField(clientOwner, "The shape to use for rendering", "int", "1", "");
|
||||||
|
|
||||||
%clientID = %this.getClientID();
|
%clientID = %this.getClientID();
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,6 @@
|
||||||
|
|
||||||
function FPSControls::onAdd(%this)
|
function FPSControls::onAdd(%this)
|
||||||
{
|
{
|
||||||
Parent::onBehaviorAdd(%this);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
%this.beginGroup("Keys");
|
%this.beginGroup("Keys");
|
||||||
%this.addComponentField(forwardKey, "Key to bind to vertical thrust", keybind, "keyboard w");
|
%this.addComponentField(forwardKey, "Key to bind to vertical thrust", keybind, "keyboard w");
|
||||||
|
|
|
||||||
|
|
@ -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>
|
|
||||||
|
|
@ -26,12 +26,6 @@ function ThirdPersonPlayerObject::onAdd(%this)
|
||||||
|
|
||||||
%this.aimedMaxPitch = 90;
|
%this.aimedMaxPitch = 90;
|
||||||
%this.aimedMinPitch = -90;
|
%this.aimedMinPitch = -90;
|
||||||
|
|
||||||
%this.arms = SGOManager.spawn("FirstPersonArms", true);
|
|
||||||
|
|
||||||
%this.add(arms);
|
|
||||||
|
|
||||||
//%this.mesh.mountObject(%this.arms, "Eye");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function ThirdPersonPlayerObject::onRemove(%this)
|
function ThirdPersonPlayerObject::onRemove(%this)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue