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$/Trail", "$LOCAL$/Spark", "$LOCAL$/Thunder", }; } CParticleAttributeList $LOCAL$/_GlobalAttributes { EditorInfosPosition = int2(-599, -20); AttributeList = { "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", "$LOCAL$/CParticleAttributeDeclaration_B1F5EDB1", "$LOCAL$/CParticleAttributeDeclaration_0F3455C8", "$LOCAL$/CParticleAttributeDeclaration_FEA2D0CA", "$LOCAL$/CParticleAttributeDeclaration_84958DCF", "$LOCAL$/CParticleAttributeDeclaration_C515E1D9", "$LOCAL$/CParticleAttributeDeclaration_EF71D2B2", }; } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 { AttributeName = "RGB"; AttributeType = float3; DefaultValueF4 = float4(7.5000000e-001, 1.2000000e-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); } CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 { EditorInfosPosition = int2(-508, -63); CustomName = "Billboard"; BillboardingMaterial = Additive_Soft; Diffuse = "Textures/Fx/Glow_03.dds"; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 { Expression = "function void Eval() { } "; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D62E0EDF { FieldName = "Energy"; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F51E30B { FieldName = "Energy"; } CParticleDescriptor $LOCAL$/CParticleDescriptor_52633D9B { EditorInfosIsBlockMinimized = 0; Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5648EFA"; CustomFields = { "$LOCAL$/CParticleFieldDeclaration_AAC07C45", "$LOCAL$/CParticleFieldDeclaration_F8F7FDEC", }; Samplers = { "$LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F", "$LOCAL$/CParticleSamplerCurve_11D402CE", "$LOCAL$/CParticleSamplerCurve_45CB442B", }; SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9"; States = { "$LOCAL$/CParticleState_2A5FA220", }; } CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5648EFA { CustomName = "Ribbon"; Quality = CorrectDeformation; Diffuse = "Textures/FX/TrailWater_01.dds"; AtlasDefinition = "Textures/FX/AtlasC4.pkat"; TextureUField = "LifeRatio"; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AAC07C45 { FieldName = "Color"; FieldType = float4; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F8F7FDEC { FieldName = "ColorScale"; } CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F { SamplerName = "Turb"; Wavelength = 2.5000000e-001; Strength = 5.0000001e-002; Gain = 1.0000000e+000; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_11D402CE { SamplerName = "Fade"; Times = { 0.0000000e+000, 4.9999997e-002, 3.9999998e-001, 5.9999996e-001, 9.4999999e-001, 1.0000000e+000, }; FloatValues = { 0.0000000e+000, 0.0000000e+000, 1.0000000e+000, 1.0000000e+000, 0.0000000e+000, 0.0000000e+000, }; 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, 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_F12C52A9 { Expression = "function void PostEval() { Life = TrailLife; Size = 0.05 * TrailSize; Velocity = Turb.sample(Position) * TrailVelocityScaler; Position += Velocity * 0.05; ColorScale = 1; } "; } CParticleState $LOCAL$/CParticleState_2A5FA220 { StateName = "State_0"; Evolvers = { "$LOCAL$/CParticleEvolver_Physics_7FEFDB63", "$LOCAL$/CParticleEvolver_Field_A8A31C62", "$LOCAL$/CParticleEvolver_Script_E5FB0E14", }; } CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7FEFDB63 { CustomName = "Physics"; Drag = 1.0000000e+000; } CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_A8A31C62 { CustomName = "Field"; Name = "Color"; Evaluator = "$LOCAL$/CParticleSamplerCurve_26B9E1CD"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_26B9E1CD { ValueType = Float4; Times = { 0.0000000e+000, 9.9999994e-002, 1.0000000e+000, }; FloatValues = { 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 1.0000000e+000, 8.7402363e+000, 4.4445987e+000, 1.0468085e+001, 9.9948126e-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, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, -6.4010613e-002, -1.0760010e+000, -7.6663963e-002, -7.3198671e-003, -5.7609558e-001, -9.6840105e+000, -6.8997574e-001, -6.5878808e-002, 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_Script $LOCAL$/CParticleEvolver_Script_E5FB0E14 { CustomName = "Script"; Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_481CFC67"; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_481CFC67 { Expression = "function void Eval() { Color = (RGB).xyz1*sin(LifeRatio)*pow(GlowCurve.sample(LifeRatio),Power); } "; } CActionFactoryParticleSpawnerBase $LOCAL$/Trail { EditorInfosIsBlockMinimized = 0; Descriptor = "$LOCAL$/CParticleDescriptor_52633D9B"; Infinite = true; SpawnCount = 6.4000000e+001; } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B1F5EDB1 { AttributeName = "TrailVelocityScaler"; DefaultValueF4 = float4(3.5608298e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); HasMin = true; HasMax = true; MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); MaxValueI4 = int4(10, 10, 10, 10); } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0F3455C8 { AttributeName = "TrailSize"; DefaultValueF4 = float4(1.0000000e+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); } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_45CB442B { SamplerName = "GlowCurve"; Times = { 0.0000000e+000, 1.0000000e+000, }; FloatValues = { 2.8418908e+000, 8.1062841e-001, }; FloatTangents = { 0.0000000e+000, 9.8915182e-002, 0.0000000e+000, 0.0000000e+000, }; MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FEA2D0CA { AttributeName = "TrailLife"; DefaultValueF4 = float4(1.0000000e+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); } CParticleDescriptor $LOCAL$/CParticleDescriptor_010DD88C { Renderer = "$LOCAL$/CParticleRenderer_Billboard_6C01DC3F"; CustomFields = { "$LOCAL$/CParticleFieldDeclaration_2856806E", "$LOCAL$/CParticleFieldDeclaration_119BD0C9", "$LOCAL$/CParticleFieldDeclaration_FB47EAC0", "$LOCAL$/CParticleFieldDeclaration_63838083", "$LOCAL$/CParticleFieldDeclaration_7623C910", "$LOCAL$/CParticleFieldDeclaration_DE6392D5", }; Samplers = { "$LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802", "$LOCAL$/CParticleSamplerCurve_2204493E", }; SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED"; States = { "$LOCAL$/CParticleState_545764B4", }; } CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6C01DC3F { CustomName = "Billboard"; BillboardingMaterial = AlphaBlend; Diffuse = "Textures/FX/BB_Glow_02_64.dds"; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2856806E { FieldName = "Rotation"; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_119BD0C9 { FieldName = "Color"; FieldType = float4; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FB47EAC0 { FieldName = "SizeFactor"; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_63838083 { FieldName = "ColorFactor"; } CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802 { SamplerName = "Turb"; Strength = 7.0710677e-001; Lacunarity = 1.6425119e-001; Gain = 2.8502420e-001; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED { Expression = "function void PostEval() { Life = remap(pow(rand(0,1), 4), 0, 1, 0.2, 1.5); SizeFactor = rand(0.007, 0.01) * ParticleScale; ColorFactor = remap(pow(rand(0,1),8), 0, 1, 0.5, 3); float vScale = pow(saturate(5), 0.5); float3 rVel = vrand() * 5; float3 tVel = Turb.sample(Position); Velocity = (rVel + tVel) * 0.2;// * remap(noise(parent.LifeRatio * 20 + scene.Time), -1, 1, 0.03, 0.1); Rotation = rand(-pi, pi); RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.y),rand(0,RandomRGB.z)); } "; } CParticleState $LOCAL$/CParticleState_545764B4 { StateName = "State_0"; Evolvers = { "$LOCAL$/CParticleEvolver_Physics_530EC787", "$LOCAL$/CParticleEvolver_Field_574CA956", "$LOCAL$/CParticleEvolver_Field_35E45A68", "$LOCAL$/CParticleEvolver_Script_5405A86A", }; } CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_530EC787 { CustomName = "Physics"; Mass = -1.0000000e+000; Drag = 5.0000000e-001; } CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_574CA956 { CustomName = "Field"; Name = "Color"; Evaluator = "$LOCAL$/CParticleSamplerCurve_E70F37D1"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E70F37D1 { ValueType = Float4; Times = { 0.0000000e+000, 1.0000000e+000, }; FloatValues = { 8.7447720e+000, 4.5880709e+000, 1.0473518e+001, 1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 1.0000000e+000, }; FloatTangents = { 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, -1.0970583e+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, }; MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); } CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_35E45A68 { CustomName = "Field"; Name = "Size"; Evaluator = "$LOCAL$/CParticleSamplerCurve_56A3554B"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56A3554B { Times = { 0.0000000e+000, 1.0000000e+000, }; FloatValues = { 1.0000000e+000, 0.0000000e+000, }; FloatTangents = { 0.0000000e+000, 0.0000000e+000, -3.4636030e+000, 0.0000000e+000, }; MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); } CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5405A86A { CustomName = "Script"; Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75"; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75 { Expression = "function void Eval() { Size *= SizeFactor * 2; Color *= (RGB.xyz1 + RandomedRGB.xyz1) * GlowCurve.sample(LifeRatio) * pow(Power,1); Force = Turb.sample(LifeRatio) * 5 * LifeRatio; } "; } CActionFactoryParticleSpawnerBase $LOCAL$/Spark { EditorInfosIsBlockMinimized = 0; Descriptor = "$LOCAL$/CParticleDescriptor_010DD88C"; Infinite = true; SpawnCount = 2.5600000e+002; } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_84958DCF { AttributeName = "ParticleScale"; DefaultValueF4 = float4(2.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); HasMin = true; HasMax = true; MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); MaxValueI4 = int4(10, 10, 10, 10); } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2204493E { SamplerName = "GlowCurve"; Times = { 0.0000000e+000, 9.8354541e-002, 2.1165061e-001, 1.0000000e+000, }; FloatValues = { 0.0000000e+000, 2.5340417e-001, 2.4170661e-001, -1.3308048e-002, }; FloatTangents = { 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000, -9.0102851e-002, -6.2696373e-001, 0.0000000e+000, 0.0000000e+000, }; MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_C515E1D9 { AttributeName = "RandomRGB"; AttributeType = float3; DefaultValueF4 = float4(8.5000002e-001, 2.0000000e-001, 7.0999998e-001, 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_7623C910 { FieldName = "RandomedRGB"; FieldType = float3; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DE6392D5 { FieldName = "Force"; FieldType = float3; } CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF71D2B2 { AttributeName = "Power"; DefaultValueF4 = float4(4.0000000e+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); } CParticleDescriptor $LOCAL$/CParticleDescriptor_2B0BA695 { EditorInfosPosition = int2(-392, -44); CustomFields = { "$LOCAL$/CParticleFieldDeclaration_32424E7C", "$LOCAL$/CParticleFieldDeclaration_1FA390EF", "$LOCAL$/CParticleFieldDeclaration_5BFAFADE", }; SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_FB33A3F9"; States = { "$LOCAL$/CParticleState_8F75A5B0", }; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_32424E7C { FieldName = "Color"; FieldType = float4; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1FA390EF { FieldName = "Vrand"; FieldType = float3; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5BFAFADE { FieldName = "BranchLength"; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FB33A3F9 { EditorInfosPosition = int2(-508, 22); Expression = "function void Eval() { BranchLength = rand(0.4,0.6); Life = BranchLength; Vrand=vrand(); } "; } CParticleState $LOCAL$/CParticleState_8F75A5B0 { EditorInfosPosition = int2(-508, 65); StateName = "State_0"; Evolvers = { "$LOCAL$/CParticleEvolver_Localspace_CE455E33", "$LOCAL$/CParticleEvolver_Spawner_80F1FE37", }; } CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_CE455E33 { CustomName = "Localspace"; ChildList = { "$LOCAL$/CParticleEvolver_Physics_E7A26F72", "$LOCAL$/CParticleEvolver_Script_FF032A1D", }; } CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E7A26F72 { EditorInfosPosition = int2(-590, 86); CustomName = "Physics"; IntegrationDtTreshold = 2.0000001e-003; } CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_FF032A1D { CustomName = "Script"; Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_BFEED4A4"; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_BFEED4A4 { Expression = "function void Eval() { Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; } "; } CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_80F1FE37 { CustomName = "Spawner"; SpawnInterval = 4.0000001e-001; FirstSpawnDelay = 0.0000000e+000; Descriptor = "$LOCAL$/CParticleDescriptor_23AFCDC6"; } CParticleDescriptor $LOCAL$/CParticleDescriptor_23AFCDC6 { Renderer = "$LOCAL$/CParticleRenderer_List_8595FD01"; CustomFields = { "$LOCAL$/CParticleFieldDeclaration_D2EA14FB", "$LOCAL$/CParticleFieldDeclaration_8A5E89DA", "$LOCAL$/CParticleFieldDeclaration_1352A0A5", }; Samplers = { "$LOCAL$/CParticleSamplerCurve_3F08C9CC", "$LOCAL$/CParticleSamplerDoubleCurve_7373067F", "$LOCAL$/CParticleSamplerProceduralTurbulence_43EDD7AE", }; SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_6D0E5909"; States = { "$LOCAL$/CParticleState_D62CF800", }; } CParticleRenderer_List $LOCAL$/CParticleRenderer_List_8595FD01 { EditorInfosIsBlockMinimized = 0; CustomName = "List"; Renderers = { "$LOCAL$/CParticleRenderer_Ribbon_6352EF58", }; } CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_6352EF58 { CustomName = "Ribbon"; BillboardingMaterial = Additive_Soft; Diffuse = "Textures/FX/Lightning_05.dds"; AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; SoftnessDistance = 2.5000000e-001; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D2EA14FB { FieldName = "Color"; FieldType = float4; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8A5E89DA { FieldName = "ParentVelocity"; FieldType = float3; } CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1352A0A5 { FieldName = "TextureID"; } CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3F08C9CC { SamplerName = "Alpha"; Times = { 0.0000000e+000, 8.9328818e-002, 1.2633452e-001, 1.0000000e+000, }; FloatValues = { 0.0000000e+000, 1.0203243e+000, 6.4178073e-001, -1.2389421e-002, }; FloatTangents = { 0.0000000e+000, 0.0000000e+000, -1.6671433e-001, -6.9063723e-002, 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); } CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_7373067F { SamplerName = "Glow"; Times = { 0.0000000e+000, 1.8617449e-002, 3.7234969e-002, 9.6040227e-002, 1.6187949e-001, 4.2304891e-001, 4.8267543e-001, 6.5048271e-001, 1.0000000e+000, }; FloatValues = { 0.0000000e+000, 4.6155271e-001, 1.1097360e+000, 1.1913260e+000, 1.2027121e+000, 1.5533510e+000, 3.1154866e+000, 1.3129970e+000, 9.9858201e-001, }; FloatTangents = { 0.0000000e+000, 0.0000000e+000, 5.2994812e-001, 5.2994978e-001, 7.0677501e-001, 2.2324190e+000, -1.2589170e+000, -1.4095020e+000, 1.9320531e+000, 7.6640139e+000, 3.7825661e+000, 8.6358368e-001, -1.9505526e-001, -5.4894471e-001, -3.5419121e-001, -7.3772728e-001, 0.0000000e+000, 0.0000000e+000, }; Times1 = { 0.0000000e+000, 1.8617449e-002, 3.7234969e-002, 5.7597529e-002, 1.0300433e-001, 2.6808769e-001, 5.0780302e-001, 7.3183209e-001, 1.0000000e+000, }; FloatValues1 = { 0.0000000e+000, 4.9471349e-001, 1.2169130e+000, 2.2920790e+000, 3.6313715e+000, 6.5417272e-001, 1.4177361e+000, 5.1636100e-001, 1.0271250e+000, }; FloatTangents1 = { 0.0000000e+000, 0.0000000e+000, 5.8983940e-001, 5.8984131e-001, 7.8848606e-001, 8.6239171e-001, 1.0754330e+000, 2.3981247e+000, 6.7492634e-002, 2.4538013e-001, -1.0991865e+000, -1.5961140e+000, 6.7877718e-003, 6.3436050e-003, -2.8246269e-001, -3.3811399e-001, 0.0000000e+000, 0.0000000e+000, }; MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); } CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_43EDD7AE { SamplerName = "GlowTurb"; Wavelength = 2.0000000e-001; Strength = 2.1213202e-001; Lacunarity = 4.3478259e-001; Gain = 7.3429948e-001; TimeScale = 6.0000000e+000; FlowFactor = -3.7681162e-001; DivergenceFactor = -7.0531404e-001; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_6D0E5909 { Expression = "function void Eval() { Life = (parent.BranchLength-spawner.LifeRatio*parent.BranchLength)*2; Size = 0.15; Velocity=parent.Vrand*1+vrand()*5; ParentVelocity = Velocity; TextureID = rand(0,16); } "; } CParticleState $LOCAL$/CParticleState_D62CF800 { StateName = "State_0"; Evolvers = { "$LOCAL$/CParticleEvolver_Physics_E2DAF6C3", "$LOCAL$/CParticleEvolver_Script_65F4AB42", }; } CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E2DAF6C3 { CustomName = "Physics"; Drag = 6.0000000e+001; } CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_65F4AB42 { CustomName = "Script"; Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5FF12A2D"; } CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5FF12A2D { Expression = "function void Eval() { Color = float4(RGB.x, RGB.y, RGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power*0.5); Color = Color * GlowTurb.sample(LifeRatio).x; Position += float3(ParentVelocity * 0.02 * dt) * 3; } "; } CActionFactoryParticleSpawnerBase $LOCAL$/Thunder { EditorInfosPosition = int2(-288, -61); Descriptor = "$LOCAL$/CParticleDescriptor_2B0BA695"; Infinite = true; DurationInSeconds = 2.0000000e+000; SpawnCount = 8.0000000e+000; }