pfx - themeldingwars/Documentation GitHub Wiki

Particle Effects (PFX) files are XML files that contain information related to how a particle effect is displayed in game. Below is an example PFX file from Firefall 1297.

00182000/00182131.pfx

<particleSystem version="0.330" name="A_Afterburner_RF_01" timestep="0.033" timescale="1.000" lightmask="3" sysBoundsMin="-0.075 -0.529 -0.274" sysBoundsMax="0.496 0.006 0.274" autoUpdateSysBounds="true" useSysBoundsForNodes="true" dontSpawnIfOffScreen="false" dontAdvanceIfOffScreen="false" soundRecord="0">
    <particleLOD name="LOD 0" LODDistance="300.000">
        <particleNode name="Mesh" enabled="true" q0Enabled="true" q1Enabled="true" q2Enabled="true" q3Enabled="true" timeScale="1.000" startDelay="0.000" maxparticles="1000" movementmode="RELATED" invisible="false" chainDistance="0.000" sortOrder="Default">
            <particleComponent name="Birth" enabled="true">
                <LiveLimit value="1" />
                <LoopLimit value="-1" />
                <Rate parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="Rate">
                    <FirstValue value="50.000" />
                </Rate>
                <BunchAmount value="1" />
                <BunchVariation value="0" />
                <ThrottleAmount value="0.000" />
                <ThrottleDistMin value="10.000" />
                <ThrottleDistMax value="200.000" />
                <LifeTime value="0.000" />
                <LifeTimeVariation value="0.000" />
                <InfiniteLifeTime value="true" />
                <LoopTime value="0.000" />
                <Duration value="0.000" />
                <UseBirthCurve value="false" />
                <BirthCurve>
                    <curve channels="1" interpolation="CUBIC" ymin="0.000000" ymax="1.000000">
                        <channel>
                            <point t="0.000000" value="0.000000" slope="0.000000" interpolation="DEFAULT" />
                            <point t="1.000000" value="1.000000" slope="0.000000" interpolation="DEFAULT" />
                        </channel>
                    </curve>
                </BirthCurve>
            </particleComponent>
            <particleComponent name="Render" enabled="true">
                <RenderMode value="MODEL" />
                <RenderOrder value="NEWEST_FIRST" />
                <Material value="00067000\00067841.mtl" />
                <Model value="00180000\00180793.oMesh" />
                <SortDepthBias value="0.000" />
                <InitialColorOnLooptime value="true" />
                <InitialColor parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="InitialColor">
                    <FirstValue value="1.000 1.000 1.000 1.000" />
                </InitialColor>
                <Color parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="Color">
                    <FirstValue value="1.000 1.000 1.000 1.000" />
                </Color>
                <PivotPos value="0.000 0.000 0.000" />
            </particleComponent>
            <particleComponent name="Position" enabled="true">
                <SpawnShape>
                    <ShapeType value="POINT" />
                    <Center parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="Center">
                        <FirstValue value="0.220 -0.250 0.000" />
                    </Center>
                    <Size parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="Size">
                        <FirstValue value="1.000 1.000 1.000" />
                    </Size>
                    <Direction parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="Direction">
                        <FirstValue value="0.000 0.000 1.000" />
                    </Direction>
                    <OnSurface value="false" />
                </SpawnShape>
                <SetVelocityFromShape value="false" />
                <VelocityMode value="SET" />
                <Speed value="10.000" />
                <SpeedVariation value="0.000" />
                <TransformType value="ENTITY_SPACE" />
                <ControlPosition value="false" />
                <Position parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="Position">
                    <FirstValue value="0.000 0.000 0.000" />
                </Position>
            </particleComponent>
            <particleComponent name="Scale" enabled="true">
                <InitialSize parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="InitialSize">
                    <FirstValue value="1.000 1.000 1.000" />
                </InitialSize>
                <SizeByCount value="0.000" />
                <OverrideInheritedScale value="true" />
                <InitialSizeOnLooptime value="true" />
                <ConstrainProportion value="false" />
                <Scale parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="Scale">
                    <FirstValue value="1.000 1.000 1.000" />
                </Scale>
            </particleComponent>
            <particleComponent name="MaterialGlobals" enabled="true">
                <Variable name="Texture0" type="TEXTURE" value="00180000\00180907.dds" />
                <Variable name="Texture1" type="TEXTURE" value="00180000\00180906.dds" />
            </particleComponent>
            <particleComponent name="ModelRotation" enabled="true">
                <EntityRelativeRotation value="true" />
                <InitialRelativeRotation value="false" />
                <VelocityAligned value="false" />
                <Rotation parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="Rotation">
                    <FirstValue value="0.000 90.000 -90.000" />
                </Rotation>
                <Spin parameterType="CONSTANT_VALUE" isParametric="false" Multiplier="1.000" Name="Spin">
                    <FirstValue value="0.000 0.000 0.000" />
                </Spin>
                <RotationDirectionVariation value="false" />
            </particleComponent>
        </particleNode>
    </particleLOD>
</particleSystem>
⚠️ **GitHub.com Fallback** ⚠️