|
|
|
|
 |

December 5th, 2003, 06:24 PM
|
 |
First Lieutenant
|
|
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: GIMP and maps
Quote:
Originally posted by Gandalf Parker:
I think they are just gimp. They were written apprently in something called "scheme" though there are some perl module things. I doubt they would call PSP properly.
|
Scheme is a real programming language - not exactly C or C++ popular, but it existed before the Gimp.
|

December 5th, 2003, 06:32 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: GIMP and maps
Quote:
Originally posted by PhilD:
quote: Originally posted by Gandalf Parker:
I think they are just gimp. They were written apprently in something called "scheme" though there are some perl module things. I doubt they would call PSP properly.
|
Scheme is a real programming language - not exactly C or C++ popular, but it existed before the Gimp. True and its used as part of many projects. One of interest to me (and maybe Johan) is scsh which is a scheme shell for the unix environments (GNU HURD compliant). Im debating that since I do alot of trouble-shooting on other peoples machines. Ive tried not to get too attached to things I wont find on other systems.
It just reinforces something I say about GIMP. Its not the kindof paint program you use. Its the kindof paint program you learn.
[ December 05, 2003, 22:22: Message edited by: Gandalf Parker ]
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

January 15th, 2004, 10:56 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: GIMP and maps
OK now that the DomMap project is creating playable maps for Dom2 I would like to clean up the ones Im auto-generating.
http://www.techno-mage.com/~dominion...s2/RandomMaps/
The maps look better blurred. Easier on the eyes. But that messes up the capitals.
My thinking is to capture or set aside the white dots, then blur/smear/smudge/despeckled the map, then paste the white-dots back down. Maybe something like copy all of a color (255/255/255) to a layer, blur, then mrge layers?
Better yet if it could be 3 colors, the white and the two borders. Best of all if it could be scripted.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

January 15th, 2004, 11:24 PM
|
 |
Major General
|
|
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
|
|
Re: GIMP and maps
You needn't script it. At least, I dunno how to do that
It's a matter of a few seconds, anyhow.
Letme try to show how. Sorry if I don't get the menue item names right - I'm using the german Version and can't really remember the english labelling from the previous Version.
Right-click on the pic. Use "select", "per color" (or something like that, it's way down the list that pops up), turn "impreciseness" down to "0", klick on a white pixel.
open the layers menue.
right-click on the pic again, choose "selection", "floating"
in the layer menue there will appear a "floating selection" entry, already marked as active (blue)
hit "keep transparency", than the "new layer" button. the floating selection will be converted into a transparent, "floating layer".
you may rename it to "pixels" or something ...
Activate the backgraound layer, do any smoothing and anti-aliasing you wish.
Proceed similarly for other colors to generate borders etc.
If you add another layer for "objects", you may copy in trees, bushes, mountains etc. from another pic easily. You may even select them later again and move them around by dragging - as long as you keep them on a seperate, transparent layer.
When done, merge all layers.
hope this is helpful
A.
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
|

January 15th, 2004, 11:48 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: GIMP and maps
Quote:
Originally posted by Arralen:
You needn't script it. At least, I dunno how to do that
|
Yeah almost worth learning Scheme just to make a script-fu of it.
Quote:
|
It's a matter of a few seconds, anyhow.
|
OK thats great, and I will do it. But Im not going to do it to 30 files every day.
Maybe if I find a really good one in one of the batches I will do this and then use it as a basis for one of my fun random things.
Maybe if I copy the steps to one of the gimp or scheme newsGroups I can get someone to script it out.
Thanks for the steps.
[ January 16, 2004, 02:26: Message edited by: Gandalf Parker ]
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

January 16th, 2004, 06:51 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: GIMP and maps
WOW thanks Arralen! That worked SO WELL.
Here is a short Version I worked up for use with my Windows Version of GIMP
load .tga and open layers
Rclick image, select-> by color, choose color, Shft-Ctrl-L
go to layers, clik "keep transp", clik "new layer"
select original layer, repeat above for both border colors
after getting 3 transparent floating layers, select blur
Ctrl-M to merge all layers then save
Now if I could just get someone to autoscript it
[ January 16, 2004, 18:23: Message edited by: Gandalf Parker ]
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

March 25th, 2004, 06:12 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: GIMP and maps
A note on the routine used to make the DomMap images alittle more pleasing to the eye. Ihave dicovered that using the SCATTER effect before doing the BLUR makes a much nicer result. Scatter basically takes large areas of a single color (green, blue, tan) and mixies it up abit with sight variations. If I use it at a setting of 8 then the green area becomes a mix of greens within 8 slight variations of the original shade. This works well for adding alittle visual variety to provinces that ended up a solid block of color. Especialy the water.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|