Modding
License Info
By purchasing Project Zomboid, you are permitted to: [1]
- Change the base files in any way you like, provided that those changes do not result in the game being playable without purchasing.
- Distribute the files in any way as you like, providing the files you distribute are not useable by themselves, or accompanied with freely available downloadable files, to play the game without purchasing.
- Use art, music, video footage or intellectual property of Project Zomboid for creative purposes in any way you like, providing the end result is related in some way to Project Zomboid, states Project Zomboid as its influence and origin, and is for non-commercial use only.
You are not permitted to:
- Modify the demo in any way beyond cosmetic graphical/sound/musical changes.
- Modify the base files to include malicious code.
Specifics
List of Item Parameters
Parameter Name | Effect / Description | Example |
---|---|---|
General | ||
Type | Item-type, describes how the item behaves. | Food |
Display Name | The item's name as it appears displayed to the player. | Axe |
Icon | The item's icon as it appears displayed to the player. This parameter looks inside "media/texturepacks/ui.txt" and will call any sprite with the prefix "Item_". | IckySticks |
Weight | Item's weight, used for encumbrance. | 0.1 |
Consumables | ||
IsCookable | Whether the item can be cooked. | Boolean (0 or 1) |
MinutesToCook | How many in-game minutes the item must be in an oven for it to cook. | 5 |
MinutesToBurn | Length of time the item must be in an oven for it to be burnt. Usually double the value of 'MinutesToCook'. | 10 |
HungerChange | Value applied to player's current hunger points. Positive increases hunger. | -30 |
DaysFresh | How many days it takes for a food item to begin rotting. | 5 |
DaysTotallyRotten | How many days it takes for a food item to become entirely rotten. | 12 |
DangerousUncooked | Whether the food item will negatively affect the player in an uncooked state. | Boolean (0 or 1) |
RequireInHandOrInventory | Requires a specified item to be inside the player's inventory before the item may be used. | CanOpener |
Alcoholic | Whether the item effects the player in a similar way to Bourbon. | Boolean (0 or 1) |
UseSelf | Whether the item is consumed after use. | Boolean (0 or 1) |
OtherHandRequire | Requires a specified item to be held by the player in their second quick-slot before the item may be used. | Lighter |
Weapons | ||
MinDamage | Minimum damage the weapon will inflict. | 1 |
MaxDamage | Maximum damage the weapon may ever inflict. | 100 |
MaxRange | Maximum range the weapon is effective. | 5 |
MaxHitCount | Maximum amount of enemies the weapon will hit at one time. | 1 |
PhysicsObject | Requires more research. | Boolean (0 or 1) |
SwingAnim | Name of animation which is ran when the weapon is fired/swung. | Fill in |
WeaponSprite | Name of sprite, the image used to display the weapon. | Fill in |
DoorDamage | Damage inflicted by the item on doors. | 20 |
MinimumSwingTime | Requires more research. | 10 |
SwingAmountBeforeImpact | Requires more research. | 5 |
PushBackMod | Distance that enemies are pushed back. | 10 |
SplatNumber | Blood effects used when an enemy is injured by the weapon. | 2 |
ImpactSound | Name of sound used on impact. | Fill in |
SwingSound | Name of sound used when firing/swinging weapon. | Fill in |
SoundVolume | Defines the volume of a chosen sound. | Fill in |
SoundRadius | Radius in which the sound may be heard in the game world from it's point of origin. | 6 |
ToHitModifier | Requires more research. | Fill in |
NPCSoundBoost | Requires more research. | Fill in |
RangeFalloff | Requires more research. | Fill in |
UseEndurance | Whether the weapon causes exhaustion. | Boolean (0 or 1) |