TPL Markup¶
The TPL Markup contains certain parameters for TPL, including rendering flags, LOD distances and region names.
List of all render parameters in the TPL markup (High chance of causing shader cache miss):
supportInteractiveness = false //Interactiveness support
disableTerrBlend = false //Disable terrain blend
isFpsModel = false //First person model
allowHashedTransparent = false //Allow hashed transparent
allowDissolve = false //Allow dissolve
allowHighlight = false //Allow Highlight
allowFresnelHighlight = false //Allow Fresnel Highlight
allowCovering = false //Allow Covering
allowTransparencyMaskModificationForSmearing = false //Allow transparency mask modification for smearing
allowScorchmarks = true //Allow Scorchmarks
List of customization regions for PvE constructor:
materialCustomizations = {
HELMET = {
}
BACKPACK = {
}
CHEST = {
}
LEFT_PAULDRON = {
}
RIGHT_PAULDRON = {
}
LEFT_GAUNTLET = {
}
RIGHT_GAUNTLET = {
}
LEFT_GREAVE = {
}
RIGHT_GREAVE = {
}
RIGHT_GREAVE_DECAL = {
}
RIGHT_PAULDRON_DECAL = {
}
LEFT_PAULDRON_DECAL = {
}
LEFT_GREAVE_DECAL = {
}
HELMET_LENSES = {
}
RIGHT_BRACER = {
}
LEFT_BRACER = {
}
}
When UsfExport generates .resource file for your TPL model, you must open that file and add the link to your tpl_markup file:
linkTplMarkup: cc_sm_constructor_soldier.tpl_markup.resource
tplMarkup: cc_sm_constructor_soldier.tpl_markup
If you skip this step, the following happens:
- A guaranteed crash from a shader cache miss.
- Losing a substantial amount of information on customization regions.
Warhammer 40,000: Space Marine 2 © Games Workshop Limited 2024. Space Marine, the Space Marine logo, GW, Games Workshop, 40K, Warhammer, Warhammer 40,000, 40,000, the 'Aquila' Double-headed Eagle logo, and all associated logos, illustrations, images, names, creatures, races, vehicles, locations, weapons, characters, and the distinctive likeness thereof, are either ® or TM, and/or © Games Workshop Limited, variably registered around the world, and used under licence. Focus Entertainment and its logos are trademarks, registered or not, of Focus Entertainment. Saber Interactive and its logos are trademarks, registered or not, of Saber Interactive. Powered by Wwise © 2006 – 2024 Audiokinetic Inc. Havok software is © 2024 Microsoft. Uses Bink Video. Copyright © 1997-2024 by Epic Games Tools LLC. All rights reserved to their respective owners.