TerraFirmaCraft:How To Contribute

From TerraFirmaCraft Plus Wiki
Revision as of 00:33, 14 September 2019 by Mount2010 (Talk | contribs)

Jump to: navigation, search

Creating A New Page

Remember to include {{Blocks}} at the end of the page. This adds the Navigation menu.

Blank Knapping Template

{{Grid/Knapping
|A1= |B1= |C1= |D1= |E1=
|A2= |B2= |C2= |D2= |E2=
|A3= |B3= |C3= |D3= |E3= 
|A4= |B4= |C4= |D4= |E4= 
|A5= |B5= |C5= |D5= |E5=
|Output= 
}}


Materials used in knapping template: Flat Straw, Flat Leather, etc. Those image textures need to be 36px for it to play nice. Alternate template materials (this is buggy... it resizes the alt textures to 32px) and alternate outputs (this seems to work fine) can be animated by listing them in the appropriate space separated by a semicolon. To add a number to the output, follow the name with a comma and the number.

Uploading Images

Finding Images

The textures can be found in the mod folder (or unzipped jar) under \assets\terrafirmacraftplus\textures. When you scale them up, pleas make sure you turn off interpolation (cubic, bicubic, etc.) to keep the pixel edges clean. For batch editing, I use the BIMP 2.0 extension for GIMP 2.10 to scale a whole folder of images copied from the mod source.

Sizes

Items may need to be uploaded in two versions:

A 32x32 px with the naming convention: Grid_Item.png is used for items in [crafting grid templates.]

A 36x36 px with the naming convention: Grid_Item.png is used for knapping materials.

A 150x150 px with the naming convention: Item.png is used in the block info template for an item's individual wiki page. A gif can be used instead of a png for the larger item image. Use a frame delay of 2000 ms.

New versions of images not updating?

If you upload a new version of an image and it is displaying the old version, open the direct link to the image and append ?action=purge to the url and hit enter. This might fix it.

Displaying uploaded images on a page

[[ Image:Image.jpg | frame(or thumb) | position | 300px | caption ]]