mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-12-01 17:37:59 +01:00
990 lines
24 KiB
Text
990 lines
24 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$/Starlight",
|
|
"$LOCAL$/Layer_1",
|
|
"$LOCAL$/Layer_2",
|
|
"$LOCAL$/Layer_3",
|
|
"$LOCAL$/Layer_4",
|
|
};
|
|
}
|
|
CParticleAttributeList $LOCAL$/_GlobalAttributes
|
|
{
|
|
EditorInfosPosition = int2(-599, -20);
|
|
AttributeList =
|
|
{
|
|
"$LOCAL$/CParticleAttributeDeclaration_DBDA839C",
|
|
"$LOCAL$/CParticleAttributeDeclaration_1BCEDEFE",
|
|
"$LOCAL$/CParticleAttributeDeclaration_9078374F",
|
|
"$LOCAL$/CParticleAttributeDeclaration_60B79B3A",
|
|
"$LOCAL$/CParticleAttributeDeclaration_EF0E5D85",
|
|
};
|
|
}
|
|
CShapeDescriptor $LOCAL$/CShapeDescriptor_05FF2204
|
|
{
|
|
ShapeType = SPHERE;
|
|
}
|
|
CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DBDA839C
|
|
{
|
|
AttributeName = "RGB";
|
|
AttributeType = float4;
|
|
DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.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_1BCEDEFE
|
|
{
|
|
AttributeName = "Power";
|
|
DefaultValueF4 = float4(1.3103449e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
HasMin = true;
|
|
HasMax = true;
|
|
MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000);
|
|
MaxValueI4 = int4(10, 10, 10, 10);
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2FF1CF89
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
|
|
}
|
|
";
|
|
}
|
|
CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9078374F
|
|
{
|
|
AttributeName = "RandomRGB";
|
|
AttributeType = float3;
|
|
DefaultValueF4 = float4(6.0270268e-001, 5.1351351e-001, 1.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);
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_38F45F59
|
|
{
|
|
FieldName = "RandomRGB";
|
|
FieldType = float3;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F7D5490
|
|
{
|
|
FieldName = "RandomRGB";
|
|
FieldType = float3;
|
|
}
|
|
CActionFactoryParticleSpawnerBase $LOCAL$/Starlight
|
|
{
|
|
EditorInfosIsBlockMinimized = 0;
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_AB7EC2E2";
|
|
Infinite = true;
|
|
DurationInSeconds = 2.0000000e+000;
|
|
SpawnCount = 4.0000000e+000;
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_AB7EC2E2
|
|
{
|
|
Renderer = "$LOCAL$/CParticleRenderer_Billboard_98BF80E7";
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_01646094",
|
|
"$LOCAL$/CParticleFieldDeclaration_32074B2F",
|
|
};
|
|
Samplers =
|
|
{
|
|
"$LOCAL$/CParticleSamplerDoubleCurve_40DEE74A",
|
|
"$LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_ABE52E36",
|
|
};
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Life = rand(0.5,1);
|
|
Size = rand(0.5,1);
|
|
Color = float4(1.0);
|
|
Target = float3(rand(1,10),rand(1,10),rand(1,10));
|
|
}
|
|
";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_01646094
|
|
{
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_98BF80E7
|
|
{
|
|
CustomName = "Billboard";
|
|
Diffuse = "Textures/FX/Starlight.png";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_ABE52E36
|
|
{
|
|
StateName = "Evolvers";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/Script_1",
|
|
};
|
|
}
|
|
CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_40DEE74A
|
|
{
|
|
SamplerName = "AlphaCurve";
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
2.3615220e-001,
|
|
5.6383878e-001,
|
|
8.2244629e-001,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
0.0000000e+000,
|
|
1.1440367e+000,
|
|
9.9042088e-002,
|
|
7.9212719e-001,
|
|
1.1273320e-003,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
3.3561143e-001,
|
|
4.6569717e-001,
|
|
1.4082058e-001,
|
|
1.1113440e-001,
|
|
-9.4605821e-001,
|
|
-6.4954060e-001,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
Times1 =
|
|
{
|
|
0.0000000e+000,
|
|
2.5254011e-001,
|
|
5.4675919e-001,
|
|
8.4582168e-001,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues1 =
|
|
{
|
|
0.0000000e+000,
|
|
7.7732545e-001,
|
|
4.2903140e-001,
|
|
1.6624220e-001,
|
|
1.9126390e-003,
|
|
};
|
|
FloatTangents1 =
|
|
{
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
1.5548030e-001,
|
|
1.8114072e-001,
|
|
1.4708639e+000,
|
|
1.4950771e+000,
|
|
-4.6752223e-001,
|
|
-2.4102570e-001,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
}
|
|
CParticleEvolver_Script $LOCAL$/Script_1
|
|
{
|
|
CustomName = "Script";
|
|
Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_903292D5";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_903292D5
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
float3 Pos = lerp(0,Target,LifeRatio);
|
|
Color = RGB * pow(1 + AlphaTurb.sample(Pos).x,AlphaCurve.sample(LifeRatio)) * pow(2,Power);
|
|
}
|
|
";
|
|
}
|
|
CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC
|
|
{
|
|
SamplerName = "AlphaTurb";
|
|
GlobalScale = 2.0000000e+000;
|
|
Strength = 4.0000001e-001;
|
|
Octaves = 1;
|
|
Lacunarity = 0.0000000e+000;
|
|
Gain = 0.0000000e+000;
|
|
Interpolator = Quintic;
|
|
TimeScale = 1.0000000e-001;
|
|
TimeRandomVariation = 1.0000000e+000;
|
|
FlowFactor = 2.0000000e+000;
|
|
DivergenceFactor = 2.0000000e+000;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_32074B2F
|
|
{
|
|
FieldName = "Target";
|
|
FieldType = float3;
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_D2FE5656
|
|
{
|
|
EditorInfosPosition = int2(-392, -44);
|
|
Renderer = "$LOCAL$/CParticleRenderer_List_179BE8D1";
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_D8B7456A",
|
|
"$LOCAL$/CParticleFieldDeclaration_66453B75",
|
|
"$LOCAL$/CParticleFieldDeclaration_99DF14DC",
|
|
"$LOCAL$/CParticleFieldDeclaration_B062A6CF",
|
|
"$LOCAL$/CParticleFieldDeclaration_E9DAD63E",
|
|
"$LOCAL$/CParticleFieldDeclaration_D038F2D9",
|
|
"$LOCAL$/CParticleFieldDeclaration_DC8BAE10",
|
|
"$LOCAL$/CParticleFieldDeclaration_6375DE13",
|
|
"$LOCAL$/CParticleFieldDeclaration_12BAFCD2",
|
|
"$LOCAL$/CParticleFieldDeclaration_B27612FD",
|
|
"$LOCAL$/CParticleFieldDeclaration_C0D57F04",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_320EC817";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_29A56D26",
|
|
};
|
|
}
|
|
CParticleRenderer_List $LOCAL$/CParticleRenderer_List_179BE8D1
|
|
{
|
|
CustomName = "List";
|
|
Renderers =
|
|
{
|
|
"$LOCAL$/CParticleRenderer_Billboard_5D5B3E4B",
|
|
};
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D8B7456A
|
|
{
|
|
FieldName = "PosSphere";
|
|
FieldType = float3;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_66453B75
|
|
{
|
|
FieldName = "Axis";
|
|
FieldType = float3;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_99DF14DC
|
|
{
|
|
FieldName = "AxisUp";
|
|
FieldType = float3;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B062A6CF
|
|
{
|
|
FieldName = "Speed";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E9DAD63E
|
|
{
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D038F2D9
|
|
{
|
|
FieldName = "ColorCoeff";
|
|
FieldType = float3;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DC8BAE10
|
|
{
|
|
FieldName = "ColorG";
|
|
FieldType = float4;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6375DE13
|
|
{
|
|
FieldName = "Pos";
|
|
FieldType = float3;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_12BAFCD2
|
|
{
|
|
FieldName = "Offset";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B27612FD
|
|
{
|
|
FieldName = "AxisUpG";
|
|
FieldType = float3;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C0D57F04
|
|
{
|
|
FieldName = "InitPosition";
|
|
FieldType = float3;
|
|
TransformFilter = full;
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_320EC817
|
|
{
|
|
EditorInfosPosition = int2(-508, 22);
|
|
Expression = "function void Eval()
|
|
{
|
|
Life = 0.2;
|
|
Size = 0.01;
|
|
float3 v = vrand();
|
|
PosSphere = v*0.2*Scale;
|
|
Speed = ninja*2-1;
|
|
ColorCoeff = select(1,10,ninja<0.1);
|
|
Axis = float3(0,1,0);
|
|
Offset = select(0.5,0.75,ninja<0.5);
|
|
InitPosition = Position;
|
|
}
|
|
";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_29A56D26
|
|
{
|
|
EditorInfosPosition = int2(-508, 65);
|
|
StateName = "State_0";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Script_79C25FE1",
|
|
};
|
|
}
|
|
CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_79C25FE1
|
|
{
|
|
EditorInfosIsBlockMinimized = 0;
|
|
CustomName = "Script";
|
|
Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_20539BB8";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_20539BB8
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Color = (sin(LifeRatio*3)*RGB.xyz*ColorCoeff).xyz1 * pow(2,1);
|
|
ColorG = Color*0.2;
|
|
|
|
Pos = rotate(PosSphere * Offset, scene.axisUp(), scene.Time*Speed*2);
|
|
|
|
AxisUp = normalize(Pos);
|
|
AxisUpG = AxisUp * Offset * Scale;
|
|
|
|
Position = InitPosition + Pos;
|
|
}
|
|
";
|
|
}
|
|
CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1
|
|
{
|
|
EditorInfosPosition = int2(-288, -61);
|
|
EditorInfosIsBlockMinimized = 0;
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_D2FE5656";
|
|
Infinite = true;
|
|
DurationInSeconds = 2.0000000e+001;
|
|
SpawnCount = 3.0000000e+000;
|
|
FluxFactorExpression = "Flux";
|
|
}
|
|
CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_60B79B3A
|
|
{
|
|
AttributeName = "Flux";
|
|
DefaultValueF4 = float4(1.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
HasMin = true;
|
|
HasMax = true;
|
|
MaxValueF4 = float4(1.0000000e+003, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000);
|
|
MaxValueI4 = int4(10, 10, 10, 10);
|
|
}
|
|
CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF0E5D85
|
|
{
|
|
AttributeName = "Scale";
|
|
DefaultValueF4 = float4(1.5172414e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
HasMin = true;
|
|
HasMax = true;
|
|
MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000);
|
|
MaxValueI4 = int4(10, 10, 10, 10);
|
|
}
|
|
CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5D5B3E4B
|
|
{
|
|
EditorInfosPosition = int2(-508, -63);
|
|
CustomName = "Billboard";
|
|
BillboardingMaterial = Additive_Soft;
|
|
Diffuse = "Textures/FX/BB_Glow_02_64.dds";
|
|
BillboardMode = VelocityAxisAligned;
|
|
ColorField = "ColorG";
|
|
AxisField = "AxisUpG";
|
|
Axis2Field = "AxisUp";
|
|
AxisScale = 1.0000000e+000;
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_14935FF6
|
|
{
|
|
InheritInitialVelocity = 1.8316831e-001;
|
|
Renderer = "$LOCAL$/CParticleRenderer_List_7C0AE2F1";
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_AB5F7F6B",
|
|
"$LOCAL$/CParticleFieldDeclaration_F5290B33",
|
|
};
|
|
Samplers =
|
|
{
|
|
"$LOCAL$/CParticleSamplerProceduralTurbulence_0B672F1D",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_791CD77C";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_1FDC4DEF",
|
|
};
|
|
}
|
|
CParticleRenderer_List $LOCAL$/CParticleRenderer_List_7C0AE2F1
|
|
{
|
|
CustomName = "List";
|
|
Renderers =
|
|
{
|
|
"$LOCAL$/CParticleRenderer_Billboard_5C05D408",
|
|
};
|
|
}
|
|
CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5C05D408
|
|
{
|
|
CustomName = "Billboard";
|
|
Diffuse = "Textures/FX/BB_Glow_02_64.tga";
|
|
BillboardMode = VelocityCapsuleAlign;
|
|
AxisScale = 5.0000001e-002;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AB5F7F6B
|
|
{
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_791CD77C
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
float power = pow(rand(0,1),4); // steep pow curve, only a few sparks are \'powerful\'
|
|
Life = 0.6 + pow(power,8) * 4; // very steep pow curve, only very few powerful sparks live long
|
|
Size = 0.002 + power * 0.001; // powerful sparks are slightly bigger
|
|
Target = float3(rand(1,10),rand(1,10),rand(1,10));
|
|
Velocity = normalize(float3(rand(-10,10),rand(-10,10),rand(-10,10))) * (1.5 + 1 * power); // powerful sparks go faster
|
|
}
|
|
";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_1FDC4DEF
|
|
{
|
|
StateName = "State_0";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Physics_6913FBDE",
|
|
"$LOCAL$/Script_2",
|
|
};
|
|
}
|
|
CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6913FBDE
|
|
{
|
|
CustomName = "Physics";
|
|
Drag = 4.0000000e+000;
|
|
WorldInteractionMode = OneWay;
|
|
BouncesBeforeDeath = 16;
|
|
BounceRestitution = 7.5000000e-001;
|
|
}
|
|
CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2
|
|
{
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_14935FF6";
|
|
Infinite = true;
|
|
DurationInSeconds = 2.0000000e+000;
|
|
SpawnCount = 1.5000000e+002;
|
|
}
|
|
CParticleEvolver_Script $LOCAL$/Script_2
|
|
{
|
|
CustomName = "Script";
|
|
Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_07535EB0";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_07535EB0
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
float3 Pos = lerp(0,Target,LifeRatio);
|
|
Color = RGB * pow(1 + AlphaTurb.sample(Pos).x,1) * pow(1.5,Power);
|
|
}
|
|
";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F5290B33
|
|
{
|
|
FieldName = "Target";
|
|
FieldType = float3;
|
|
}
|
|
CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_0B672F1D
|
|
{
|
|
SamplerName = "AlphaTurb";
|
|
GlobalScale = 3.0000000e+000;
|
|
Strength = 4.0000001e-001;
|
|
Octaves = 1;
|
|
Lacunarity = 0.0000000e+000;
|
|
Gain = 0.0000000e+000;
|
|
Interpolator = Quintic;
|
|
TimeScale = 1.0000000e-001;
|
|
TimeRandomVariation = 1.0000000e+000;
|
|
FlowFactor = 2.0000000e+000;
|
|
DivergenceFactor = 2.0000000e+000;
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_5AF63C29
|
|
{
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_6D1309A0",
|
|
"$LOCAL$/CParticleFieldDeclaration_16EB98E3",
|
|
"$LOCAL$/CParticleFieldDeclaration_E8C2E7E2",
|
|
"$LOCAL$/CParticleFieldDeclaration_ABA7D34D",
|
|
};
|
|
Samplers =
|
|
{
|
|
"$LOCAL$/CParticleSamplerShape_791F1D94",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C473C336";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_09B56731",
|
|
};
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6D1309A0
|
|
{
|
|
FieldName = "Timeb";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_16EB98E3
|
|
{
|
|
FieldName = "SizeCoeff";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E8C2E7E2
|
|
{
|
|
FieldName = "FluxScale";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_ABA7D34D
|
|
{
|
|
FieldName = "NextBranchTime";
|
|
}
|
|
CParticleSamplerShape $LOCAL$/CParticleSamplerShape_791F1D94
|
|
{
|
|
SamplerName = "DropSampler";
|
|
Shape = "$LOCAL$/CShapeDescriptor_D28281E7";
|
|
}
|
|
CShapeDescriptor $LOCAL$/CShapeDescriptor_D28281E7
|
|
{
|
|
ShapeType = SPHERE;
|
|
Radius = 1.0000000e-001;
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C473C336
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Life = 0.2;
|
|
Velocity = Scale*float3(rand(-1,1),rand(-1,1),rand(-1,1));
|
|
SizeCoeff = Scale*0.05;
|
|
FluxScale = pow(Flux,0.5)*2*Scale*0.05;
|
|
NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2));
|
|
Position = DropSampler.samplePosition();
|
|
}
|
|
";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_09B56731
|
|
{
|
|
StateName = "State_0";
|
|
MicroUpdatesMinFPS = 0.0000000e+000;
|
|
MaxMicroUpdatesPerFrame = 0;
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Localspace_85448D48",
|
|
"$LOCAL$/CParticleEvolver_Spawner_D5872CBC",
|
|
"$LOCAL$/CParticleEvolver_Spawner_AE1EF75D",
|
|
"$LOCAL$/CParticleEvolver_Spawner_17377E03",
|
|
};
|
|
}
|
|
CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_85448D48
|
|
{
|
|
EditorInfosIsBlockMinimized = 0;
|
|
CustomName = "Localspace";
|
|
ChildList =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Physics_C1FC11AB",
|
|
"$LOCAL$/CParticleEvolver_Script_9294EC4A",
|
|
};
|
|
}
|
|
CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C1FC11AB
|
|
{
|
|
CustomName = "Physics";
|
|
}
|
|
CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_9294EC4A
|
|
{
|
|
CustomName = "Script";
|
|
Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_0A6E7BD5";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0A6E7BD5
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Timeb += dt;
|
|
int shouldSpawnBranch = Timeb > 0.01;
|
|
float n = 60 * SizeCoeff;
|
|
Velocity = select(Velocity,float3(SizeCoeff*rand(-1,1)*100,rand(-n,n),SizeCoeff*rand(-1,1)*100),shouldSpawnBranch);
|
|
Timeb = select(Timeb,0,shouldSpawnBranch);
|
|
NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch);
|
|
}
|
|
";
|
|
}
|
|
CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_D5872CBC
|
|
{
|
|
CustomName = "Spawner";
|
|
SpawnInterval = 3.0000000e+000;
|
|
FirstSpawnDelay = 0.0000000e+000;
|
|
CustomSpawnIntervalScaleField = "SizeCoeff";
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_78FEAC2F";
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_78FEAC2F
|
|
{
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_16DA971E",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_80908FF0";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_9BE97573",
|
|
};
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_16DA971E
|
|
{
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_80908FF0
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Life = 0.01;
|
|
Color = RGB;
|
|
}
|
|
";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_9BE97573
|
|
{
|
|
StateName = "State_0";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Physics_63C0B7B2",
|
|
};
|
|
}
|
|
CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_63C0B7B2
|
|
{
|
|
CustomName = "Physics";
|
|
}
|
|
CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_AE1EF75D
|
|
{
|
|
CustomName = "Spawner";
|
|
SpawnInterval = 5.0000000e-001;
|
|
FirstSpawnDelay = 0.0000000e+000;
|
|
CustomSpawnIntervalScaleField = "FluxScale";
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_B8640AE4";
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_B8640AE4
|
|
{
|
|
EditorInfosIsBlockMinimized = 0;
|
|
Renderer = "$LOCAL$/CParticleRenderer_Ribbon_BC985177";
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_D49F0206",
|
|
"$LOCAL$/CParticleFieldDeclaration_2C1F2641",
|
|
"$LOCAL$/CParticleFieldDeclaration_72D2B198",
|
|
"$LOCAL$/CParticleFieldDeclaration_31E7E43B",
|
|
};
|
|
Samplers =
|
|
{
|
|
"$LOCAL$/CParticleSamplerCurve_397CEA1A",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_AAE465E5";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_05AF580C",
|
|
};
|
|
}
|
|
CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_BC985177
|
|
{
|
|
CustomName = "Ribbon";
|
|
BillboardingMaterial = Additive_NoAlpha;
|
|
Diffuse = "Textures/Fx/Lightning_05.dds";
|
|
AtlasDefinition = "Textures/Fx/AtlasX4.pkat";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D49F0206
|
|
{
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2C1F2641
|
|
{
|
|
FieldName = "TextureID";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_72D2B198
|
|
{
|
|
FieldName = "ColorCoeff";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_31E7E43B
|
|
{
|
|
FieldName = "CC";
|
|
FieldType = float4;
|
|
}
|
|
CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_397CEA1A
|
|
{
|
|
SamplerName = "GlowSampler";
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
7.5512230e-002,
|
|
1.6900167e-001,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
0.0000000e+000,
|
|
1.4312178e+000,
|
|
3.8749021e-001,
|
|
1.5209466e-003,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
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);
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_AAE465E5
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Life = 0.2;
|
|
Size = 0.4 * Scale * 0.1;
|
|
ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2);
|
|
TextureID = rand(0,16);
|
|
CC = RGB * 10;
|
|
}
|
|
";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_05AF580C
|
|
{
|
|
StateName = "State_0";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Localspace_0DF991BF",
|
|
"$LOCAL$/CParticleEvolver_Physics_28A5A3EE",
|
|
"$LOCAL$/CParticleEvolver_Script_B03FFA49",
|
|
};
|
|
}
|
|
CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_0DF991BF
|
|
{
|
|
CustomName = "Localspace";
|
|
}
|
|
CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_28A5A3EE
|
|
{
|
|
CustomName = "Physics";
|
|
}
|
|
CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_B03FFA49
|
|
{
|
|
CustomName = "Script";
|
|
Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_0AC29240";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0AC29240
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4);
|
|
}
|
|
";
|
|
}
|
|
CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_17377E03
|
|
{
|
|
CustomName = "Spawner";
|
|
SpawnInterval = 1.0000000e+000;
|
|
FirstSpawnDelay = 0.0000000e+000;
|
|
CustomSpawnIntervalScaleField = "SizeCoeff";
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_29FC2382";
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_29FC2382
|
|
{
|
|
Renderer = "$LOCAL$/CParticleRenderer_Billboard_0395E76D";
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_9F7EB434",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_68188D07";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_300F1CD6",
|
|
};
|
|
}
|
|
CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_0395E76D
|
|
{
|
|
CustomName = "Billboard";
|
|
BillboardingMaterial = Additive_NoAlpha;
|
|
Diffuse = "Textures/Fx/Glow_12.dds";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9F7EB434
|
|
{
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_68188D07
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Life = 0.1;
|
|
Size = 2 * Scale * 0.1;
|
|
Color = RGB * 0.04 * pow(1 - spawner.LifeRatio, 2);
|
|
}
|
|
";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_300F1CD6
|
|
{
|
|
StateName = "State_0";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Localspace_5280F151",
|
|
"$LOCAL$/CParticleEvolver_Physics_D473D1E8",
|
|
};
|
|
}
|
|
CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_5280F151
|
|
{
|
|
CustomName = "Localspace";
|
|
}
|
|
CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_D473D1E8
|
|
{
|
|
CustomName = "Physics";
|
|
}
|
|
CActionFactoryParticleSpawnerBase $LOCAL$/Layer_3
|
|
{
|
|
EditorInfosIsBlockMinimized = 0;
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_5AF63C29";
|
|
Infinite = true;
|
|
DurationInSeconds = 5.0000000e-001;
|
|
SpawnCountMode = TotalParticleCount;
|
|
SpawnCount = 8.0000000e+000;
|
|
SpawnCountRelativeRandomDeviation = 1.3000000e+000;
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_1FB913A6
|
|
{
|
|
Renderer = "$LOCAL$/CParticleRenderer_List_4E73C861";
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_DCC28D5B",
|
|
};
|
|
Samplers =
|
|
{
|
|
"$LOCAL$/CParticleSamplerCurve_B3E72B8D",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_114A39BA";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_582E1E05",
|
|
};
|
|
}
|
|
CParticleRenderer_List $LOCAL$/CParticleRenderer_List_4E73C861
|
|
{
|
|
CustomName = "List";
|
|
Renderers =
|
|
{
|
|
"$LOCAL$/CParticleRenderer_Billboard_9F34EE38",
|
|
};
|
|
}
|
|
CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9F34EE38
|
|
{
|
|
CustomName = "Billboard";
|
|
Diffuse = "Textures/FX/Glow_02.dds";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DCC28D5B
|
|
{
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_114A39BA
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Life = 0.7;
|
|
Size = 5;
|
|
}
|
|
";
|
|
}
|
|
CParticleState $LOCAL$/CParticleState_582E1E05
|
|
{
|
|
StateName = "Evolvers";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/CParticleEvolver_Field_23FBE869",
|
|
"$LOCAL$/Script_3",
|
|
};
|
|
}
|
|
CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_23FBE869
|
|
{
|
|
CustomName = "Field";
|
|
Name = "Size";
|
|
Evaluator = "$LOCAL$/CParticleSamplerCurve_81B80AE0";
|
|
}
|
|
CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_81B80AE0
|
|
{
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
5.6802160e-001,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
-5.4880661e-001,
|
|
5.2195132e-001,
|
|
6.5549666e-001,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
0.0000000e+000,
|
|
1.2214795e+000,
|
|
2.6096267e-001,
|
|
1.9846117e-001,
|
|
-9.7864561e-002,
|
|
0.0000000e+000,
|
|
};
|
|
MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
}
|
|
CActionFactoryParticleSpawnerBase $LOCAL$/Layer_4
|
|
{
|
|
Delay = 1.0000000e-001;
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_1FB913A6";
|
|
Infinite = true;
|
|
DurationInSeconds = 1.0000000e-001;
|
|
SpawnCountMode = TotalParticleCount;
|
|
SpawnCount = 2.0000000e+000;
|
|
}
|
|
CParticleEvolver_Script $LOCAL$/Script_3
|
|
{
|
|
CustomName = "Script";
|
|
Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E9FFCF22";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E9FFCF22
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Color = RGB * ColorCurve.sample(LifeRatio);
|
|
}
|
|
";
|
|
}
|
|
CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B3E72B8D
|
|
{
|
|
SamplerName = "ColorCurve";
|
|
Times =
|
|
{
|
|
0.0000000e+000,
|
|
1.0000000e+000,
|
|
};
|
|
FloatValues =
|
|
{
|
|
9.8859322e-001,
|
|
6.4638560e-003,
|
|
};
|
|
FloatTangents =
|
|
{
|
|
0.0000000e+000,
|
|
-2.8239629e+000,
|
|
0.0000000e+000,
|
|
0.0000000e+000,
|
|
};
|
|
MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
}
|