Custinfoparms.txt

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "A script file that defines a custom surfaceparms to be used with '''surfaceparm''' keyword in materials. This file should be created in Gamedir/basepath/scripts Syntax of cu...")

Revision as of 22:59, 22 July 2012

A script file that defines a custom surfaceparms to be used with surfaceparm keyword in materials.

This file should be created in Gamedir/basepath/scripts

Syntax of custinfoparms.txt:

// Contentflags
{
    surfaceparmname contentflag_HEX_integer
    surfaceparmname2 contentflag_HEX_integer
    ...
}
// Surfaceflags
{
    surfaceparmname surfaceflag_HEX_integer
    surfaceparmname2 contentflag_HEX_integer
    ...
}

HEX integer are in 0x00000000 format.

Limits

  • Stock Q3map2 allows max 64 custom surfaceparms
  • Blood Omnicide Q3map2 allows max 1024 custom surfaceparms
  • Darkplaces engine allows max 256 custom surfaceparms
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox