Initial commit

This commit is contained in:
Eagle517
2026-01-14 10:27:57 -06:00
commit c1576fee30
11290 changed files with 1552799 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
datablock ParticleData(DefaultParticle)
{
dragCoefficient = 0;
gravityCoefficient = -0.315018;
windCoefficient = 0;
inheritedVelFactor = 0;
constantAcceleration = 0;
lifetimeMS = 480;
lifetimeVarianceMS = 224;
useInvAlpha = 0;
spinRandomMin = -30;
spinRandomMax = 30;
textureName = "./particletest";
spinSpeed = 0;
times[0] = 0;
times[1] = 0.494118;
times[2] = 1;
colors[0] = "0.771654 0.582677 0.000000 0.055118";
colors[1] = "0.771654 0.582677 0.000000 0.055118";
colors[2] = "0.000000 0.000000 0.000000 0.000000";
sizes[0] = 0.98883;
sizes[1] = 0.98883;
sizes[2] = 4.98993;
};
datablock ParticleEmitterData(DefaultEmitter)
{
ejectionPeriodMS = 15;
periodVarianceMS = 5;
ejectionVelocity = 0.25;
velocityVariance = 0.07;
ejectionOffset = 0;
thetaMin = 0;
thetaMax = 90;
phiReferenceVel = 0;
phiVariance = 360;
overrideAdvances = 0;
orientParticles= 0;
orientOnVelocity = 1;
particles = "DefaultParticle";
};
datablock ParticleEmitterNodeData(DefaultEmitterNode)
{
timeMultiple = 1;
};
datablock ParticleEmitterNodeData(DoubleTimeEmitterNode)
{
timeMultiple = 2;
};
datablock ParticleEmitterNodeData(HalfTimeEmitterNode)
{
timeMultiple = 0.5;
};

View File

@@ -0,0 +1,41 @@
datablock ParticleData(RainbowSpiralParticle)
{
dragCoefficient = 0;
gravityCoefficient = -1.37485;
windCoefficient = 0;
inheritedVelFactor = 0;
constantAcceleration = 0;
lifetimeMS = 992;
lifetimeVarianceMS = 96;
useInvAlpha = 1;
spinRandomMin = -649;
spinRandomMax = 13;
textureName = "";
spinSpeed = 0;
times[0] = 0;
times[1] = 0.74902;
times[2] = 1;
colors[0] = "1.000000 0.000000 0.000000 0.000000";
colors[1] = "0.000000 1.000000 0.000000 1.000000";
colors[2] = "0.000000 0.000000 1.000000 0.000000";
sizes[0] = 1.02851;
sizes[1] = 1.02851;
sizes[2] = 1.02851;
};
datablock ParticleEmitterData(RainbowSpiralEmitter)
{
ejectionPeriodMS = 5;
periodVarianceMS = 0;
ejectionVelocity = 4.5;
velocityVariance = 0;
ejectionOffset = 0;
thetaMin = 90;
thetaMax = 90;
phiReferenceVel = 360;
phiVariance = 0;
overrideAdvances = 1;
orientParticles= 0;
orientOnVelocity = 1;
particles = "RainbowSpiralParticle";
};

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,49 @@
//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
// Portions Copyright (c) 2001 by Sierra Online, Inc.
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// Package overrides to initialize the mod.
package ParticleEditor {
function displayHelp() {
Parent::displayHelp();
error("Particle Editor options:\n");
}
function OptionsDlg::onWake( %this ) {
if($YourKeyRemap !$= "true") {
$RemapName[$RemapCount]="Toggle Particle Editor";
$RemapCmd[$RemapCount]="toggleParticleEditor";
$RemapCount++;
$YourKeyRemap = "true";
}
parent::onWake(%this);
}
function loadMissionStage2()
{
%fileSpec = "./Particles/*.cs";
for ( %file = findFirstFile( %fileSpec ); %file !$= ""; %file = findNextFile( %fileSpec ) )
exec( %file );
Parent::loadMissionStage2();
}
function onStart()
{
echo("\n--------- Initializing MOD: Particle Editor ---------");
Parent::onStart();
// Load the scripts that start it all...
exec("./ui/init.cs");
exec("./scripts/init.cs");
}
}; // Client package
activatePackage(ParticleEditor);

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
$Particle::Save1 = "RainbowSpiralEmitter\nRainbowSpiralParticle\n5\n0\n4.5\n0\n0\n90\n90\n360\n0\n0\n1\n1\n0\n0\n-1.37485\n0\n0\n992\n96\n1\n-649\n13\n0\n\n0\n0\n0.74902\n1\n1.000000 0.000000 0.000000 0.000000\n0.000000 1.000000 0.000000 1.000000\n0.000000 0.000000 1.000000 0.000000\n1.02851\n1.02851\n1.02851";

Binary file not shown.

View File

@@ -0,0 +1,44 @@
//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
// Portions Copyright (c) 2001 by Sierra Online, Inc.
//-----------------------------------------------------------------------------
exec("./ParticleEditor.cs");
exec("./Saves.cs");
function toggleParticleEditor(%val)
{
if( !isObject(ParticleEditor) )
{
echo(%this);
MessagePopup( "Particle Editor", "Initializing... Please Wait." );
Canvas.repaint();
exec("~/ui/ParticleEditor.gui" );
exec("~/scripts/ParticleEditor.cs");
exec("./Saves.cs" );
if( !isObject(EditorSaveMissionDlg) )
{
//editor.open();
//editor.close();
}
CloseMessagePopup();
}
if(%val)
{
if(!ParticleEditor.open)
{
if(ParticleEditor !$= "")
{
Canvas.pushDialog(ParticleEditor);
ParticleEditor.open = true;
}
}
else
{
Canvas.popDialog(ParticleEditor);
ParticleEditor.open = false;
}
}
}

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
// Portions Copyright (c) 2001 by Sierra Online, Inc.
//-----------------------------------------------------------------------------
exec("./ParticleEditor.gui");

Binary file not shown.