Custinfoparms.txt

From Blood Wiki
Revision as of 22:59, 22 July 2012 by VorteX (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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