Custinfoparms.txt
From Blood Wiki
(Difference between revisions)
Line 29: | Line 29: | ||
== See also == | == See also == | ||
* [[Darkplaces material system]] | * [[Darkplaces material system]] | ||
+ | |||
+ | [[Category:Darkplaces engine]] |
Revision as of 09:48, 27 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 integer surfaceparmname2 integer ... surfaceparmnameX integer } // Surfaceflags { surfaceparmname integer surfaceparmname2 integer ... surfaceparmnameX integer }
Integer are HEX values in 0x00000000 format representing surfaceflags and contentflags to be assigned with corresponding custom surfaceparm.
Limits
- Stock Q3map2 allows max 64 custom surfaceparms
- Blood Omnicide Q3map2 allows max 1024 custom surfaceparms
- Darkplaces engine allows max 256 custom surfaceparms