mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-23 14:17:59 +01:00
719 lines
18 KiB
Text
719 lines
18 KiB
Text
Version = 1.9.4.30080;
|
|
CParticleEffect $LOCAL$/Resource
|
|
{
|
|
EditorInfosPosition = int2(73, 52);
|
|
OnSpawn = "$LOCAL$/Spawner";
|
|
CustomAttributes = "$LOCAL$/_GlobalAttributes";
|
|
Autostart = true;
|
|
}
|
|
CActionFactoryWithChilds $LOCAL$/Spawner
|
|
{
|
|
EditorInfosPosition = int2(-162, -81);
|
|
ChildList =
|
|
{
|
|
"$LOCAL$/Layer_1",
|
|
"$LOCAL$/Layer_2",
|
|
};
|
|
}
|
|
CParticleAttributeList $LOCAL$/_GlobalAttributes
|
|
{
|
|
EditorInfosPosition = int2(-599, -20);
|
|
AttributeList =
|
|
{
|
|
"$LOCAL$/CParticleAttributeDeclaration_BBAF8D7F",
|
|
"$LOCAL$/CParticleAttributeDeclaration_B6116AAE",
|
|
"$LOCAL$/CParticleAttributeDeclaration_89977E97",
|
|
};
|
|
}
|
|
CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_BBAF8D7F
|
|
{
|
|
AttributeName = "Throttle";
|
|
DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
HasMin = true;
|
|
HasMax = true;
|
|
MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000);
|
|
MaxValueI4 = int4(10, 10, 10, 10);
|
|
}
|
|
CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B6116AAE
|
|
{
|
|
AttributeName = "ShakeAmplitude";
|
|
DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
HasMin = true;
|
|
HasMax = true;
|
|
MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000);
|
|
MaxValueI4 = int4(10, 10, 10, 10);
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_DA926919
|
|
{
|
|
EditorInfosPosition = int2(-389, 723);
|
|
Renderer = "$LOCAL$/CParticleRenderer_Billboard_21CB4150";
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_E5575253",
|
|
"$LOCAL$/CParticleFieldDeclaration_C8036612",
|
|
"$LOCAL$/CParticleFieldDeclaration_CC06153D",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_2F088E44";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_19EB6857",
|
|
};
|
|
}
|
|
CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_21CB4150
|
|
{
|
|
EditorInfosPosition = int2(-570, 657);
|
|
CustomName = "Billboard";
|
|
BillboardingMaterial = AlphaBlend_Additive_Soft;
|
|
Diffuse = "Textures/BlastPack_Extended.dds";
|
|
AtlasDefinition = "Textures/BlastPack_Extended.pkat";
|
|
SoftAnimationBlending = true;
|
|
AxisScale = 1.0000000e+000;
|
|
NormalsBendingFactor = 6.2500000e-001;
|
|
NormalsWrapFactor = 2.0000000e-001;
|
|
LightExponent = 2.2000000e+000;
|
|
LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000);
|
|
AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001);
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E5575253
|
|
{
|
|
EditorInfosPosition = int2(-561, 708);
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C8036612
|
|
{
|
|
EditorInfosPosition = int2(-563, 749);
|
|
FieldName = "ColorCoeff";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC06153D
|
|
{
|
|
EditorInfosPosition = int2(-564, 791);
|
|
FieldName = "SizeCoeff";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2F088E44
|
|
{
|
|
EditorInfosPosition = int2(-568, 830);
|
|
Expression = "function void Eval()
|
|
{
|
|
float couillunessFactor = pow(rand(0, 1), 8);
|
|
Life = 0.2 + (0.2 + couillunessFactor * 2) * spawner.LifeRatio;
|
|
Size = rand(0.2,0.5);
|
|
Rotation = rand(-2,2);
|
|
ScalarRotationSpeed = 0;//rand(-1,1);
|
|
ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3;
|
|
SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1;
|
|
Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 0.1;//float3(0,0,-2);
|
|
}";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_19EB6857
|
|
{
|
|
EditorInfosPosition = int2(-570, 876);
|
|
StateName = "State_0";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Physics_2DB27266",
|
|
"$LOCAL$/CParticleEvolver_Field_DCE52E21",
|
|
"$LOCAL$/CParticleEvolver_Field_9CCA151B",
|
|
"$LOCAL$/CParticleEvolver_Rotation_38CC37C5",
|
|
"$LOCAL$/CParticleEvolver_Script_DB489F6C",
|
|
};
|
|
}
|
|
CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_2DB27266
|
|
{
|
|
EditorInfosPosition = int2(-773, 805);
|
|
CustomName = "Physics";
|
|
ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000);
|
|
Drag = 1.0000000e-001;
|
|
}
|
|
CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_DCE52E21
|
|
{
|
|
EditorInfosPosition = int2(-767, 850);
|
|
CustomName = "Field";
|
|
Name = "Size";
|
|
Evaluator = "$LOCAL$/CParticleSamplerCurve_56EB66F8";
|
|
}
|
|
CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56EB66F8
|
|
{
|
|
EditorInfosPosition = int2(-862, 847);
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
0.0000000e+000,
|
|
1.4257950e+000,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
0.0000000e+000,
|
|
2.6747651e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
}
|
|
CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_9CCA151B
|
|
{
|
|
EditorInfosPosition = int2(-771, 909);
|
|
CustomName = "Field";
|
|
Name = "Color";
|
|
Evaluator = "$LOCAL$/CParticleSamplerCurve_2B607C7A";
|
|
}
|
|
CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2B607C7A
|
|
{
|
|
EditorInfosPosition = int2(-867, 908);
|
|
ValueType = Float4;
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
5.4149234e-001,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
2.5888059e+000,
|
|
7.0672668e+001,
|
|
6.6430779e+001,
|
|
6.4613003e-001,
|
|
2.0553560e+000,
|
|
5.9162189e+001,
|
|
5.5671070e+001,
|
|
6.2580532e-001,
|
|
1.3330801e+000,
|
|
3.0305719e+000,
|
|
4.2372961e+000,
|
|
6.6386288e-001,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
-1.7045374e+000,
|
|
-1.3779118e-004,
|
|
-1.1735915e+000,
|
|
-2.7489886e+000,
|
|
-1.7140994e+000,
|
|
-6.2124688e-002,
|
|
-9.9373609e-001,
|
|
-2.3277011e+000,
|
|
-1.4514103e+000,
|
|
-5.2603956e-002,
|
|
-4.2000425e-001,
|
|
-1.0303099e+000,
|
|
-3.1989605e+000,
|
|
1.2556669e-004,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
}
|
|
CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_38CC37C5
|
|
{
|
|
EditorInfosPosition = int2(-773, 966);
|
|
CustomName = "Rotation";
|
|
}
|
|
CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_DB489F6C
|
|
{
|
|
EditorInfosPosition = int2(-767, 1024);
|
|
CustomName = "Script";
|
|
Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_FB3EBC9F";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FB3EBC9F
|
|
{
|
|
EditorInfosPosition = int2(-879, 1022);
|
|
Expression = "function void Eval()
|
|
{
|
|
float atlasIdFirst = 0;
|
|
float atlasIdLast = 31;
|
|
float cursor01 = (LifeRatio)%1;
|
|
TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst;
|
|
|
|
Color *= ColorCoeff * 2;
|
|
Size *= SizeCoeff * 0.5;
|
|
}";
|
|
}
|
|
CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1
|
|
{
|
|
EditorInfosPosition = int2(170, 355);
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_0CE1E254";
|
|
DurationInSeconds = 2.0000000e-001;
|
|
SpawnCountMode = TotalParticleCount;
|
|
SpawnCount = 6.0000000e+000;
|
|
SpawnCountRelativeRandomDeviation = 9.6650624e-001;
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_0CE1E254
|
|
{
|
|
EditorInfosPosition = int2(25, 339);
|
|
Samplers =
|
|
{
|
|
"$LOCAL$/CParticleSamplerShape_3A2645A7",
|
|
"$LOCAL$/CParticleSamplerShape_3A0ADCF1",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7C93296B";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_3BA9FF0A",
|
|
};
|
|
}
|
|
CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3A2645A7
|
|
{
|
|
EditorInfosPosition = int2(-151, 367);
|
|
SamplerName = "PositionSampler";
|
|
Shape = "$LOCAL$/CShapeDescriptor_9FFCF1F6";
|
|
SampleDimensionality = Volume;
|
|
}
|
|
CShapeDescriptor $LOCAL$/CShapeDescriptor_9FFCF1F6
|
|
{
|
|
EditorInfosPosition = int2(-247, 365);
|
|
Position = float3(0.0000000e+000, -7.6473951e-003, 0.0000000e+000);
|
|
ShapeType = COMPLEX_ELLIPSOID;
|
|
Radius = 7.5000000e-001;
|
|
InnerRadius = 5.0000000e-001;
|
|
Height = 1.0000000e+000;
|
|
CutPlane = 5.0000000e-001;
|
|
}
|
|
CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3A0ADCF1
|
|
{
|
|
EditorInfosPosition = int2(-149, 416);
|
|
SamplerName = "VelocitySampler";
|
|
Shape = "$LOCAL$/CShapeDescriptor_A3A85608";
|
|
SampleDimensionality = Volume;
|
|
}
|
|
CShapeDescriptor $LOCAL$/CShapeDescriptor_A3A85608
|
|
{
|
|
EditorInfosPosition = int2(-241, 420);
|
|
ShapeType = COMPLEX_ELLIPSOID;
|
|
Radius = 7.5000000e-001;
|
|
InnerRadius = 5.0000000e-001;
|
|
Height = 1.0000000e+000;
|
|
CutPlane = 5.0000000e-001;
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7C93296B
|
|
{
|
|
EditorInfosPosition = int2(-153, 300);
|
|
Expression = "function void Eval()
|
|
{
|
|
Life = rand(0.1,0.1);
|
|
Position = PositionSampler.samplePosition() * spawner.LifeRatio;
|
|
Velocity = VelocitySampler.samplePosition() * spawner.LifeRatio;
|
|
float3 v = Velocity * (Throttle * rand(0.9,1.1));
|
|
float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude;
|
|
float2 sc(sin(a), cos(a));
|
|
Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y);
|
|
}";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_3BA9FF0A
|
|
{
|
|
EditorInfosPosition = int2(-79, 590);
|
|
StateName = "State_0";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Physics_A38BA595",
|
|
"$LOCAL$/CParticleEvolver_Spawner_C7B2B97C",
|
|
};
|
|
}
|
|
CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_A38BA595
|
|
{
|
|
EditorInfosPosition = int2(-249, 591);
|
|
CustomName = "Physics";
|
|
ConstantAcceleration = float3(0.0000000e+000, -4.0000000e+000, 0.0000000e+000);
|
|
Drag = 1.0000000e+001;
|
|
WorldInteractionMode = OneWay;
|
|
BouncesBeforeDeath = 10;
|
|
BounceRestitution = 3.0000001e-001;
|
|
}
|
|
CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_C7B2B97C
|
|
{
|
|
EditorInfosPosition = int2(-283, 669);
|
|
CustomName = "Spawner";
|
|
SpawnMetric = Time;
|
|
SpawnInterval = 9.9999998e-003;
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_1F56D7EF";
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_1F56D7EF
|
|
{
|
|
EditorInfosPosition = int2(-389, 723);
|
|
Renderer = "$LOCAL$/CParticleRenderer_Billboard_4B7C4DDE";
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_2C55F2F9",
|
|
"$LOCAL$/CParticleFieldDeclaration_2E0EA0B0",
|
|
"$LOCAL$/CParticleFieldDeclaration_D3047533",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0833D272";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_7F6EC91D",
|
|
};
|
|
}
|
|
CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_4B7C4DDE
|
|
{
|
|
EditorInfosPosition = int2(-570, 657);
|
|
CustomName = "Billboard";
|
|
BillboardingMaterial = AlphaBlend_Additive_Soft;
|
|
Diffuse = "Textures/BlastPack_Extended.dds";
|
|
AtlasDefinition = "Textures/BlastPack_Extended.pkat";
|
|
SoftAnimationBlending = true;
|
|
AxisScale = 1.0000000e+000;
|
|
NormalsBendingFactor = 6.2500000e-001;
|
|
NormalsWrapFactor = 2.0000000e-001;
|
|
LightExponent = 2.2000000e+000;
|
|
LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000);
|
|
AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001);
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2C55F2F9
|
|
{
|
|
EditorInfosPosition = int2(-561, 708);
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2E0EA0B0
|
|
{
|
|
EditorInfosPosition = int2(-563, 749);
|
|
FieldName = "ColorCoeff";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D3047533
|
|
{
|
|
EditorInfosPosition = int2(-564, 791);
|
|
FieldName = "SizeCoeff";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0833D272
|
|
{
|
|
EditorInfosPosition = int2(-568, 830);
|
|
Expression = "function void Eval()
|
|
{
|
|
float couillunessFactor = pow(rand(0, 1), 8);
|
|
Life = 0.2 + (0.2 + couillunessFactor * 2) * spawner.LifeRatio;
|
|
Size = rand(0.2,0.5);
|
|
Rotation = rand(-2,2);
|
|
ScalarRotationSpeed = 0;//rand(-1,1);
|
|
ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3;
|
|
SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1;
|
|
Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 0.1;//float3(0,0,-2);
|
|
}";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_7F6EC91D
|
|
{
|
|
EditorInfosPosition = int2(-570, 876);
|
|
StateName = "State_0";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Physics_DFE35FA4",
|
|
"$LOCAL$/CParticleEvolver_Field_7D6BE537",
|
|
"$LOCAL$/CParticleEvolver_Field_29C1EC01",
|
|
"$LOCAL$/CParticleEvolver_Rotation_251DCBFB",
|
|
"$LOCAL$/CParticleEvolver_Script_B5310CDA",
|
|
};
|
|
}
|
|
CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_DFE35FA4
|
|
{
|
|
EditorInfosPosition = int2(-773, 805);
|
|
CustomName = "Physics";
|
|
ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000);
|
|
Drag = 1.0000000e-001;
|
|
}
|
|
CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_7D6BE537
|
|
{
|
|
EditorInfosPosition = int2(-767, 850);
|
|
CustomName = "Field";
|
|
Name = "Size";
|
|
Evaluator = "$LOCAL$/CParticleSamplerCurve_F62C40C6";
|
|
}
|
|
CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F62C40C6
|
|
{
|
|
EditorInfosPosition = int2(-862, 847);
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
0.0000000e+000,
|
|
1.4257950e+000,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
0.0000000e+000,
|
|
2.6747651e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
}
|
|
CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_29C1EC01
|
|
{
|
|
EditorInfosPosition = int2(-771, 909);
|
|
CustomName = "Field";
|
|
Name = "Color";
|
|
Evaluator = "$LOCAL$/CParticleSamplerCurve_A6E60A58";
|
|
}
|
|
CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A6E60A58
|
|
{
|
|
EditorInfosPosition = int2(-867, 908);
|
|
ValueType = Float4;
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
5.4604208e-001,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
2.5888059e+000,
|
|
3.5003284e+001,
|
|
3.0761395e+001,
|
|
6.4613003e-001,
|
|
2.0553560e+000,
|
|
2.3492809e+001,
|
|
2.0001688e+001,
|
|
6.2580532e-001,
|
|
1.3330801e+000,
|
|
3.0305719e+000,
|
|
4.2372961e+000,
|
|
6.6386288e-001,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
-1.7188592e+000,
|
|
-1.3894893e-004,
|
|
-1.1834522e+000,
|
|
-2.7720861e+000,
|
|
-1.7285017e+000,
|
|
-6.2646672e-002,
|
|
-9.8387510e-001,
|
|
-2.3046031e+000,
|
|
-1.4370079e+000,
|
|
-5.2081969e-002,
|
|
-4.1583651e-001,
|
|
-1.0200862e+000,
|
|
-3.1672170e+000,
|
|
1.2432069e-004,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
}
|
|
CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_251DCBFB
|
|
{
|
|
EditorInfosPosition = int2(-773, 966);
|
|
CustomName = "Rotation";
|
|
}
|
|
CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_B5310CDA
|
|
{
|
|
EditorInfosPosition = int2(-767, 1024);
|
|
CustomName = "Script";
|
|
Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_FC85DFA5";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FC85DFA5
|
|
{
|
|
EditorInfosPosition = int2(-879, 1022);
|
|
Expression = "function void Eval()
|
|
{
|
|
float atlasIdFirst = 0;
|
|
float atlasIdLast = 31;
|
|
float cursor01 = (LifeRatio)%1;
|
|
TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst;
|
|
|
|
Color *= ColorCoeff * 2;
|
|
Size *= SizeCoeff * 0.5;
|
|
}";
|
|
}
|
|
CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_7CCAB84E
|
|
{
|
|
EditorInfosPosition = int2(-283, 669);
|
|
CustomName = "Spawner";
|
|
SpawnMetric = Time;
|
|
SpawnInterval = 9.9999998e-003;
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_DA926919";
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_F60975F5
|
|
{
|
|
Renderer = "$LOCAL$/CParticleRenderer_Billboard_BF02A15C";
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_85CEED4F",
|
|
};
|
|
Samplers =
|
|
{
|
|
"$LOCAL$/CParticleSamplerCurve_636925A6",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0E815EBE";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_D5A5E559",
|
|
};
|
|
}
|
|
CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_BF02A15C
|
|
{
|
|
CustomName = "Billboard";
|
|
BillboardingMaterial = AlphaBlend_Distortion;
|
|
Diffuse = "Textures/FX/Distortion_01.dds";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_85CEED4F
|
|
{
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0E815EBE
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Life = 1;
|
|
Size = (2.1) * SizeSampler.sample(spawner.LifeRatio);
|
|
Color=1;
|
|
}
|
|
";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_D5A5E559
|
|
{
|
|
StateName = "State_0";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Localspace_B7AA5290",
|
|
"$LOCAL$/Field_2",
|
|
"$LOCAL$/Field_1",
|
|
};
|
|
}
|
|
CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_B7AA5290
|
|
{
|
|
CustomName = "Localspace";
|
|
}
|
|
CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2
|
|
{
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_F60975F5";
|
|
DurationInSeconds = 1.0000000e+000;
|
|
}
|
|
CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_89977E97
|
|
{
|
|
AttributeName = "Distortion";
|
|
DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
HasMin = true;
|
|
HasMax = true;
|
|
MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000);
|
|
MaxValueI4 = int4(10, 10, 10, 10);
|
|
}
|
|
CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_636925A6
|
|
{
|
|
SamplerName = "SizeSampler";
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
0.0000000e+000,
|
|
1.0000000e+000,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
}
|
|
CParticleEvolver_Field $LOCAL$/Field_1
|
|
{
|
|
CustomName = "Field";
|
|
Name = "Size";
|
|
Evaluator = "$LOCAL$/CParticleSamplerCurve_EEFC4261";
|
|
}
|
|
CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EEFC4261
|
|
{
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
4.0854812e-001,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
1.0993826e+000,
|
|
3.0950603e+000,
|
|
3.6635315e+000,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
0.0000000e+000,
|
|
2.8929806e+000,
|
|
7.3117536e-001,
|
|
1.0585167e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
}
|
|
CParticleEvolver_Field $LOCAL$/Field_2
|
|
{
|
|
CustomName = "Field";
|
|
Name = "Color";
|
|
Evaluator = "$LOCAL$/CParticleSamplerCurve_3FC9F038";
|
|
}
|
|
CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3FC9F038
|
|
{
|
|
ValueType = Float4;
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
3.1714290e-001,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
8.0094452e+000,
|
|
8.0094452e+000,
|
|
8.0094452e+000,
|
|
8.0094452e+000,
|
|
1.7778499e-001,
|
|
1.7778499e-001,
|
|
1.7778499e-001,
|
|
1.7778499e-001,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
-1.4659023e+001,
|
|
-1.4659023e+001,
|
|
-1.4659023e+001,
|
|
-1.4659023e+001,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
}
|