SomeDude | 2011-09-04 02:41
Cube-Art Script, making pixel-art a bit easier. UPDATED 1.1 (4/20/12)
87
points ]
 (9 votes)
This script makes drawing pixel-art a little easier.

Cube Art script Version 1.1!(4/20/2011)

This script will draw a row of pixels in an image automatically, cutting the overall time it takes to draw pixel-art in-game down significantly.

1.1 Update:
-New "SauerImageConverter" Version 1.1
.-Now displays percentage while converting images.(If it looks like it hangs at 0%, it's really just lagging b/c your image is larger than expected.)
.-No longer exits after converting an image.
.-Auto-detects alpha channel in images. (Images w/ an alpha channel will be drawn that way in-game automatically now)
-New "cube_art.cfg" Version 1.1
.-New "setrow" function. ("/setrow ", where the top row is row #1)
.-Replaced use of "universaldelta" with "editface".
.-Replaced "arg#" variable names.

Key features so far:
-Separate folder for converted image files to avoid confusion with other ".cfg" files.
-The alpha channel in the image is made into alpha material in-game.
-Images can be added on-the-fly; no need to restart Sauer.
-Image files are really just ".cfg" files, so they are open to many possibilities.
-A single "cube_art" function for easy keybinding; (Just put the line "editbind N cube_art" in "autoexec.cfg")
-A lovely little GUI menu for loading Cube-Art images.
-"prevrow" function for redrawing rows. ("/prevrow ")
-"clearimg" function to reset the script.
-New "setrow" function to go directly to the row specified. ("/setrow ", where the top row is row #1)

How to use:
1. Follow the included "README--INSTRICTIONS.txt" to install.
2. (Windows Users)Use the "SauerImageConverter.exe" included in the package to convert the image you wish to draw in-game.
2. (Non-Windows Users)Download Unixfreak's "Cube-Art Image Converter" and convert the image you wish to draw in-game. (http://www.quadropolis.us/node/3139)
3. Place the converted file(".cfg") into the "cube-art" folder.
4. In-game, use the "cube_art" keybind to open the menu, and select the Cube-Art image you wish to draw.
5. Select a cube to draw from, stand back, and use the "cube_art" keybind again to draw a row of pixels from the image.
6. Repeat step 5 until the image is complete. Use "/prevrow" to redo a row if you mess up.

Special Notes:
-A good "rule of thumb" is to crop your image's height to no more than around 60 pixels. Anything larger becomes tedious to draw.
-This script DOES work in coopedit mode, but it WILL cause brief bursts of lag as each row is drawn.
-"nompedit" does not need to be turned on manually for this script to work online, however you will still need to "/sendmap" for others to see your art.

Special Thanks:
--To UnixFreak for making a better image converter; graphics-related programming isn't exactly my cup of tea.
--To the, now dead, MMC clan and it's forum for support and hosting earlier versions.

Cube-Art Version 1.1.zip (358.37 KB)
87
points
 (9 votes)
User login
Users on Quadropolis
3 guests & no users online
Created 2017-11-23 23:59
22 hours 1 min ago
15
points ]
 (2 votes)
Created 2017-11-20 13:55
4 days 8 hours ago
Created 2017-09-29 22:03
7 weeks 6 days ago
nopnotme
Created 2017-09-29 22:12
7 weeks 6 days ago
nopnotme
Created 2017-09-29 21:59
8 weeks 1 min ago
nopnotme
Created 2017-09-29 21:56
8 weeks 4 min ago
nopnotme
Created 2017-09-29 21:52
8 weeks 8 min ago
18
points ]
 (3 votes)
Created 2017-09-17 12:33
9 weeks 5 days ago
DeathStarPC
Created 2017-09-11 03:47
10 weeks 4 days ago
Created 2017-09-18 17:38
9 weeks 4 days ago
10
points ]
 (1 vote)
Created 2016-07-28 12:06
1 year 17 weeks ago
10
points ]
 (1 vote)
Created 2017-09-12 03:37
10 weeks 3 days ago
20
points ]
 (3 votes)
Created 2010-03-04 23:30
7 years 38 weeks ago
DeathStarPC
Created 2017-09-11 03:32
10 weeks 4 days ago
20
points ]
 (2 votes)
Created 2017-06-22 03:17
22 weeks 1 day ago
Created 2017-04-24 15:32
30 weeks 4 days ago
Created 2017-04-15 03:38
31 weeks 6 days ago
LandRiders7th
Created 2017-05-06 00:42
28 weeks 6 days ago
Created 2017-04-24 15:13
30 weeks 4 days ago
30
points ]
 (9 votes)
Created 2011-06-16 13:56
6 years 23 weeks ago
Who's new
  • arCABAL
  • Flitzpiepe
  • M16
  • theradical
  • torben