mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-25 15:08:00 +01:00
219 lines
5.8 KiB
Text
219 lines
5.8 KiB
Text
Version = 1.9.5.30373;
|
|
CParticleEffect $LOCAL$/Resource
|
|
{
|
|
EditorInfosPosition = int2(73, 52);
|
|
OnSpawn = "$LOCAL$/Spawner";
|
|
CustomAttributes = "$LOCAL$/_GlobalAttributes";
|
|
Autostart = true;
|
|
}
|
|
CActionFactoryParticleSpawnerBase $LOCAL$/Orb
|
|
{
|
|
EditorInfosPosition = int2(-288, -61);
|
|
Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A";
|
|
Infinite = true;
|
|
DurationInSeconds = 2.0000000e+001;
|
|
SpawnCount = 3.0000000e+000;
|
|
FluxFactorExpression = "Flux";
|
|
}
|
|
CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A
|
|
{
|
|
EditorInfosPosition = int2(-392, -44);
|
|
Renderer = "$LOCAL$/CParticleRenderer_List_B7E8E066";
|
|
CustomFields =
|
|
{
|
|
"$LOCAL$/CParticleFieldDeclaration_CC227D45",
|
|
"$LOCAL$/CParticleFieldDeclaration_E29F8B33",
|
|
"$LOCAL$/CParticleFieldDeclaration_51C1A072",
|
|
"$LOCAL$/CParticleFieldDeclaration_1409AF1D",
|
|
"$LOCAL$/CParticleFieldDeclaration_1F853DA4",
|
|
"$LOCAL$/CParticleFieldDeclaration_470DAEC6",
|
|
"$LOCAL$/CParticleFieldDeclaration_15053421",
|
|
"$LOCAL$/CParticleFieldDeclaration_510218E3",
|
|
"$LOCAL$/CParticleFieldDeclaration_E6CC3B27",
|
|
"$LOCAL$/CParticleFieldDeclaration_4D775576",
|
|
"$LOCAL$/CParticleFieldDeclaration_1487313F",
|
|
};
|
|
SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7";
|
|
States =
|
|
{
|
|
"$LOCAL$/CParticleState_3AF8190E",
|
|
};
|
|
}
|
|
CActionFactoryWithChilds $LOCAL$/Spawner
|
|
{
|
|
EditorInfosPosition = int2(-162, -81);
|
|
ChildList =
|
|
{
|
|
"$LOCAL$/Orb",
|
|
};
|
|
}
|
|
CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4
|
|
{
|
|
EditorInfosPosition = int2(-508, -63);
|
|
CustomName = "Billboard";
|
|
BillboardingMaterial = Additive_Soft;
|
|
Diffuse = "Textures/Fx/Glow_03.dds";
|
|
BillboardMode = PlanarAlignedQuad;
|
|
AxisField = "Axis";
|
|
Axis2Field = "AxisUp";
|
|
AxisScale = 1.0000000e+000;
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7
|
|
{
|
|
EditorInfosPosition = int2(-508, 22);
|
|
Expression = "function void Eval()
|
|
{
|
|
Life = 0.2;
|
|
Size = 0.1;
|
|
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_3AF8190E
|
|
{
|
|
EditorInfosPosition = int2(-508, 65);
|
|
StateName = "State_0";
|
|
Evolvers =
|
|
{
|
|
"$LOCAL$/Script_1",
|
|
};
|
|
}
|
|
CParticleAttributeList $LOCAL$/_GlobalAttributes
|
|
{
|
|
EditorInfosPosition = int2(-599, -20);
|
|
AttributeList =
|
|
{
|
|
"$LOCAL$/CParticleAttributeDeclaration_48A41B37",
|
|
"$LOCAL$/CParticleAttributeDeclaration_3B9B22EF",
|
|
"$LOCAL$/CParticleAttributeDeclaration_E17425F9",
|
|
};
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC227D45
|
|
{
|
|
FieldName = "PosSphere";
|
|
FieldType = float3;
|
|
}
|
|
CParticleEvolver_Script $LOCAL$/Script_1
|
|
{
|
|
EditorInfosIsBlockMinimized = 0;
|
|
CustomName = "Script";
|
|
Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_321192EC";
|
|
}
|
|
CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_321192EC
|
|
{
|
|
Expression = "function void Eval()
|
|
{
|
|
Color = (sin(LifeRatio*3)*RGB*ColorCoeff).xyz1 * pow(3,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;
|
|
}
|
|
";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E29F8B33
|
|
{
|
|
FieldName = "Axis";
|
|
FieldType = float3;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_51C1A072
|
|
{
|
|
FieldName = "AxisUp";
|
|
FieldType = float3;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1409AF1D
|
|
{
|
|
FieldName = "Speed";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1F853DA4
|
|
{
|
|
FieldName = "Color";
|
|
FieldType = float4;
|
|
}
|
|
CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_48A41B37
|
|
{
|
|
AttributeName = "RGB";
|
|
AttributeType = float3;
|
|
DefaultValueF4 = float4(8.9603961e-001, 1.4603961e-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_470DAEC6
|
|
{
|
|
FieldName = "ColorCoeff";
|
|
FieldType = float3;
|
|
}
|
|
CParticleRenderer_List $LOCAL$/CParticleRenderer_List_B7E8E066
|
|
{
|
|
CustomName = "List";
|
|
Renderers =
|
|
{
|
|
"$LOCAL$/CParticleRenderer_Billboard_9136D2F4",
|
|
"$LOCAL$/CParticleRenderer_Billboard_F7E49E57",
|
|
};
|
|
}
|
|
CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_F7E49E57
|
|
{
|
|
EditorInfosPosition = int2(-508, -63);
|
|
CustomName = "Billboard";
|
|
BillboardingMaterial = Additive_Soft;
|
|
Diffuse = "Textures/Fx/Glow_03.dds";
|
|
BillboardMode = VelocityAxisAligned;
|
|
ColorField = "ColorG";
|
|
AxisField = "AxisUpG";
|
|
Axis2Field = "AxisUp";
|
|
AxisScale = 1.0000000e+000;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_15053421
|
|
{
|
|
FieldName = "ColorG";
|
|
FieldType = float4;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_510218E3
|
|
{
|
|
FieldName = "Pos";
|
|
FieldType = float3;
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E6CC3B27
|
|
{
|
|
FieldName = "Offset";
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4D775576
|
|
{
|
|
FieldName = "AxisUpG";
|
|
FieldType = float3;
|
|
}
|
|
CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_3B9B22EF
|
|
{
|
|
AttributeName = "Flux";
|
|
DefaultValueF4 = float4(3.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
HasMin = true;
|
|
MaxValueF4 = float4(1.0000000e+003, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000);
|
|
MaxValueI4 = int4(10, 10, 10, 10);
|
|
}
|
|
CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E17425F9
|
|
{
|
|
AttributeName = "Scale";
|
|
DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000);
|
|
HasMin = true;
|
|
MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000);
|
|
MaxValueI4 = int4(10, 10, 10, 10);
|
|
}
|
|
CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1487313F
|
|
{
|
|
FieldName = "InitPosition";
|
|
FieldType = float3;
|
|
TransformFilter = full;
|
|
}
|