From Coolstation Wiki
Revision as of 20:15, January 23, 2024 by ReginaldHJ (talk | contribs) (stub/first draft for gun's contributions/spriting guidelines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Some times you may ask yourself, "Hey, how do you make a gun's? I want to make a gun's and put it in coolstation."

The nice thing about this is you don't have to make an entire gun's. You can just do part of one (like a barrel) and contribute it, because all the pieces fit together.

This first draft is for settling the standard, and when it's done, make it easy for anyone else to look at it and contribute their own gun's/part's

Let's split this up into two places: The Code, and The Art

The Code[edit | edit source]

i lied let's come back to this later

The Art[edit | edit source]

The visual bits of gun's comes from multiple icons layered together. This is a big part of where the modularity comes from.

Guns are assumed to be grip side left, shooty bang bang side right.

Rough outline of sprite expectations (first draft, best guesses, do not actually use for guidance yet)[edit | edit source]

Components and How They Fit Together
Part Connecting Length Offset for Overlay Offset for Overlay (Rifle) Icon coords to termination line Order?
Receiver N/A N/A N/A (Alt. Iconstate) N/A, Center It Bottom?
Stock (Left Edge) 4px? Vertical x = -?, y = ? x = -?, y = ? (28,18)? Top to Bottom Third from Top
Barrel (Right Edge) 4px? Vertical x = ?, y = ? x = ?, y = ? (4,18)? Top to Bottom Middle?
Magazine Per-Item Per-Item Per-Item N/A, Center It Second from Top
Attachment Per-Item Per-Item Per-Item N/A, Center It Top
Grip (Primary) 4 or 6 px? Horizontal x = -2, y = -4? x += 2 if bullpup (NT), x -= 4 if regular? (14,15)? Left to Right Second from Bottom
Grip (Secondary) 4 or 6 px? Horizontal x = 6, y = -4? x = 6, y = -4? (14,15)? Left to Right Third from Bottom

The Receiver[edit | edit source]

The central part of the gun. This is what makes the gun a gun, and all the parts attach to it.

Each faction has their own style and colors and action. For example, if you want a revolver, you need an italian receiver.

This is not currently standardized.

The Barrel[edit | edit source]

This is the part of the gun where the projectile or laser is fired from.

They can be long or short.

Try to start the icon 4 pixels from the left edge, and 2px above the center. This gives lots of room to work with.

The Stock[edit | edit source]

Shoulder-thingy for extra stability.

Try to start the icon 4 pixels from the right edge, and 2px above the center. This gives lots of room to work with.

The Grip[edit | edit source]

The thingy where you hold on.

Don't include triggers or trigger guards on grips, that will be handled by the receiver.

Imagine a 4 pixel long line at the center, below the horizontal center line. Start building your grip downward from here.

The Magazine[edit | edit source]

where extra bullets store

hold off on this for a bit while we decide something

The Attachment(s)[edit | edit source]

an additional function for your fire's arm such as a light or a fart

Just center the icon, offsets will be handled purely by code.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.