Metal Wall: Difference between revisions

From PZwiki
(Create basic Infobox, add improve and outdated tag, remove very old code, formatting, add hp template)
m (Automated Formatting)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Tiles|Barriers|Wall tiles}}
{{Header|Project Zomboid|Items|Construction|Metalwork|type=Construction|version=Version 41|incver=78.16}}
{{Page version|41.78.16}}
{{Improve}}
{{Outdated}}  
{{Infobox tile
{{Infobox tile
|name=Metal Wall
|name=Metal Wall
Line 9: Line 7:
|model2=MetalWall2.png
|model2=MetalWall2.png
|icon2=MetalWall2.png
|icon2=MetalWall2.png
|function= Protect the player from [[zombies]] and [[weather]]
|function=Protect the player from [[zombies]] and [[weather]]
}}  
<!--Build-->
'''Metal walls''' are structures that the [[player]] can build to fortify a structure or create obstacles against zombies.
|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.


[[File:Metal Wall Construction.png|thumb|right|Ingame image of a Level 1 Metal Wall at Build 36.40.]]
==Usage==
 
==Metal Walls==
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]].


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


{{Clear}}
Unlike [[Wooden Wall|wooden walls]], metal walls can not be plastered or painted.


=={{Tr|Construction}}==
===Crafting===
[[File:Metal Wall Construction 2.png|thumb|right|Right-clicking on a bars on a metal frame shows the upgrade menu.]]
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.


To build a metal wall, a player must first either equip a hammer and build a wooden frame, or equip a propane torch and welder mask, then build a metal frame. After the frame has been constructed, it can then upgrade this frame with metal sheets.
{{Crafting/sandbox2
|metal_wall_1
|metal_wall_2
|metal_wall_1_to_2
}}


To construct a Metal Frame, a player would require 3 skill points in metalworking. To upgrade a wall to Level 1, it requires 2 points in metalworking. For Level 2 it requires 8 levels in 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.


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.
{{construction hp|metal|wood}}


Metal walls can be destroyed quickly by a [[sledgehammer]], though the player will not regain any materials. Unlike [[Wooden Wall|wooden walls]], metal walls can not be plastered or painted.
{{construction hp|metal|metal}}


===Metal wall stats===
==Trivia==
{| class="wikitable theme-red" style="text-align:center;"
*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.
|-
! Item
! Total Metal Bar to Build Stage
! Total Welding Rods to Build Stage
! Total Sheet Metal to Build Stage
! Total Propane Fuel (in Propane Torch) to Build Stage
! Health of Wall Provided
! Level of Metalworking Skill
|-
|[[File:MetalWallFrame.png]] <br>
Metal Frame
| 3
| 4
| 0
| 8
| +120
| 3
|-
|[[File:MetalWall1.png]] <br>
Metal Wall Level 1
| 0
| 0
| 3
| 10
| 250
| 2
|-
|[[File:MetalWall2.png]] <br>
Metal Wall Level 2
| 0
| 0
| 4
| 13
| 350
| 8
|-
|}


===Important to note===
==Code==
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.
{{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,
    }


==Health==
    multistagebuild UpgradeMetalWall_1To2
{{construction hp|metal|wood}}  
    {
        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,
    }


{{construction hp|metal|metal}}
    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,
    }
}}


==Code==
{{CodeSnip
  | lang = java
  | line = false
  | retrieved = true
  | version = 41.78.16
  | code =
        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==
==See also==
*[[Metalworking]]
*[[Metalworking]]
*[[Wooden Wall]]  
*[[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