Skip to content

XML unit_lighteffectparam

riyu edited this page Nov 4, 2026 · 5 revisions

XML unit lighteffectparam

Back to XML Tables Index.

Data file (path passed in)
Source unit src/ms2/client/ms2/lighteffectparam.cpp
Loader no single loader; readers: vfunc_1 (0x141449600)
Category client
Attributes 12 (2 partial)

Element nesting

Reconstructed from FirstChild* / NextSibling* chains. A leading $name marks a loop/helper variable that could not be resolved to a literal.

  • attachInfo
  • attenuation
  • light
  • transition
  • update

Element attachInfo

Attribute C++ type Field Default Enum Reader Line
parentNode CString m_strParentNode vfunc_1 0x141449600 217

Element attenuation

Attribute C++ type Field Default Enum Reader Line
constant float m_fAttConstant vfunc_1 0x141449600 248
linear float m_fAttLinear vfunc_1 0x141449600 249
quadratic float m_fAttQuadratic vfunc_1 0x141449600 250

Element light

Attribute C++ type Field Default Enum Reader Line
dimmer float m_fDimmer vfunc_1 0x141449600 241
range float m_fRange vfunc_1 0x141449600 242
usePreDataTransform bool m_bUsePreDataTransform vfunc_1 0x141449600 243

Element transition

Attribute C++ type Field Default Enum Reader Line
dimmer float m_fDimmer vfunc_1 0x141449600 262
range float m_fRange vfunc_1 0x141449600 263

Element update

Attribute C++ type Field Default Enum Reader Line
translate bool bTranslate vfunc_1 0x141449600 223
rotation ? bRotation vfunc_1 0x141449600 224
scale ? bScale vfunc_1 0x141449600 225

2 attribute(s) on this page have an unresolved C++ type (?). They are still listed with their XML name and output field.

Clone this wiki locally