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...")
 
Line 24: Line 24:
 
* Blood Omnicide Q3map2 allows max 1024 custom surfaceparms
 
* Blood Omnicide Q3map2 allows max 1024 custom surfaceparms
 
* Darkplaces engine allows max 256 custom surfaceparms
 
* Darkplaces engine allows max 256 custom surfaceparms
 +
 +
== See also ==
 +
* [[Darkplaces material system]]

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

See also

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox