Modding: Difference between revisions

From PZwiki
(Info regarding Modding in Project Zomboid)
 
mNo edit summary
Line 1: Line 1:
== Modding ==
== '''License Info''' ==
 
=== '''License Info''' ===


'''By purchasing Project Zomboid, you are permitted to:'''
'''By purchasing Project Zomboid, you are permitted to:'''
Line 13: Line 11:
*Modify the demo in any way beyond cosmetic graphical/sound/musical changes.
*Modify the demo in any way beyond cosmetic graphical/sound/musical changes.
*Modify the base files to include malicious code.
*Modify the base files to include malicious code.
== Specifics ==
=== List of Item Parameters ===
{| style="float:left;" class="wikitable"
!Parameter Name
!Effect / Description
!Example
|-
|Type
|Item-type, describes how the item behaves.
|Food: Allows item to be consumed.<br>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.
|<nowiki>-</nowiki>30
|}
http://theindiestone.com/community/viewtopic.php?f=27&t=3654

Revision as of 05:21, 4 September 2011

License Info

By purchasing Project Zomboid, you are permitted to:

  • 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


http://theindiestone.com/community/viewtopic.php?f=27&t=3654