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
4 guests & no users online
Created 2017-04-24 15:32
9 hours 18 min ago
Created 2017-04-24 15:13
9 hours 37 min ago
Created 2017-04-15 03:38
1 week 2 days ago
30
points ]
 (9 votes)
Created 2011-06-16 13:56
5 years 44 weeks ago
Created 2017-02-02 00:22
11 weeks 5 days ago
74
points ]
 (9 votes)
Created 2012-07-01 13:12
4 years 42 weeks ago
Flitzpiepe
Created 2017-01-28 22:59
12 weeks 2 days ago
214
points ]
 (22 votes)
Created 2012-10-20 09:56
4 years 26 weeks ago
AtlasSteal
31
points ]
 (4 votes)
Created 2016-12-27 04:35
16 weeks 6 days ago
theradical
Created 2016-12-26 16:25
17 weeks 8 hours ago
theradical
11
points ]
 (2 votes)
Created 2016-12-20 14:15
17 weeks 6 days ago
20
points ]
 (3 votes)
Created 2010-03-04 23:30
7 years 7 weeks ago
KATZ_2142
13
points ]
 (2 votes)
Created 2016-09-06 23:34
32 weeks 6 days ago
50
points ]
 (5 votes)
Created 2010-02-18 22:58
7 years 9 weeks ago
DeathStarPC
Created 2016-10-09 12:48
28 weeks 1 day ago
Created 2016-05-10 23:14
49 weeks 6 days ago
Created 2016-07-28 12:06
38 weeks 4 days ago
7
points ]
 (1 vote)
Created 2016-08-19 06:04
35 weeks 3 days ago
92
points ]
 (10 votes)
Created 2010-06-23 21:33
6 years 43 weeks ago
Fatality
50
points ]
 (6 votes)
Created 2014-05-14 01:01
2 years 49 weeks ago
Who's new
  • Flitzpiepe
  • M16
  • theradical
  • torben
  • KATZ_2142