Jump to content

Introduction to modding: Difference between revisions

m
no edit summary
(→‎What is the workflow for modding?: writing about the community tools)
mNo edit summary
Line 77: Line 77:


====Textures====
====Textures====
Modders have their own preference for which bitmap editor to use when editing/creating textures. On one end of the scale are expensive programs such as Photohop, and on the other end are free editors like [https://www.gimp.org/ Gimp] and [https://www.getpaint.net/ Paint.NET].
Modders have their own preference for which bitmap editor to use when editing/creating textures. On one end of the scale are expensive programs such as Photoshop, and on the other end are free editors like [https://www.gimp.org/ Gimp] and [https://www.getpaint.net/ Paint.NET].


Textures have dimensions always of "power of 2": their pixel sizes must be one of those numbers 2, 4, 8, 16, '''32, 64, 128, 256, 512'''. Mac supports a maximum of 1024 pixel per dimension: 1024 x 1024. For PC you can only use images as big as 512 x 512.
Textures have dimensions always of "power of 2": their pixel sizes must be one of those numbers 2, 4, 8, 16, '''32, 64, 128, 256, 512'''. Mac supports a maximum of 1024 pixel per dimension: 1024 x 1024. For PC you can only use images as big as 512 x 512.
Line 83: Line 83:
A common question is how to create '''([[XML:TXMB|TXMB]])''' splash screens (level start screens), win level and lose level screens. Those images are made of smaller ones due to Oni's limitation in pixel dimension.
A common question is how to create '''([[XML:TXMB|TXMB]])''' splash screens (level start screens), win level and lose level screens. Those images are made of smaller ones due to Oni's limitation in pixel dimension.


All other images use '''TXMP''' as file type. These can can static, animated, transparent or have an reflection map (env map, usually for character armor). Special properties like double sidedness for glass are set up in the [[XML:ONLV#.3CTextures.3E|level's master xml]] page.
All other images use '''TXMP''' as file type. These can be static, animated, transparent or have an reflection map (env map, usually for character armor). Special properties like double sidedness for glass are set up in the [[XML:ONLV#.3CTextures.3E|level's master xml]] page.


* Tutorial: [[Modifying textures|Modifying textures (TXMP)]]
* Tutorial: [[Modifying textures|Modifying textures (TXMP)]]
8,013

edits