info_infected_zoo_maker

From Valve Developer Community
Jump to navigation Jump to search
Info.png
This entity is not in the FGD by default.
See below for instructions on making it available.
a picture showing the info_infected_zoo_puppet entities spawned by Info_infected_zoo_maker
Class hierarchy
CInfectedZooMaker
CPointEntity
CBaseEntity

info_infected_zoo_maker is a point entity available in Left 4 Dead 2 Left 4 Dead 2. It was used during game development to spawn several rows of info_infected_zoo_puppet entities, until every single possible variation of CI model has been listed on the map, to test the texture and gibbing system.

Icon-Bug.pngBug:This entity causes Survivor bots to disappear.  [todo tested in?]
Icon-Bug.pngBug:This entity will cause the game to crash. The "Last Stand" update added a lot of Common Infected variations for the Left 4 Dead Left 4 Dead maps. These additional models were enough to be too many models drawn at once.
Adding closed areaportals or occluders in an attempt to draw fewer models will not help, because the crashes stem from all of the models being loaded into memory at once.  [todo tested in?]

As a workaround to this crash, you may spawn specific infected via info_zombie_spawn while the cvar nb_stop 1 is set, to spawn CI in T-pose. A map to do this same thing exists and can be found on the workshop. Alternatively, you may use the cvar "z_forcezombiemodel Infected name" to force all infected spawned via z_spawn to use the zombie you want, while also using nb_stop 1 to spawn them in T-pose. Use keybinds to make this easier.

See also