Staredit Network > Forums > Modding Assistance > Topic: Easy way to create wireframes with GIMP
Easy way to create wireframes with GIMP
Oct 29 2017, 1:27 am
By: azureguy  

Oct 29 2017, 1:27 am azureguy Post #1



Note: This topic doesn't cover how to extract and convert grp images. This is for the step of editing the images, assuming you extract each wireframe as a single image. This method might work with all wireframes extracted in one big image, but I haven't tested it.




If you're like me and want to create or edit wireframes, but don't have Photoshop, and have trouble getting the colors right, this might help you!

Because of the whole index colors thing, it can happen that the green, yellow, orange and red colors you add are not the ones used for the wireframes, but instead other colors that have the same RGB value and appear earlier in the index. The image will not use the correct index color no matter what you do.

To understand what I mean, open GIMP, go to "Windows -> Dockable Dialogs -> Colormap", get a color with the Color Picker Tool, color a pixel in the image, select that new pixel with the Picker Tool again, and take a look at the colormap. If you placed green, it will select green at index position 117 instead of 209.
If you export the image like that, it will not use the correct colors, and thus will look weird in the GRP program preview and ingame.



I'm not an expert with colormaps and indexes, but I've found a brute force solution to make it work for everyone: Replace ALL colors of the colormap (except the ones used for wireframes-only) with purple, thus forcing GIMP to use the correct index position.


You can even edit your wireframe image in another program and then paste it in GIMP, merge layers, export it and voila - it works!

PS: Be sure to check both available options when exporting a BMP file with GIMP, it makes sure the file works properly with Starcraft.




I've attached some empty images to this topic whose colormaps have been "wiped" already. It should make the whole process with GIMP quite easy!

Attachments:
wireframe templates.zip
Hits: 3 Size: 0.58kb
wireframe templates (zerg).zip
Hits: 0 Size: 0.58kb



None.

Oct 29 2017, 3:54 pm Corbo Post #2

ALL PRAISE YOUR SUPREME LORD CORBO

Awesome. I am pretty sure many people will appreciate this.

Thanks for the tip!



fuck you all

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:29 am]
Symmetry -- TFW you google a problem and find the answer in a post you made yourself
[01:46 am]
Oh_Man -- How can i change my name here to put [TFE] on the end will thr website let me
[06:02 pm]
Zoan -- of course it isn't full understanding. You could ask "is the mechanism by which this counterexample blows up the ONLY mechanism possible for an initial configuration to blow up?"
[05:48 pm]
Zoan -- ppl do it all the time in PDEs
[05:47 pm]
Zoan -- Heinermann
Heinermann shouted: it also didn't solve that problem but hey as long as the investors are pleased
Constructing a counterexample is answering the question: "Is Navier Stokes well posed?" in the negative
[05:44 pm]
NudeRaider -- I only heard about it, didn't any news article, so what did it do then?
[05:43 pm]
Heinermann -- it also didn't solve that problem but hey as long as the investors are pleased
[05:39 pm]
NudeRaider -- I have no idea tbh. All I know no human was ever able to solve it, but there's at least a few that beat portal ;)
[05:32 pm]
Zoan -- Navier Stokes is not that esoteric I thought
[04:32 pm]
NudeRaider -- Zoan
Zoan shouted: I find it kind of sad that on the same day it was announced AI solved Navier Stokes, it was also announced AI beat Portal, and there's a good deal of people who don't know which is more impressive
you find it sad not everyone is a math nerd?
Please log in to shout.


Members Online: Zoan