User Tools

Site Tools


Sidebar

hpl2:machine_for_pigs:colorgrading

Color grading

How to restore the color grade area tool in the Level Editor

Keep in mind that color grading will only work in the MFP game version.

MFP uses areas to change color gradings, but since there's no available MFP editor suite, you need to re-add it manually to the TDD suite (which needs to be already installed for this).

To do that, you need to open editor/AreaTypes.cfg and paste this in the beginning of the file:

       <Type Name="ColorGrading">
            <EditorSetupVars>
                <Var Name="Color" Value="1 1 0 1" />
            </EditorSetupVars>
            <Vars>
                <Var Name="LookUpTable" Type="File" Extensions="png"  DefaultValue=""          Description="Colorgr:) file" />
                <Var Name="FadeTime" Type="float"  DefaultValue="1.0"     Description="Fade time"/>
            </Vars>
        </Type>

From now on, in the Level Editor you can select the area tool and choose the ColorGrade type. It will allow you to place new color ColorGrade areas, pick a color grading texture, and change the fade time.

Moreover, now the ColorGrade areas in the original maps show up in the editor and you can customize them as you want.

Color grading textures are located in \textures\gradingmaps.

hpl2/machine_for_pigs/colorgrading.1581100453.txt.gz · Last modified: 2020/02/07 18:34 by darkfire