Hood
A hood is an item as part of a vehicle. It is used to protect the engine from damage during collisions.
Usage
Engine protection
A hood is fitted onto the front of a vehicle to protect the engine from collisions. Once the hood has broken, the engine will begin taking damage, often to catastrophic effect. It's important to keep the hood in good condition at all times.
Having a hood fitted allows it to be locked using the car key, preventing other players in a multiplayer game from scrapping the vehicle for parts. However, players can still smash the window and unlock the vehicle. Therefore, it is highly recommended to store vehicles inside a secure safehouse if possible.
Installing/Uninstalling
A hood can be installed or uninstalled from a vehicle using a wrench so long as the recipe has been learned for that vehicle type. Each level of Mechanics will decrease the chance of causing damage and increase the chance of success, with level 3 resulting in no damage and 100% chance of success. It is not possible to mix types of vehicle parts. For example, a standard class hood can not be fitted onto a sport vehicle.
Repairing
A hood can be repaired with metal sheets or small metal sheets and a propane torch at metalworking level 1 and mechanics level 2. Alternatively, it can be repaired with screws instead of using a torch, however this will repair significantly less durability and take far more resources to do.
Item IDs
Vehicle type | Class name |
---|---|
Standard | Base.EngineDoor1 |
Heavy-Duty | Base.EngineDoor2 |
Sport | Base.EngineDoor3 |
Code
Base.EngineDoor1
Source: ProjectZomboid\media\scripts\vehicles\vehiclesitems.txt
item EngineDoor1
{
DisplayCategory = VehicleMaintenance,
Weight = 15.0,
Type = Normal,
DisplayName = Hood,
Icon = EngineDoor,
VehicleType = 1,
ChanceToSpawnDamaged = 25,
ConditionMax = 100,
MechanicsItem = TRUE,
WorldStaticModel = CarHood,
}
Base.EngineDoor2
Source: ProjectZomboid\media\scripts\vehicles\vehiclesitems.txt
item EngineDoor2
{
DisplayCategory = VehicleMaintenance,
Weight = 15.0,
Type = Normal,
DisplayName = Hood,
Icon = EngineDoor,
VehicleType = 2,
ChanceToSpawnDamaged = 25,
ConditionMax = 100,
MechanicsItem = TRUE,
WorldStaticModel = CarHood,
}
Base.EngineDoor3
Source: ProjectZomboid\media\scripts\vehicles\vehiclesitems.txt
item EngineDoor3
{
DisplayCategory = VehicleMaintenance,
Weight = 15.0,
Type = Normal,
DisplayName = Hood,
Icon = EngineDoor,
VehicleType = 3,
ChanceToSpawnDamaged = 25,
ConditionMax = 100,
MechanicsItem = TRUE,
WorldStaticModel = CarHood,
}