Window

From PZwiki
Revision as of 11:50, 28 February 2024 by CalvyBot (talk | contribs) (Removing trailing whitespace(s))

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.50).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
WhiskeyHalf.png
This article may be in need of improvement.
Editors are encouraged to add any missing information to the article, while verifying that the article's current content is correct.
PlushSpiffo.pngThis article is about building windows. For vehicle windows, see Car Window. For the business, see Window (business).
Window
Image.png
[[File:{{{icon2}}}|Window|]]
[[File:{{{icon3}}}|Window|]]
[[File:{{{icon4}}}|Window|]]
[[File:{{{icon5}}}|Window|]]
General
Category
Furniture
EncumbranceMoodle Icon HeavyLoad.png
?
Technical
Tile ID(s)
?

A window allows the player and NPCs to see, shoot and enter specific buildings. Sheet ropes allow the player to descend out a window to ground level if the window is above the first floor.

A window may be barricaded using planks, nails and a hammer, improving the players carpentry skill. Each barricade gives the window increased health. A maximum of 8 barricades can be done, 4 on the outside and 4 on the inside. Without barricades, a window is very frail and testing has shown that it takes as little as 20 in-game minutes for a zombie to smash a window open.

Curtains can be made out of sheets or can be found pre-existing on the window and are used to cover windows. When covered, the window's line of sight is blocked from inside and outside. The curtains can only be opened and closed from the inside.

Climbing through windows is an ability that was added in version 0.2.0a. Both zombies and players can enter structures in this manner. As of 0.2.0R, it will be possible to snipe out of a window with a ranged weapon.

Windows can be instantly "smashed" by a survivor, dropping broken glass, for a quick escape but smashing the window has a chance cutting that character. Breaking a window using your bare hands guarantees bleeding. If a window is broken, the player can clear the broken glass to make sure they will not get cut. A weapon must be equipped for this option to be available. Furthermore, windows can be jumped out of from higher stories but will usually lead to severe injuries even if the survivor jumped out from only the second floor. Zombies can also leap out of windows from higher floors, but the injuries they get are lesser than the injuries a survivor may get.

Removing windows

A crowbar can be used to remove windows from buildings by using the Pick-Up toggle mode.

Usage

They open and close letting a player or zombie pass through while open or if closed it provides a minimal amount of protection with ??10?? hp. This can take a single zombie up to two hours to break or a few minutes. They can be used to replace broken windows in houses. They let the player see through them while they are closed or open. When broken they create an audible sound that can alert the player that a window has broken. When broken the window will break into glass shards on the ground. These glass shards can cut the player if they do not have shoes on. The glass shards also create a sound cue for the player if a zombie or other player walks over them. Players can attack and hit zombies through windows. When entering a window a zombie will fall to the ground and have a chance to stagger the player or knock them to the ground if they are too close. Additionally a common zombie-slaying tactic is used with either windows or fences. When a zombie comes in a window or over a fence, they will fall on the ground. The player can then go for a hit while the zombie is on the ground, raising their chance of a critical strike. They can be boarded up with planks, metal sheets or metal bars. If there are more than 2 planks on a window the vision from that window will be blocked. Metal sheets will block the window's vision completely. Metal bars will keep the vision of the window while having the same health as a metal sheet. When broken they will alert a zombie to the sound of a breaking window. Removing broken glass from a window will attract any nearby zombies' attention.citation needed

Crafting

Windows can not be crafted as they can only be picked up from already existing houses.

Distribution

Buildings

Windows can be found on buildings and can be removed with a crowbar equipped and using the "pick up" function.

Normal house windows can be picked up, as well as trailer park windows.

What other windows can be picked up?

Gallery

Code

sound RemoveBrokenGlass
	{
		category = Object,
		clip
		{
			event = RemoveBrokenGlass,
		}
	}

	sound OpenWindow
	{
		category = Object,
		clip
		{
			event = windowopen,
		}
	}

	sound CloseWindow
	{
		category = Object,
		clip
		{
			event = windowclose,
		}
	}

	sound SmashWindow
	{
		category = Object,
		clip
		{
			event = smashwindow,
			volume = 0.56,
		}
	}

See also