1,133
edits
imported>Errorage (1 revision) |
m (Small Typ fixes to best of knowledge and minor formatting) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
== Object overview == | == Object overview == | ||
There are 4 types of objects in the game: | There are 4 types of objects in the game: | ||
Line 26: | Line 25: | ||
Now, hopefully that's all the information you need to sprite and make dmi files. | Now, hopefully that's all the information you need to sprite and make dmi files. | ||
== | === From PNG back to DMI === | ||
[https://www.youtube.com/watch?v=kXDcYtAfjrM Here's Errorage's video tutorial (thanks Errorage!) on how to convert your beautiful PNG file into a DMI, you can watch this or follow the guide below, they are essentially the same.] | |||
The [http://entropymine.com/jason/tweakpng/ first thing you want to do is download TweakPNG from here], | |||
You then want to copy the .dmi and make it a .png. | |||
[[File:Spriting1.png|frame|none|Dmi and png files here.]] | |||
Open the .png file in a photo editing software like GImp or Paint.NET. | |||
[[File:Spriting2.png|300px|frame|none|Png file opened.]] | |||
Make any edits you want. | |||
[[File:Spriting3.png|frame|none|Perfect.]] | |||
Save/Export the file. Along with opening TweakPNG. | |||
Rename the .png to something new and make it a .dmi. | |||
You can then drag your .dmi file into TweakPNG. | |||
Copy the chunk named "zTXt". | |||
Drag on the new .dmi and copy the "zTXt" chunk over and make sure it's anywhere under the "tRNS" chunk. | |||
[[File:Spriting4.gif|frame|none|Oh god what is going on.]] | |||
Open your new .dmi to make sure it worked. | |||
[[File:Spriting5.png|300px|frame|none|Hey! It worked!]] | |||
== Required sprites by object category == | |||
Now to tell you what sprites different types of items need: | |||
=== Mobs === | |||
*Mob sprites for the most part require four directions. | |||
*Mob sprites require dead sprites. | |||
*If you choose to, you can make a laying sprite. | |||
*If making a mob, that can wear clothing, you can use ''pixel_y'', ''pixel_x'' to shift clothing on, when coding the mob. | |||
=== Turfs === | |||
*Floors are in icons/turf/floors.dmi - Check the file for examples. | |||
*Walls are in icons/turf/walls.dmi - Check the file for examples. | |||
*Shuttle walls and floors are in icons/turf/shuttle.dmi - Check the file for examples. | |||
*Space tiles are in icons/turf/space.dmi - Check the file for examples. | |||
*I think these are pretty self explanatory. | |||
=== Objects === | |||
*Objects sprites are located in the icons/obj folder. | |||
*Items sprites are spread throughout said folder. | |||
*Item sprites for the most part require in-hand sprites. They can be located in the icons/mob/items_lefthand.dmi and icons/mob/items_righthand.dmi section. | |||
*Clothing sprites are located in the icons/obj/clothing folder. | |||
*Clothing sprites on mobs can be found in the icons/mob folder. | |||
*Clothing sprites for the most part require in-hand sprites. They can be located in the icons/mob/items_lefthand.dmi and icons/mob/items_righthand.dmi section. | |||
*Machinery sprites are located icons/obj/machines folder. Although a good amount of them are located in the icons/obj folder. | |||
*Door sprites are located under icons/obj/door folder. | |||
*Normal door sprite require door_closed, door_locked, door_opening, door_deny, door_closing, door_open, door_spark, o_door_opening, o_door_closing, panel_open, welded, and elights. I suggest looking over a door dmi. | |||
*Blast doors only require opening and closing sprites and sprites for when it is open and closed. | |||
== Contributing sprites and finding sprite requests == | == Contributing sprites and finding sprite requests == | ||
See [[Guide to contributing to the game#Icons, glyphs, sprites, animations... images|here]] for details. | See [[Guide to contributing to the game#Icons, glyphs, sprites, animations... images|here]] for details. | ||
== Guides For Making Sprites == | |||
https://tgstation13.org/phpBB/viewtopic.php?f=11&t=687 | |||
[[Category:Guides]] [[Category:Game Resources]] | [[Category:Guides]] [[Category:Game Resources]] | ||
{{Contribution guides}} | {{Contribution guides}} |
edits