Director resource: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ent not in fgd|nolink=1|because=it spawns automatically when requaried, also useless for general user}} {{this is a|point entity|name=director_resource|game=Black Mesa}} It...")
 
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
Line 5: Line 5:


{{note|[[Kill]] on this entity will cause game crash.}}
{{note|[[Kill]] on this entity will cause game crash.}}
{{bug|Sometimes {{command|ent_text|director_resource}} and {{command|ent_info|director_resource}} cause null pointer situation, the reason is unknown.
{{bug|hidetested=1|Sometimes {{command|ent_text|director_resource}} and {{command|ent_info|director_resource}} cause null pointer situation, the reason is unknown.
[[File:NullPrtDirectorResource.jpg|none|left]]
[[File:NullPrtDirectorResource.jpg|none|left]]
|hidetested=1}}
}}

Revision as of 07:23, 20 May 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it spawns automatically when requaried, also useless for general user.

director_resource is a point entity available in Black Mesa Black Mesa. It is the director from elimination game mode. Probably an Artificial Intelligence that controls some events and the appearance of zombies, similar to the director from Left 4 Dead Left 4 Dead. Spawns automatically with multiplayer game if mp_coop are using 1 value. All inputs and outputs are same as CBaseEntity.

Represented by class CDirectorResource.

Note.pngNote:Kill on this entity will cause game crash.
Icon-Bug.pngBug:Sometimes ent_text director_resource and ent_info director_resource cause null pointer situation, the reason is unknown.
NullPrtDirectorResource.jpg