Hood

From PZwiki
Jump to navigation Jump to search
PZwiki:Language policy Language: English
Notepad.png
This article may need more content. Editors are encouraged to add new material to the page while expanding upon current topics.
Hood
Hood
General
Category Item
Weight
Heavy Load
15.0
Function Protects the engine
Required tool Wrench
Technical details
Base ID Item IDs

A hood is an item as part of a vehicle.

Usage

A hood is fitted onto the front of a vehicle to protect the engine from collisions.

Having a hood fitted in a multiplayer game allows it to be locked using the car key, preventing other players from scrapping the vehicle for parts.

Item IDs

Vehicle type Class name
Standard Base.EngineDoor1
Heavy-Duty Base.EngineDoor2
Sport Base.EngineDoor3

Code

From vehicleitems.txt (Project Zomboid directory/media/scripts/vehicles/)

Retrieved
Version 41.78.16
    item EngineDoor1
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	15.0,
        Type	=	Normal,
        DisplayName	=	Hood,
        Icon	=	EngineDoor,
        VehicleType =   1,
        ChanceToSpawnDamaged = 25,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        WorldStaticModel = CarHood,
    }

    item EngineDoor2
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	15.0,
        Type	=	Normal,
        DisplayName	=	Hood,
        Icon	=	EngineDoor,
        VehicleType =   2,
        ChanceToSpawnDamaged = 25,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        WorldStaticModel = CarHood,
    }

    item EngineDoor3
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	15.0,
        Type	=	Normal,
        DisplayName	=	Hood,
        Icon	=	EngineDoor,
        VehicleType =   3,
        ChanceToSpawnDamaged = 25,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        WorldStaticModel = CarHood,
    }

See also


Vehicles vde
Standard Chevalier Cerise WagonChevalier DartChevalier NyalaDash RancherMasterson Horizon
Heavy-Duty Chevalier D6Chevalier Step VanDash BulldriverFranklin All-TerrainFranklin Valuline
Sport Chevalier CossetteChevalier PrimaniDash EliteMercia Lang 4000
Trailer Advert TrailerTrailers
Parts BrakeCar BatteryDoorGas TankHoodMufflerSeatSpare Engine PartsSuspensionTireTrunk LidTrunkWindow