mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 06:04:37 +00:00
Parametrize script extension, default to 'tscript'
This commit is contained in:
parent
b8b62292bd
commit
099dd4f1f3
542 changed files with 774 additions and 783 deletions
|
|
@ -2,7 +2,7 @@
|
|||
ModuleId="Verve"
|
||||
VersionId="1"
|
||||
Description="Module that implements Verve."
|
||||
ScriptFile="Verve.cs"
|
||||
ScriptFile="Verve.tscript"
|
||||
CreateFunction="create"
|
||||
DestroyFunction="destroy"
|
||||
Group="Game">
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@ function Verve::create( %this )
|
|||
{
|
||||
exec("data/Verve/gui/verveCinematic.gui");
|
||||
|
||||
exec("data/Verve/scripts/server/verveCinematicController.cs");
|
||||
exec("data/Verve/scripts/server/verveCinematicTrigger.cs");
|
||||
exec("data/Verve/scripts/server/vervePathTutorialData.cs");
|
||||
exec("data/Verve/scripts/server/verveCinematicController.tscript");
|
||||
exec("data/Verve/scripts/server/verveCinematicTrigger.tscript");
|
||||
exec("data/Verve/scripts/server/vervePathTutorialData.tscript");
|
||||
|
||||
if(isObject(DatablockFilesList))
|
||||
{
|
||||
DatablockFilesList.add( "data/Verve/scripts/datablocks/verve/VerveActorData.cs" );
|
||||
DatablockFilesList.add( "data/Verve/scripts/datablocks/verve/VervePathTutorialData.cs" );
|
||||
DatablockFilesList.add( "data/Verve/scripts/datablocks/verve/VerveActorData.tscript" );
|
||||
DatablockFilesList.add( "data/Verve/scripts/datablocks/verve/VervePathTutorialData.tscript" );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -24,45 +24,45 @@
|
|||
// a server is constructed.
|
||||
|
||||
// Do the sounds first -- later scripts/datablocks may need them
|
||||
exec("./audioProfiles.cs");
|
||||
exec("./audioProfiles.tscript");
|
||||
|
||||
// LightFlareData and LightAnimData(s)
|
||||
exec("./lights.cs");
|
||||
exec("./lights.tscript");
|
||||
|
||||
// Do the various effects next -- later scripts/datablocks may need them
|
||||
exec("./particles.cs");
|
||||
exec("./environment.cs");
|
||||
exec("./particles.tscript");
|
||||
exec("./environment.tscript");
|
||||
|
||||
exec("./triggers.cs");
|
||||
exec("./triggers.tscript");
|
||||
|
||||
// Add a rigid example
|
||||
exec("./rigidShape.cs");
|
||||
exec("./rigidShape.tscript");
|
||||
|
||||
exec("./health.cs");
|
||||
exec("./health.tscript");
|
||||
|
||||
// Load our supporting weapon datablocks, effects and such. They must be
|
||||
// loaded before any weapon that uses them.
|
||||
exec("./weapon.cs");
|
||||
exec("./weapons/grenadefx.cs");
|
||||
exec("./weapons/rocketfx.cs");
|
||||
exec("./weapon.tscript");
|
||||
exec("./weapons/grenadefx.tscript");
|
||||
exec("./weapons/rocketfx.tscript");
|
||||
|
||||
// Load the weapon datablocks
|
||||
exec("./weapons/Lurker.cs");
|
||||
exec("./weapons/Ryder.cs");
|
||||
exec("./weapons/ProxMine.cs");
|
||||
exec("./weapons/Turret.cs");
|
||||
exec("./weapons/Lurker.tscript");
|
||||
exec("./weapons/Ryder.tscript");
|
||||
exec("./weapons/ProxMine.tscript");
|
||||
exec("./weapons/Turret.tscript");
|
||||
|
||||
exec("./teleporter.cs");
|
||||
exec("./teleporter.tscript");
|
||||
|
||||
// Load the default player datablocks
|
||||
exec("./player.cs");
|
||||
exec("./player.tscript");
|
||||
|
||||
// Load our other player datablocks
|
||||
exec("./aiPlayer.cs");
|
||||
exec("./aiPlayer.tscript");
|
||||
|
||||
// Load the vehicle datablocks
|
||||
exec("./vehicles/cheetahCar.cs");
|
||||
exec("./vehicles/cheetahCar.tscript");
|
||||
|
||||
// Load Verve Data.
|
||||
exec("./verve/VerveActorData.cs");
|
||||
exec("./verve/VervePathTutorialData.cs");
|
||||
exec("./verve/VerveActorData.tscript");
|
||||
exec("./verve/VervePathTutorialData.tscript");
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
ModuleId="inputTest"
|
||||
VersionId="1"
|
||||
Description="Input Monitor Module."
|
||||
ScriptFile="inputTest.cs"
|
||||
ScriptFile="inputTest.tscript"
|
||||
CreateFunction="create"
|
||||
DestroyFunction="destroy"
|
||||
Group="Game"
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@ function inputTest::destroy( %this )
|
|||
|
||||
function inputTest::initClient( %this )
|
||||
{
|
||||
%this.queueExec("/scripts/customProfiles.cs");
|
||||
%this.queueExec("/scripts/inputMonitor.cs");
|
||||
%this.queueExec("/scripts/customProfiles.tscript");
|
||||
%this.queueExec("/scripts/inputMonitor.tscript");
|
||||
%this.queueExec("/scripts/gui/inputMonitor.gui");
|
||||
%this.queueExec("/scripts/joystickSettings.cs");
|
||||
%this.queueExec("/scripts/joystickSettings.tscript");
|
||||
%this.queueExec("/scripts/gui/joystickSettings.gui");
|
||||
%this.queueExec("/scripts/menuButtons.cs");
|
||||
%this.queueExec("/scripts/menuButtons.tscript");
|
||||
}
|
||||
|
||||
function onSDLDeviceConnected(%sdlIndex, %deviceName, %deviceType)
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
ModuleId="VR"
|
||||
VersionId="1"
|
||||
Description="Module that implements the core engine-level setup for the game."
|
||||
ScriptFile="VR.cs"
|
||||
ScriptFile="VR.tscript"
|
||||
CreateFunction="onCreate"
|
||||
DestroyFunction="onDestroy"
|
||||
Group="Game">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
function VR::onCreate(%this)
|
||||
{
|
||||
exec("./scripts/oculusVR.cs");
|
||||
exec("./scripts/oculusVR.tscript");
|
||||
}
|
||||
|
||||
function VR::onDestroy(%this)
|
||||
Loading…
Add table
Add a link
Reference in a new issue