Version = 1.9.4.30080; CParticleEffect $LOCAL$/Resource { OnSpawn = "$LOCAL$/Spawner"; CustomAttributes = "$LOCAL$/_GlobalAttributes"; Autostart = true; } CActionFactoryWithChilds $LOCAL$/Spawner { EditorInfosPosition = int2(329, 64); ChildList = { "$LOCAL$/Frame", "$LOCAL$/PreFlash", "$LOCAL$/Flash", "$LOCAL$/Distortion", }; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 { } CParticleAttributeList $LOCAL$/_GlobalAttributes { AttributeList = { "$LOCAL$/CParticleAttributeDeclaration_FE3EB050", "$LOCAL$/CParticleAttributeDeclaration_02243087", "$LOCAL$/CParticleAttributeDeclaration_1DF47118", "$LOCAL$/CParticleAttributeDeclaration_88BB8542", "$LOCAL$/CParticleAttributeDeclaration_56740C2D", }; SamplerList = { "$LOCAL$/CParticleSamplerCurve_C7BD0385", }; } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE3EB050 { AttributeName = "CustomColorRGBA"; AttributeType = float4; DefaultValueF4 = float4(2.7722779e-001, 1.8762376e+000, 3.9603961e-001, 1.7344180e-001); MaxValueF4 = float4(2.0000000e+000, 2.0000000e+000, 2.0000000e+000, 2.0000000e+000); } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 { AttributeName = "Scale"; DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 { AttributeName = "Flux"; DefaultValueF4 = float4(8.3468831e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C7BD0385 { SamplerName = "GlobalSizeCurve"; Times = { 0.0000000e+000, 4.1777310e-001, 5.0437367e-001, 6.4856136e-001, 7.3379391e-001, 1.0000000e+000, }; FloatValues = { 1.1830900e+001, 2.2786690e+001, 2.7557028e+002, 1.7187576e+002, 4.5565090e+000, 1.0000000e+000, }; FloatTangents = { 0.0000000e+000, 0.0000000e+000, 1.4870480e+001, 3.0825162e+000, 6.5286195e-001, 1.0869976e+000, -1.3543121e+002, -8.0056412e+001, 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); } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_821F762C { FieldName = "BaseSize"; FieldType = float3; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_949EFA5F { FieldName = "BaseSize"; FieldType = float3; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_882CE90E { FieldName = "BaseSize"; FieldType = float3; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B9A815E9 { FieldName = "BaseSize"; FieldType = float3; } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_88BB8542 { 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_56740C2D { 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); } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EF247296 { EditorInfosPosition = int2(-867, 908); ValueType = Float4; Times = { 0.0000000e+000, 5.3849864e-001, 1.0000000e+000, }; FloatValues = { 2.5888062e+000, 7.7745247e+001, 7.3503357e+001, 6.4612997e-001, 2.0553560e+000, 3.8516720e+001, 3.5025604e+001, 6.2580526e-001, 1.3330803e+000, 3.0305719e+000, 4.2372961e+000, 6.6386294e-001, }; FloatTangents = { 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, -1.6951137e+000, -1.3702939e-004, -1.1671032e+000, -2.7337904e+000, -1.7046227e+000, -6.1781224e-002, -1.0002245e+000, -2.3428993e+000, -1.4608870e+000, -5.2947421e-002, -4.2274657e-001, -1.0370370e+000, -3.2198474e+000, 1.2638654e-004, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, }; } CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_24B21A11 { EditorInfosPosition = int2(-771, 909); CustomName = "Field"; Name = "Color"; Evaluator = "$LOCAL$/CParticleSamplerCurve_EF247296"; } CActionFactoryParticleSpawnerBase $LOCAL$/PreFlash { EditorInfosIsBlockMinimized = 0; Descriptor = "$LOCAL$/CParticleDescriptor_1E33C9A8"; DurationInSeconds = 2.0000000e-001; SpawnCountMode = TotalParticleCount; SpawnCount = 4.0000000e+000; } CParticleDescriptor $LOCAL$/CParticleDescriptor_1E33C9A8 { Renderer = "$LOCAL$/CParticleRenderer_List_5987DD12"; CustomFields = { "$LOCAL$/CParticleFieldDeclaration_B3140DAA", }; SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B"; States = { "$LOCAL$/CParticleState_7B7ECB1C", }; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B { Expression = "function void Eval() { Life = 0.3; Size = 5; //Velocity = scene.axisUp(); Color = float4(1.0); } "; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B3140DAA { FieldName = "Color"; FieldType = float4; } CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_194188B5 { CustomName = "Billboard"; Diffuse = "Textures/FX/Glow_02.dds"; } CParticleState $LOCAL$/CParticleState_7B7ECB1C { StateName = "Evolvers"; Evolvers = { "$LOCAL$/CParticleEvolver_Physics_9F457A0F", "$LOCAL$/Field_1", "$LOCAL$/Field_2", }; } CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9F457A0F { CustomName = "Physics"; } CParticleEvolver_Field $LOCAL$/Field_1 { CustomName = "Field"; Name = "Color"; Evaluator = "$LOCAL$/CParticleSamplerCurve_F8808A7E"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F8808A7E { ValueType = Float4; Times = { 0.0000000e+000, 1.0000000e+000, }; FloatValues = { -8.2168579e-003, -8.2168579e-003, -8.2168579e-003, -8.2168579e-003, 6.4559206e-002, 6.4559206e-002, 6.4559206e-002, 6.4559206e-002, }; FloatTangents = { 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 1.0705091e+000, 1.0705091e+000, 1.0705091e+000, 1.0705091e+000, 5.1760048e-001, -1.2630554e+000, -2.4205604e-001, -1.2630554e+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); } CParticleEvolver_Field $LOCAL$/Field_2 { CustomName = "Field"; Name = "Size"; Evaluator = "$LOCAL$/CParticleSamplerCurve_337A9C19"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_337A9C19 { Times = { 0.0000000e+000, 5.7562411e-001, 1.0000000e+000, }; FloatValues = { 4.7029600e+000, 3.5331841e+000, 8.9722443e-001, }; FloatTangents = { 0.0000000e+000, -1.8865035e-001, -2.7060287e+000, -1.9950057e+000, -1.8156990e+000, 0.0000000e+000, }; MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); } CParticleRenderer_List $LOCAL$/CParticleRenderer_List_5987DD12 { CustomName = "List"; Renderers = { "$LOCAL$/CParticleRenderer_Billboard_194188B5", }; } CParticleDescriptor $LOCAL$/CParticleDescriptor_EB06C381 { Renderer = "$LOCAL$/CParticleRenderer_List_1E17F7D8"; CustomFields = { "$LOCAL$/CParticleFieldDeclaration_3CDA2A4C", }; SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF"; States = { "$LOCAL$/CParticleState_1322942E", }; } CParticleRenderer_List $LOCAL$/CParticleRenderer_List_1E17F7D8 { CustomName = "List"; Renderers = { "$LOCAL$/CParticleRenderer_Billboard_8197877B", }; } CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_8197877B { CustomName = "Billboard"; Diffuse = "Textures/FX/Glow_02.dds"; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3CDA2A4C { FieldName = "Color"; FieldType = float4; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF { Expression = "function void Eval() { Life = 0.7; Size = 5; //Velocity = scene.axisUp(); Color = float4(1.0); } "; } CParticleState $LOCAL$/CParticleState_1322942E { StateName = "Evolvers"; Evolvers = { "$LOCAL$/CParticleEvolver_Physics_B04B8F89", "$LOCAL$/CParticleEvolver_Field_537F3080", "$LOCAL$/CParticleEvolver_Field_E5657FC2", }; } CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B04B8F89 { CustomName = "Physics"; } CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_537F3080 { CustomName = "Field"; Name = "Color"; Evaluator = "$LOCAL$/CParticleSamplerCurve_83855943"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_83855943 { ValueType = Float4; Times = { 0.0000000e+000, 1.0350089e-001, 1.9090381e-001, 1.0000000e+000, }; FloatValues = { -8.2168579e-003, -8.2168579e-003, -8.2168579e-003, -8.2168579e-003, 1.6533300e+001, 2.4095961e+001, 1.6533300e+001, 1.6533300e+001, 3.8750023e-002, 3.8750023e-002, 3.8750023e-002, 3.8750023e-002, 6.4559206e-002, 6.4559206e-002, 6.4559206e-002, 6.4559206e-002, }; FloatTangents = { 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 7.2740410e-003, 7.2740410e-003, 7.2740410e-003, 7.2740410e-003, 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, 4.1878864e-001, -1.0219334e+000, -1.9584665e-001, -1.0219334e+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); } CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E5657FC2 { CustomName = "Field"; Name = "Size"; Evaluator = "$LOCAL$/CParticleSamplerCurve_F39058AD"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F39058AD { Times = { 0.0000000e+000, 5.6712776e-001, 1.0000000e+000, }; FloatValues = { 9.3825042e-001, 4.6045847e+000, 4.9280052e+000, }; FloatTangents = { 0.0000000e+000, 6.1942945e+000, 1.9890777e+000, 1.5182054e+000, -9.8067053e-002, 0.0000000e+000, }; MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); } CActionFactoryParticleSpawnerBase $LOCAL$/Flash { EditorInfosIsBlockMinimized = 0; Delay = 3.0000001e-001; Descriptor = "$LOCAL$/CParticleDescriptor_EB06C381"; DurationInSeconds = 1.0000000e-001; SpawnCountMode = TotalParticleCount; } CParticleDescriptor $LOCAL$/CParticleDescriptor_3A4409B3 { Renderer = "$LOCAL$/CParticleRenderer_Billboard_6468C0F2"; CustomFields = { "$LOCAL$/CParticleFieldDeclaration_60B7199D", }; Samplers = { "$LOCAL$/CParticleSamplerCurve_5231BA24", }; SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_34D411B7"; States = { "$LOCAL$/CParticleState_12E9A746", }; } CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6468C0F2 { CustomName = "Billboard"; BillboardingMaterial = AlphaBlend_Distortion; Diffuse = "Textures/FX/DistortionCircle_01.dds"; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_60B7199D { FieldName = "Color"; FieldType = float4; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5231BA24 { 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); } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_34D411B7 { Expression = "function void Eval() { Life = 1.5; Size = (2.1) * SizeSampler.sample(spawner.LifeRatio); Color=1; } "; } CParticleState $LOCAL$/CParticleState_12E9A746 { StateName = "State_0"; Evolvers = { "$LOCAL$/CParticleEvolver_Localspace_31801481", "$LOCAL$/CParticleEvolver_Field_0BE16B5A", }; } CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_31801481 { CustomName = "Localspace"; ChildList = { "$LOCAL$/CParticleEvolver_Field_5B731CD8", }; } CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5B731CD8 { CustomName = "Field"; Name = "Color"; Evaluator = "$LOCAL$/CParticleSamplerCurve_6FCF107B"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6FCF107B { ValueType = Float4; Times = { 0.0000000e+000, 3.3000004e-001, 1.0000000e+000, }; FloatValues = { 1.2252917e+001, 1.2252917e+001, 1.2252917e+001, 1.2252917e+001, 1.6135629e+000, 1.6135629e+000, 1.6135629e+000, 1.6135629e+000, 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, -2.0815216e+001, -2.0815216e+001, -2.0815216e+001, -2.0815216e+001, -1.0668875e+000, -1.0668875e+000, -1.0668875e+000, -1.0668875e+000, -2.1661046e+000, -2.1661046e+000, -2.1661046e+000, -2.1661046e+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); } CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0BE16B5A { CustomName = "Field"; Name = "Size"; Evaluator = "$LOCAL$/CParticleSamplerCurve_93366025"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_93366025 { Times = { 0.0000000e+000, 4.2586720e-001, 1.0000000e+000, }; FloatValues = { 1.0993826e+000, 7.2805438e+000, 7.8490167e+000, }; FloatTangents = { 0.0000000e+000, 9.7342634e-001, 7.6217121e-001, 1.0275209e+000, 0.0000000e+000, 0.0000000e+000, }; MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); } CActionFactoryParticleSpawnerBase $LOCAL$/Distortion { EditorInfosIsBlockMinimized = 0; Delay = 2.0000000e-001; Descriptor = "$LOCAL$/CParticleDescriptor_3A4409B3"; DurationInSeconds = 1.0000000e+000; } CActionFactoryParticleSpawnerBase $LOCAL$/Frame { EditorInfosPosition = int2(170, 355); Delay = 2.0000000e-001; Descriptor = "$LOCAL$/CParticleDescriptor_1351646B"; DurationInSeconds = 2.0000000e-001; SpawnCountMode = TotalParticleCount; SpawnCount = 1.2800000e+002; SpawnCountRelativeRandomDeviation = 9.6650624e-001; } CParticleDescriptor $LOCAL$/CParticleDescriptor_1351646B { EditorInfosPosition = int2(25, 339); Samplers = { "$LOCAL$/CParticleSamplerShape_1CD7560A", "$LOCAL$/CParticleSamplerShape_6ECA987C", }; SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7D7074DE"; States = { "$LOCAL$/CParticleState_88B9A5F9", }; } CParticleSamplerShape $LOCAL$/CParticleSamplerShape_1CD7560A { EditorInfosPosition = int2(-151, 367); SamplerName = "PositionSampler"; Shape = "$LOCAL$/CShapeDescriptor_C6084895"; SampleDimensionality = Volume; } CShapeDescriptor $LOCAL$/CShapeDescriptor_C6084895 { EditorInfosPosition = int2(-247, 365); Position = float3(0.0000000e+000, -7.6473951e-003, 0.0000000e+000); ShapeType = COMPLEX_ELLIPSOID; Radius = 2.0000000e+000; InnerRadius = 2.0000000e+000; Height = 1.0000000e+000; CutPlane = 5.0000000e-001; } CParticleSamplerShape $LOCAL$/CParticleSamplerShape_6ECA987C { EditorInfosPosition = int2(-149, 416); SamplerName = "VelocitySampler"; Shape = "$LOCAL$/CShapeDescriptor_194CA2EF"; SampleDimensionality = Volume; } CShapeDescriptor $LOCAL$/CShapeDescriptor_194CA2EF { EditorInfosPosition = int2(-241, 420); ShapeType = COMPLEX_ELLIPSOID; Radius = 2.0000000e+000; InnerRadius = 2.0000000e+000; Height = 1.0000000e+000; CutPlane = 5.0000000e-001; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7D7074DE { EditorInfosPosition = int2(-153, 300); Expression = "function void Eval() { Life = rand(0.1,0.1); Position = PositionSampler.samplePosition(); 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_88B9A5F9 { EditorInfosPosition = int2(-79, 590); StateName = "State_0"; Evolvers = { "$LOCAL$/CParticleEvolver_Physics_E292CFB0", "$LOCAL$/CParticleEvolver_Spawner_05B4D033", }; } CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E292CFB0 { 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_05B4D033 { EditorInfosPosition = int2(-283, 669); CustomName = "Spawner"; SpawnMetric = Time; SpawnInterval = 9.9999998e-003; Descriptor = "$LOCAL$/CParticleDescriptor_7D2DC972"; } CParticleDescriptor $LOCAL$/CParticleDescriptor_7D2DC972 { EditorInfosPosition = int2(-389, 723); Renderer = "$LOCAL$/CParticleRenderer_Billboard_C5648C1D"; CustomFields = { "$LOCAL$/CParticleFieldDeclaration_E55ADEA4", "$LOCAL$/CParticleFieldDeclaration_1F69D037", "$LOCAL$/CParticleFieldDeclaration_0EBB07C6", }; SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_ED84BF01"; States = { "$LOCAL$/CParticleState_B8A7D958", }; } CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_C5648C1D { 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_E55ADEA4 { EditorInfosPosition = int2(-561, 708); FieldName = "Color"; FieldType = float4; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1F69D037 { EditorInfosPosition = int2(-563, 749); FieldName = "ColorCoeff"; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0EBB07C6 { EditorInfosPosition = int2(-564, 791); FieldName = "SizeCoeff"; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_ED84BF01 { 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_B8A7D958 { EditorInfosPosition = int2(-570, 876); StateName = "State_0"; Evolvers = { "$LOCAL$/CParticleEvolver_Physics_590C46FB", "$LOCAL$/CParticleEvolver_Field_2733A3DA", "$LOCAL$/CParticleEvolver_Field_6DC093CC", "$LOCAL$/CParticleEvolver_Rotation_43B6D1AE", "$LOCAL$/CParticleEvolver_Script_C5ADDB09", }; } CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_590C46FB { 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_2733A3DA { EditorInfosPosition = int2(-767, 850); CustomName = "Field"; Name = "Size"; Evaluator = "$LOCAL$/CParticleSamplerCurve_29E0C2A5"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_29E0C2A5 { 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_6DC093CC { EditorInfosPosition = int2(-771, 909); CustomName = "Field"; Name = "Color"; Evaluator = "$LOCAL$/CParticleSamplerCurve_AB41987F"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_AB41987F { EditorInfosPosition = int2(-867, 908); ValueType = Float4; Times = { 0.0000000e+000, 5.3849864e-001, 1.0000000e+000, }; FloatValues = { 2.5888059e+000, 5.4491077e+001, 5.0249191e+001, 6.4613003e-001, 2.0553560e+000, 3.8516720e+001, 3.5025600e+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.6951137e+000, -1.3702939e-004, -1.1671032e+000, -2.7337904e+000, -1.7046227e+000, -6.1781224e-002, -1.0002245e+000, -2.3428993e+000, -1.4608870e+000, -5.2947421e-002, -4.2274657e-001, -1.0370370e+000, -3.2198474e+000, 1.2638654e-004, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, }; } CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_43B6D1AE { EditorInfosPosition = int2(-773, 966); CustomName = "Rotation"; } CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_C5ADDB09 { EditorInfosPosition = int2(-767, 1024); CustomName = "Script"; Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5DA1A200"; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5DA1A200 { 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.3; }"; }