Skip to content

Commit

Permalink
Optimize hover effects (FAForever#3419)
Browse files Browse the repository at this point in the history
* Add base game files

* Add base game files

* Adjust emitters for performance

* Turn off emitters when playing on low fidelity
  • Loading branch information
Garanas committed Dec 3, 2021
1 parent a393ece commit 7a2f8be
Show file tree
Hide file tree
Showing 9 changed files with 1,395 additions and 0 deletions.
155 changes: 155 additions & 0 deletions effects/emitters/aeon_groundFX_emit.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
EmitterBlueprint {
BlueprintId = 'aeon_groundFX',
Lifetime = -1.00,
Repeattime = 10.00,
TextureFramecount = 1.00,
Blendmode = 0.00,
LocalVelocity = false,
LocalAcceleration = false,
Gravity = false,
AlignRotation = false,
AlignToBone = false,
Flat = true,
LODCutoff = 80.00,
EmitIfVisible = true,
CatchupEmit = true,
CreateIfVisible = false,
SnapToWaterline = false,
OnlyEmitOnWater = false,
ParticleResistance = false,
InterpolateEmission = true,
TextureStripcount = 1.00,
SortOrder = 0.00,
LowFidelity = false,
MedFidelity = true,
HighFidelity = true,
Texture = [[/textures/particles/glow_alpha_03.dds]],
RampTexture = [[/textures/particles/ramp_white_07.dds]],
XDirectionCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
YDirectionCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.500,z=0.000 },
},
},
ZDirectionCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
EmitRateCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=3.000,z=0.000 },
},
},
LifetimeCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=1.000,z=1.000 },
},
},
VelocityCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
XAccelCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
YAccelCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
ZAccelCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
ResistanceCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
SizeCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
XPosCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
YPosCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
ZPosCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
StartSizeCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.500,z=0.000 },
},
},
EndSizeCurve = {
XRange = 10.00,
Keys = {
{ x=4.182,y=0.800,z=0.000 },
},
},
InitialRotationCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=180.000,z=360.000 },
},
},
RotationRateCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=10.000 },
},
},
FrameRateCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=1.000,z=0.000 },
},
},
TextureSelectionCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
RampSelectionCurve = {
XRange = 10.00,
Keys = {
{ x=5.000,y=0.000,z=0.000 },
},
},
}

155 changes: 155 additions & 0 deletions effects/emitters/aeon_t1eng_groundfx01_emit.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
EmitterBlueprint {
BlueprintId = 'aeon_t1eng_groundfx01',
Lifetime = -0.80,
Repeattime = 0.80,
TextureFramecount = 1.00,
Blendmode = 3.00,
LocalVelocity = false,
LocalAcceleration = false,
Gravity = false,
AlignRotation = true,
AlignToBone = false,
Flat = false,
LODCutoff = 80.00,
EmitIfVisible = true,
CatchupEmit = true,
CreateIfVisible = false,
SnapToWaterline = false,
OnlyEmitOnWater = false,
ParticleResistance = false,
InterpolateEmission = true,
TextureStripcount = 1.00,
SortOrder = 0.00,
LowFidelity = false,
MedFidelity = true,
HighFidelity = true,
Texture = [[/textures/particles/quantum_generator_add_03.dds]],
RampTexture = [[/textures/particles/ramp_white_03.dds]],
XDirectionCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=0.000,z=0.035 },
},
},
YDirectionCurve = {
XRange = 0.20,
Keys = {
{ x=0.011,y=-0.048,z=0.000 },
},
},
ZDirectionCurve = {
XRange = 0.20,
Keys = {
{ x=0.101,y=0.000,z=0.035 },
},
},
EmitRateCurve = {
XRange = 0.20,
Keys = {
{ x=0.000,y=4.0,z=0.000 },
},
},
LifetimeCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=3.000,z=0.000 },
},
},
VelocityCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=1.000,z=0.000 },
},
},
XAccelCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=0.000,z=0.000 },
},
},
YAccelCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=0.000,z=0.000 },
},
},
ZAccelCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=0.000,z=0.000 },
},
},
ResistanceCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=0.000,z=0.000 },
},
},
SizeCurve = {
XRange = 0.20,
Keys = {
{ x=0.094,y=0.000,z=0.000 },
},
},
XPosCurve = {
XRange = 0.20,
Keys = {
{ x=0.101,y=0.000,z=0.100 },
},
},
YPosCurve = {
XRange = 0.20,
Keys = {
{ x=0.094,y=-0.100,z=0.250 },
},
},
ZPosCurve = {
XRange = 0.20,
Keys = {
{ x=0.000,y=0.000,z=0.100 },
},
},
StartSizeCurve = {
XRange = 0.20,
Keys = {
{ x=0.049,y=0.100,z=0.100 },
},
},
EndSizeCurve = {
XRange = 0.20,
Keys = {
{ x=0.108,y=1.000,z=0.000 },
},
},
InitialRotationCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=0.000,z=0.000 },
},
},
RotationRateCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=0.000,z=0.000 },
},
},
FrameRateCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=1.000,z=0.000 },
},
},
TextureSelectionCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=0.000,z=0.000 },
},
},
RampSelectionCurve = {
XRange = 0.20,
Keys = {
{ x=0.100,y=0.000,z=0.000 },
},
},
}

Loading

0 comments on commit 7a2f8be

Please sign in to comment.