Metal Wall: Difference between revisions

From PZwiki
(Fixing grammatical errors)
m (Automated Formatting)
 
(22 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Metal_Wall}}
{{Header|Project Zomboid|Tiles|Barriers|Wall tiles}}
{{header|The Game World|Items|Construction|Metalwork|type=Construction|version=Version 36}}
{{Page version|41.78.16}}
'''Metal walls''' are structures that the [[player]] can build to fortify a structure or create obstacles against zombies.
{{Infobox tile
{| style="float:right; border:1px solid FFFFFF;margin:.46em 0 0 .2em"
|name=Metal Wall
|- style="font-size:100%"
|model=MetalWall1.png
| valign="top" |[[Image:Metal_Wall_Construction.png]]<!--
|icon=MetalWall1.png
  --><br> <small>''Ingame image of a Level 1 Metal Wall at Build 36.40''</small>
|model2=MetalWall2.png
|}
|icon2=MetalWall2.png
== Metal Walls ==
|function=Protect the player from [[zombies]] and [[weather]]
<!--Build-->
|build_skill=[[Metalworking]]
|build_level=2, 8
|build_tool=[[Propane Torch]]
|ingredients=<small>3 × [[File:SheetMetal.png|20px|link=Metal Sheet]] [[Metal Sheet]] (Level 1)<br>4 × [[File:SheetMetal.png|20px|link=Metal Sheet]] [[Metal Sheet]] (Level 2)</small>
|tile_id=constructedobjects_01_64
|tile_id2=constructedobjects_01_48
}}
A '''metal wall''' is a constructable wall used for shelter and defense.
 
==Usage==
Metal walls are a defensive structure that can be built to seal entranceways, reinforce entry/exit points, and can be used in the creation of completely new structures.
Metal walls are a defensive structure that can be built to seal entranceways, reinforce entry/exit points, and can be used in the creation of completely new structures.


All metal walls and [[Metal Window Frame|metal windows]] requires a player to have a [[Propane Torch|propane torch]], an [[Welding Mask|welding mask]], and [[Welding Rods|welding rods]] to construct. The strength of the wall itself is dependant on the level of the actual wall. Metal walls can begin with wooden frames or metal frames.
All metal walls require the player to have a [[Propane Torch|propane torch]], a [[Welding Mask|welding mask]], and [[Welding Rods|welding rods]] to construct. The strength of the wall itself is dependent on the level of the wall built, and the [[player]]'s [[metalworking]] skill level.. Metal walls can be constructed on both [[Wooden Wall Frame|wooden]] and [[Metal Wall Frame|metal wall frames]].
 
The player must have read the [[The Metalwork Magazine|The Metalwork Magazine Vol. 1]] to construct metal walls, or have the metalworker [[occupation]].
 
Unlike [[Wooden Wall|wooden walls]], metal walls can not be plastered or painted.


A player must learn the relevant [[Recipe Magazines|skill magazines]] to construct metal structures.
===Crafting===
To construct a metal wall, the player must be at least [[metalworking]] level 2, know the recipe, and have already constructed either a [[Wooden Wall Frame|wooden wall frame]] or a [[Metal Wall Frame|metal wall frame]]. The plyer can then right click on the frame, and choose the level of wall they wish to construct, so long as they meet the construction requirements.


While a slight oversight, you must be holding the metal sheets in your inventory to upgrade a wooden/metal frame to a metal wall, and these construction parts can not be used if on the floor.
{{Crafting/sandbox2
|metal_wall_1
|metal_wall_2
|metal_wall_1_to_2
}}


{{clear}}
===Health===
The HP of a wall in Project Zomboid is determined from it's base material, the skill level of the builder, and the wall's level.


== Construction ==
{{construction hp|metal|wood}}
{| style="float:right; border:1px solid FFFFFF;margin:.46em 0 0 .2em"
|- style="font-size:100%"
| valign="top" |[[Image:Metal_Wall_Construction_2.png]]<!--
  --><br> <small>''Right-clicking on a bars on a metal frame shows the upgrade menu.''</small>
|}
To build a metal wall, a player must first equip the hammer, build a wooden or metal frame, and then upgrade this frame with metal sheets.


To construct a Metal Wall, a player would require for Level 1, 2 skill points in metalworking. For Level 2 it requires 8 levels in metalworking.
{{construction hp|metal|metal}}


Wooden and metal frames provide additive health to the overall health of the wall: for instance, a metal frame upgraded to a metal wall would have 370 total health.
==Trivia==
*The highest possible HP for a wall is a [[metalworking]] level 10 [[Metal Wall|metal wall]] (level 2), with a [[Metal Wall Frame|metal frame]], at 1070 HP.


Walls can be destroyed quickly by a [[sledgehammer]].
==Code==
{{CodeBox|
{{CodeSnip
  | lang = lua
  | line = false
  | retrieved = true
  | version = 41.78.16
  | code =
    multistagebuild CreateMetalWall_1
    {
        PreviousStage:WoodenWallFrame;MetalWallFrame,
        Name:MetalWallLvl1,
        TimeNeeded:250,
        BonusHealth:650,
        SkillRequired:MetalWelding=2,
        ItemsRequired:Base.SheetMetal=3;Base.BlowTorch=7,
        ItemsToKeep:Base.BlowTorch,
        Sprite:constructedobjects_01_64,
        NorthSprite:constructedobjects_01_65,
        KnownRecipe:Make Metal Walls,
        ThumpSound:ZombieThumpMetal,
        CraftingSound:BlowTorch,
        CompletionSound:BuildMetalStructureMedium,
        ID:Create Metal Wall Lvl 1,
        XP:MetalWelding=15,
    }


=== Metal wall stats ===
    multistagebuild UpgradeMetalWall_1To2
{| class="pztable" style="text-align:center;"
    {
|-
        PreviousStage:MetalWallLvl1,
! Item
        Name:MetalWallLvl2,
! Total Metal Bar to Build Stage
        TimeNeeded:200,
! Total Welding Rods to Build Stage
        BonusHealth:100,
! Total Sheet Metal to Build Stage
        BonusSkill:FALSE,
! Total Propane Fuel (in Propane Torch) to Build Stage
        SkillRequired:MetalWelding=8,
! Health of Wall Provided
        ItemsRequired:Base.SheetMetal=1;Base.BlowTorch=3,
! Level of Metalworking Skill
        ItemsToKeep:Base.BlowTorch,
|-
        Sprite:constructedobjects_01_48,
|[[File:MetalWall.png]] <br>
        NorthSprite:constructedobjects_01_49,
Metal Frame
        KnownRecipe:Make Metal Walls,
| 3  
        ThumpSound:ZombieThumpMetal,
| 4
        CraftingSound:BlowTorch,
| 0
        CompletionSound:BuildMetalStructureMedium,
| 8
        ID:Upgrade to Metal Wall Lvl 2,
| +120
        XP:MetalWelding=15,
| 3
    }
|-
|[[File:MetalWall.png]] <br>
Metal Wall Level 1
| 0
| 0
| 3
| 10
| 250
| 2
|-
|[[File:MetalWall.png]] <br>
Metal Wall Level 2
| 0
| 0
| 4
| 13
| 350
| 8
|-
|}


=== Important to Note ===
    multistagebuild CreateMetalWall_2
To upgrade from Level 1 to Level 2, it would cost 1 sheet of metal sheets and 3 units of propane fuel in the propane torch.
    {
        PreviousStage:WoodenWallFrame;MetalWallFrame,
        Name:MetalWallLvl2,
        TimeNeeded:250,
        BonusHealth:750,
        SkillRequired:MetalWelding=8,
        ItemsRequired:Base.SheetMetal=4;Base.BlowTorch=10,
        ItemsToKeep:Base.BlowTorch,
        Sprite:constructedobjects_01_48,
        NorthSprite:constructedobjects_01_49,
        KnownRecipe:Make Metal Walls,
        ThumpSound:ZombieThumpMetal,
        CraftingSound:BlowTorch,
        CompletionSound:BuildMetalStructureMedium,
        ID:Create Metal Wall Lvl 2,
        XP:MetalWelding=30,
    }
}}


== Code ==
{{CodeSnip
N.B - The Metal wall at this time uses the wooden wall entry with a different skin.
  | lang = java
<nowiki>
  | line = false
item Wall
  | retrieved = true
Weight = 13,
  | version = 41.78.16
Type = Normal,
  | code =
DisplayName = Wall Piece,
        public void doStage(IsoGameCharacter isoGameCharacter, IsoThumpable isoThumpable, boolean bl) {
Icon = Wall,
            int n = isoThumpable.getHealth();
</nowiki>
            int n2 = isoThumpable.getMaxHealth();
            String string = this.sprite;
            if (isoThumpable.north) {
                string = this.northSprite;
            }
            IsoThumpable isoThumpable2 = new IsoThumpable(IsoWorld.instance.getCell(), isoThumpable.square, string, isoThumpable.north, isoThumpable.getTable());
            isoThumpable2.setCanBePlastered(this.canBePlastered);
            if ("doorframe".equals(this.wallType)) {
                isoThumpable2.setIsDoorFrame(true);
                isoThumpable2.setCanPassThrough(true);
                isoThumpable2.setIsThumpable(isoThumpable.isThumpable());
            }
            int n3 = this.bonusHealth;
            switch (SandboxOptions.instance.ConstructionBonusPoints.getValue()) {
                // Code edited out by Ed because we are using default values
            }
            Iterator<String> iterator = this.perks.keySet().iterator();
            int n4 = 20;
            switch (SandboxOptions.instance.ConstructionBonusPoints.getValue()) {
                // Code edited out by Ed because we are using default values
            }
            int n5 = 0;
            if (this.bonusHealthSkill) {
                while (iterator.hasNext()) {
                    String string2 = iterator.next();
                    n5 += isoGameCharacter.getPerkLevel(PerkFactory.Perks.FromString(string2)) * n4;
                }
            }
            isoThumpable2.setMaxHealth(n2 + n3 + n5);
            isoThumpable2.setHealth(n + n3 + n5);
}}
}}


== See also ==
==See also==
* [[Metalworking Guide]]
*[[Metalworking]]
*[[Metal Wall Frame]]
*[[Wooden Wall]]


{{Navbox/Construction}}
{{Navbox construction|metalworking}}


[[Category:Metalwork]]
[[Category:Metalwork]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]

Latest revision as of 10:13, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Metal Wall
MetalWall1.png
MetalWall2.png
[[File:{{{icon3}}}|Metal Wall|]]
[[File:{{{icon4}}}|Metal Wall|]]
[[File:{{{icon5}}}|Metal Wall|]]
General
Category
Furniture
Function
Protect the player from zombies and weather
Build
Skill (level)
Tool(s)
Ingredients
3 × SheetMetal.png Metal Sheet (Level 1)
4 × SheetMetal.png Metal Sheet (Level 2)
Technical
Tile ID(s)
constructedobjects_01_64 constructedobjects_01_48

A metal wall is a constructable wall used for shelter and defense.

Usage

Metal walls are a defensive structure that can be built to seal entranceways, reinforce entry/exit points, and can be used in the creation of completely new structures.

All metal walls require the player to have a propane torch, a welding mask, and welding rods to construct. The strength of the wall itself is dependent on the level of the wall built, and the player's metalworking skill level.. Metal walls can be constructed on both wooden and metal wall frames.

The player must have read the The Metalwork Magazine Vol. 1 to construct metal walls, or have the metalworker occupation.

Unlike wooden walls, metal walls can not be plastered or painted.

Crafting

To construct a metal wall, the player must be at least metalworking level 2, know the recipe, and have already constructed either a wooden wall frame or a metal wall frame. The plyer can then right click on the frame, and choose the level of wall they wish to construct, so long as they meet the construction requirements.


Product Ingredients Tools Requirements Workstation XP
MetalWall1 Metalwork.png
Metal Wall Lvl 1
One of:
WoodenWallFrame Carpentry.png Wooden Wall Frame ×1
MetalWallFrame Metalwork.png Metal Wall Frame ×1
Each of:
SheetMetal.png Metal Sheet ×3
BlowTorch.png
Propane Torch
10 unit(s)
  
(and)
WeldingMask.png
Welder Mask
Metalworking 2
(and)
MagazineWelding1.png
The Metalwork Magazine Vol.1
none 3.75 Metalworking
MetalWall2 Metalwork.png
Metal Wall Lvl 2
One of:
WoodenWallFrame Carpentry.png Wooden Wall Frame ×1
MetalWallFrame Metalwork.png Metal Wall Frame ×1
Each of:
SheetMetal.png Metal Sheet ×4
BlowTorch.png
Propane Torch
10 unit(s)
  
(and)
WeldingMask.png
Welder Mask
Metalworking 8
(and)
MagazineWelding1.png
The Metalwork Magazine Vol.1
none 7.5 Metalworking
MetalWall2 Metalwork.png
Metal Wall Lvl 2
MetalWall1 Metalwork.png Metal Wall Lvl 1 ×1
SheetMetal.png Metal Sheet ×1
BlowTorch.png
Propane Torch
3 unit(s)
  
(and)
WeldingMask.png
Welder Mask
Metalworking 8
(and)
MagazineWelding1.png
The Metalwork Magazine Vol.1
none 3.75 Metalworking

Health

The HP of a wall in Project Zomboid is determined from it's base material, the skill level of the builder, and the wall's level.

Calculations based on frame type wood and wall type metal
Skill level Level 1 metal wall Level 2 metal wall
3 760 HP -
4 780 HP -
5 800 HP -
6 820 HP -
7 840 HP -
8 860 HP 960 HP
9 880 HP 980 HP
10 900 HP 1000 HP
Calculations based on frame type metal and wall type metal
Skill level Level 1 metal wall Level 2 metal wall
3 830 HP -
4 850 HP -
5 870 HP -
6 890 HP -
7 910 HP -
8 930 HP 1030 HP
9 950 HP 1050 HP
10 970 HP 1070 HP

Trivia

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
multistagebuild CreateMetalWall_1
    {
        PreviousStage:WoodenWallFrame;MetalWallFrame,
        Name:MetalWallLvl1,
        TimeNeeded:250,
        BonusHealth:650,
        SkillRequired:MetalWelding=2,
        ItemsRequired:Base.SheetMetal=3;Base.BlowTorch=7,
        ItemsToKeep:Base.BlowTorch,
        Sprite:constructedobjects_01_64,
        NorthSprite:constructedobjects_01_65,
        KnownRecipe:Make Metal Walls,
        ThumpSound:ZombieThumpMetal,
        CraftingSound:BlowTorch,
        CompletionSound:BuildMetalStructureMedium,
        ID:Create Metal Wall Lvl 1,
        XP:MetalWelding=15,
    }

    multistagebuild UpgradeMetalWall_1To2
    {
        PreviousStage:MetalWallLvl1,
        Name:MetalWallLvl2,
        TimeNeeded:200,
        BonusHealth:100,
        BonusSkill:FALSE,
        SkillRequired:MetalWelding=8,
        ItemsRequired:Base.SheetMetal=1;Base.BlowTorch=3,
        ItemsToKeep:Base.BlowTorch,
        Sprite:constructedobjects_01_48,
        NorthSprite:constructedobjects_01_49,
        KnownRecipe:Make Metal Walls,
        ThumpSound:ZombieThumpMetal,
        CraftingSound:BlowTorch,
        CompletionSound:BuildMetalStructureMedium,
        ID:Upgrade to Metal Wall Lvl 2,
        XP:MetalWelding=15,
    }

    multistagebuild CreateMetalWall_2
    {
        PreviousStage:WoodenWallFrame;MetalWallFrame,
        Name:MetalWallLvl2,
        TimeNeeded:250,
        BonusHealth:750,
        SkillRequired:MetalWelding=8,
        ItemsRequired:Base.SheetMetal=4;Base.BlowTorch=10,
        ItemsToKeep:Base.BlowTorch,
        Sprite:constructedobjects_01_48,
        NorthSprite:constructedobjects_01_49,
        KnownRecipe:Make Metal Walls,
        ThumpSound:ZombieThumpMetal,
        CraftingSound:BlowTorch,
        CompletionSound:BuildMetalStructureMedium,
        ID:Create Metal Wall Lvl 2,
        XP:MetalWelding=30,
    }


Retrieved: Build 41.78.16
public void doStage(IsoGameCharacter isoGameCharacter, IsoThumpable isoThumpable, boolean bl) {
            int n = isoThumpable.getHealth();
            int n2 = isoThumpable.getMaxHealth();
            String string = this.sprite;
            if (isoThumpable.north) {
                string = this.northSprite;
            }
            IsoThumpable isoThumpable2 = new IsoThumpable(IsoWorld.instance.getCell(), isoThumpable.square, string, isoThumpable.north, isoThumpable.getTable());
            isoThumpable2.setCanBePlastered(this.canBePlastered);
            if ("doorframe".equals(this.wallType)) {
                isoThumpable2.setIsDoorFrame(true);
                isoThumpable2.setCanPassThrough(true);
                isoThumpable2.setIsThumpable(isoThumpable.isThumpable());
            }
            int n3 = this.bonusHealth;
            switch (SandboxOptions.instance.ConstructionBonusPoints.getValue()) {
                // Code edited out by Ed because we are using default values
            }
            Iterator<String> iterator = this.perks.keySet().iterator();
            int n4 = 20;
            switch (SandboxOptions.instance.ConstructionBonusPoints.getValue()) {
                // Code edited out by Ed because we are using default values
            }
            int n5 = 0;
            if (this.bonusHealthSkill) {
                while (iterator.hasNext()) {
                    String string2 = iterator.next();
                    n5 += isoGameCharacter.getPerkLevel(PerkFactory.Perks.FromString(string2)) * n4;
                }
            }
            isoThumpable2.setMaxHealth(n2 + n3 + n5);
            isoThumpable2.setHealth(n + n3 + n5);

See also