2025-04-06 21:09:14 +00:00
|
|
|
function DamageModel::onCreate(%this)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function DamageModel::onDestroy(%this)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//This is called when the server is initially set up by the game application
|
|
|
|
|
function DamageModel::initServer(%this)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//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/radiusDamage");
|
|
|
|
|
%this.queueExec("./scripts/server/projectile");
|
|
|
|
|
%this.queueExec("./scripts/server/weapon");
|
|
|
|
|
%this.queueExec("./scripts/server/shapeBase");
|
2025-04-09 00:50:47 +00:00
|
|
|
%this.queueExec("./scripts/server/vehicle");
|
2025-04-06 21:09:14 +00:00
|
|
|
%this.queueExec("./scripts/server/player");
|
2025-12-28 20:19:17 +00:00
|
|
|
%this.queueExec("./scripts/server/commands");
|
2025-04-06 21:09:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//This is called when the server is shut down due to the game/map being exited
|
|
|
|
|
function DamageModel::onDestroyGameServer(%this)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//This is called when the client is initially set up by the game application
|
|
|
|
|
function DamageModel::initClient(%this)
|
|
|
|
|
{
|
|
|
|
|
%this.queueExec("./guis/damageGuiOverlay.gui");
|
|
|
|
|
%this.queueExec("./scripts/client/playGui");
|
2025-12-28 20:19:17 +00:00
|
|
|
%this.queueExec("./scripts/client/client");
|
2025-04-06 21:09:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//This is called when a client connects to a server
|
|
|
|
|
function DamageModel::onCreateClientConnection(%this)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//This is called when a client disconnects from a server
|
|
|
|
|
function DamageModel::onDestroyClientConnection(%this)
|
|
|
|
|
{
|
|
|
|
|
}
|