Guide to contributing to the wiki: Difference between revisions

Jump to navigation Jump to search
Added section of how to extract, upload and use ingame-icons in the wiki
(Page rewrite and update)
(Added section of how to extract, upload and use ingame-icons in the wiki)
Line 76: Line 76:
* If you are writing a basic guide, '''keep it basic''', and put the advanced topics on a separate page.
* If you are writing a basic guide, '''keep it basic''', and put the advanced topics on a separate page.
* Make use of formatting, tables, white space, headings, and other methods to draw attention and give direction to critical points of information
* Make use of formatting, tables, white space, headings, and other methods to draw attention and give direction to critical points of information
<br>
 
== Adding icons ==
[[File:DreamMaker_opened_environment.png|thumb|alt=Dream Maker with opened yogstation.dme|Dream Maker with opened yogstation.dme]]
What would articles be without proper icons of things like ingame-items
 
=== Simple Icons ===
Here is a short guide of how to extract, upload and use them:
# [[Downloading the source code|Download the source code]]
# Start the program '''Dream Maker''' (was installed with BYOND)
# Menu > File > Open Environment > ''your_path_to_the_code''/'''yogstation.dme'''<br>
# Navigate the filestructure on your left to your icon, for example '''icons\obj\hydroponics\harvest.dmi'''
# Rigclick your image on the right, for example '''firelemon''' > Export
# Make sure to save as '''*.png''' for normal icons and '''*.gif''' for animated icons
# Go to the [[Special:Upload|Upload]] of the wiki
# Select your file and upload it. Make sure to leave a comment like "Extracted from icons/obj/.../xxx.dmi"
# Write down the name of your uploaded file. In this example File:Firemelon.png
# Go to the article you want to edit and insert your image with <nowiki>[[File:Firemelon.png]]</nowiki>
 
=== Animations of combined icons ===
Some icons are used together to create animations. Do this to combine them into an animated gif:
# Open the appropriate *.dmi like explained for simple icons. We will use '''icons/obj/hydroponics/growing.dmi''' as an example
# Select multiple images with Ctrl-Leftclick
# Rightclick > Combine > 1 direction (The other options are used for things like walking-animations for different directions)
# If the images are not in the right order: Rightclick > Edit Pixels/Movie
# Use Shift+Drag to swap the images on the bottom into your preferred order
# exit the editing view via the Back-button (right bottom)
# Rightlick > Export > Safe as gif
# (optional) Revert the Image-combination with Rightclick > Split > Split animation frames
# To adjust the animation-speed of your gif you have to edit it. In this example we will be using https://ezgif.com/maker
## Upload your gif
## Change the delay of the frames (I usualy go for 50)
## Set a tick at 'don't stack frames'
## Make and download the gif
## View it to make sure it works as needed
 
=== Automisation ===
You can extract all icons of a *.dmi (as png) with this little python-tool: https://github.com/alexkar598/DMIExport/releases/tag/1.0.0
 
== Useful pages ==
== Useful pages ==


1,133

edits

Navigation menu