CHL1Item: Difference between revisions
Jump to navigation
Jump to search
Note:In multiplayer mode (
Workaround:Send the
SirYodaJedi (talk | contribs) (Created page with "{{CD|CHL1Item}} {{code|CHL1Item}} is the C++ class from which all {{hls|2}} items inherit. {{note|In multiplayer mode ({{cmd|deathmatch|1}}), items always have {{codelink|EF_NOSHADOW}}, disabling render-to-texture shadows.}}") |
SirYodaJedi (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{code|CHL1Item}} is the C++ class from which all {{hls|2}} items inherit. | {{code|CHL1Item}} is the C++ class from which all {{hls|2}} items inherit. | ||
{{note|In multiplayer mode ({{cmd|deathmatch|1}}), | {{note|In multiplayer mode ({{cmd|deathmatch|1}}), are assigned {{codelink|EF_NOSHADOW}} when spawned, disabling render-to-texture shadows. | ||
{{workaround|Send the {{code|EnableShadow}} input using {{ent|logic_auto}}.}}}} |
Revision as of 14:02, 12 May 2025
![]() |
---|
CHL1Item |
CHL1Item
is the C++ class from which all Half-Life: Source items inherit.

deathmatch 1
), are assigned EF_NOSHADOW when spawned, disabling render-to-texture shadows.

EnableShadow
input using logic_auto.