Garry's Mod

Garry's Mod

1,208 arvostelua
3D Pixel Art Editor
2
2
2
2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Tool
Addon Tags: Cartoon, Fun
Tiedostokoko
Julkaistu
Päivitetty
357.397 KB
16.3.2021 klo 3.05
16.3.2021 klo 4.27
3 muutosilmoitusta ( näytä )

Tilaa ladataksesi
3D Pixel Art Editor

Kuvaus

How to use
Go to Entities / Jakub Baku / 3D Pixel Art and spawn it. Press "E" (or any +use key), the Pixel art editor should pop up. You can draw on the canvas with left mouse button and erase with right mouse button. In the color mode the color's alpha controls the mixing of a color. Press Toggle Heightmap View to edit the height map. In this mode you paint a height value (color's alpha) with left mouse button and erase (set to 0) with right mouse button.

To save a pixel art type in a name in the text box and press "Save Image as". To load an image, type in the name of the image and press "Load Image". I've included two images with the addon by default: pixelpick and pixelabstract3, which you can load up and test / edit.

To apply the result click "Update".

I know the editor is a little bit clunky so there's an option of importing the images from, let's say, GIMP or any other editor.

Click C - > Edit Properties.. to change the PWidth (Pixelmap width), PHeight (Pixelmap height), PScale (scale of the rendered pixelart) or HeightMapScale (how high is the heightmap).

MAKE SURE TO "UPDATE" THE PIXEL ART after changing the scale, otherwise the render bounds will be messed up.

Importing/Exporting Pixel Arts
The pixel arts are stored as TARGA images, so you can make a custom pixel art with GIMP or any other image editing software and import it into the game!

Requirements:
  • The image's width or height must NOT be bigger than 100px. Otherwise it won't import.
  • The image must be in a TARGA format.
  • Must be a true color image (non indexed / colormapped)
  • Must be in top-left orientation and must NOT be RLE compressed.

After exporting as <name>.tga please change the extension to .txt, so it will be <name>.txt, and put the file in a garrysmod/data folder. Now just go into the Pixel art editor, type in <name> into the text box and click "Load Image". Update the pixel art and you should now see it in game :)

Alpha channel of an image is treated as a heightmap and visibility map:
alpha 0 - pixel invisible
alpha 1 - pixel visible, height 1
alpha x > 0 - pixel visible, height x

I recommend importing images WITHOUT an alpha channel thus no height map, and adding any height info in the pixel art editor in game, however if you want to do that in gimp just right click the layer -> Add Layer Mask and then Fill the entire area with r = 1, g = 1, b = 1 (010101 in HTML notation) and finaly paint the height info over that or even simpler: paint the height map or copy-paste it and then Colors -> Levels -> Output Levels 1 - 255.

FAQ
- My TGA does not import
- Make sure your targa's origin is top-left and it's not RLE compressed

- My pixel art is not fully-rendered
- 100x100 images tend to break the Mesh rendering system because of the overload. Try to keep
your image within 50x50.

- My pixel art does not show in the world, only in editor.
- Press "Update"
119 kommenttia
afton guy 18.8.2024 klo 11.45 
it just makes scribbles
it dont work
⊞ 𝕸𝖔𝖔𝖌𝖑𝖊 ⊞ 24.1.2024 klo 3.53 
i think its broken
Zlobniy_Sigma 27.10.2023 klo 3.18 
No work
The ruling peeper 17.9.2023 klo 6.33 
FINALY. I CAN MAKE MC 2D BLOCKS
sp4rt4nx666 30.5.2023 klo 11.52 
if i have any problem with this mod its that there isnt enough pixels to make big things
DitieBun 1.5.2023 klo 6.44 
this is pretty sick actually, does it work with dupes?
Mortis 11.4.2023 klo 2.17 
Stary mam problem nie wiem jak to obsługiwać albo coś tworzyć...
:steamsad:
CaydenGames233 21.3.2023 klo 16.20 
Oh so THIS is how they made the 8-bit fred pack..
Filsov 12.3.2023 klo 5.33 
Аддон просто идеальный в рисовании, но когда хочешь создать типичную ситуацию то от нарисованного рисунка остаётся невидимый куб, который легко виден ночью
маструбiрую онал 30.8.2022 klo 21.19 
Oh wait nvm