mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
Merge pull request #1741 from Azaezel/damagemodelFilefix
put damagemodel script files in the same pool as resources
This commit is contained in:
commit
0fc551b537
1 changed files with 1 additions and 8 deletions
|
|
@ -9,20 +9,13 @@ function DamageModel::onDestroy(%this)
|
||||||
//This is called when the server is initially set up by the game application
|
//This is called when the server is initially set up by the game application
|
||||||
function DamageModel::initServer(%this)
|
function DamageModel::initServer(%this)
|
||||||
{
|
{
|
||||||
%this.queueExec("./scripts/server/player");
|
|
||||||
}
|
|
||||||
|
|
||||||
//This is called when the server is created for an actual game/map to be played
|
|
||||||
function DamageModel::onCreateGameServer(%this)
|
|
||||||
{
|
|
||||||
%this.registerDatablock("./scripts/managedData/managedParticleData");
|
|
||||||
%this.registerDatablock("./scripts/managedData/managedParticleEmitterData");
|
|
||||||
%this.queueExec("./scripts/server/utility");
|
%this.queueExec("./scripts/server/utility");
|
||||||
%this.queueExec("./scripts/server/radiusDamage");
|
%this.queueExec("./scripts/server/radiusDamage");
|
||||||
%this.queueExec("./scripts/server/projectile");
|
%this.queueExec("./scripts/server/projectile");
|
||||||
%this.queueExec("./scripts/server/weapon");
|
%this.queueExec("./scripts/server/weapon");
|
||||||
%this.queueExec("./scripts/server/shapeBase");
|
%this.queueExec("./scripts/server/shapeBase");
|
||||||
%this.queueExec("./scripts/server/vehicle");
|
%this.queueExec("./scripts/server/vehicle");
|
||||||
|
%this.queueExec("./scripts/server/player");
|
||||||
%this.queueExec("./scripts/server/commands");
|
%this.queueExec("./scripts/server/commands");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue