Modding

From PZwiki
Revision as of 19:58, 4 September 2011 by Warlordpompey (talk | contribs) (Added reference section)

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
Type Item-type, describes how the item behaves. Food: Allows item to be consumed.
Weapon: Allows item to be equipped.
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
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)
MinDamage Minimum damage the item will inflict. 1
MaxDamage Maximum damage the item may ever inflict. 100
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
MaxRange Maximum range the item is effective if it is a weapon. 5
MaxHitCount Maximum amount of enemies an item will hit at one time if it is a weapon. 1
PhysicsObject Requires more research ..

References