Skip to content

XML unit_lighteffectparam

riyu edited this page Nov 5, 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 13 (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
  • transform
  • transition
  • update

Element attachInfo

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

Element attenuation

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

Element light

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

Element transform

Attribute C++ type Field Default Enum Reader Line
translate efd::Point3 m_ptTranslate vfunc_1
0x141449600
213

Element transition

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

Element update

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

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