Cartographer

Oct 16, 2004 09:48 Cartographer
Cartographer now has (in an unreleased version) support for scriptable filters.

The scripting language is "Lua". You can download documentation and a stand-alone version of Lua to try it out at:

http://www.lua.org/

It might be worth your time learning it if you're interested in writing filters for the next release of Cartographer.

An example of what you can do is this script:

[code:1:ed96f48f01]-- A filter to fill the screen (or selected area) with diagonal
-- "strokes" using the current pen.

for n = 1, 100 do
x = math.random() * 225 + 10
y = math.random() * 225 + 10
line(x, y, x + 10, y + 10)
end[/code:1:ed96f48f01]

If you save the above and place it in the filters directory, it is loaded up and added to the "Filters" menu. Clicking on the filter runs the script. You can run it multiple times and even limit the effect of your script to the current selection. (The above script uses your currently selected tile type).

The background of the following map was generated using the above script:

http://www.winbolo.net/mapcollectioninfo.php?id=5278
Oct 16, 2004 16:37
Wow.
Oct 18, 2004 14:25
Wow too !

I tried the last release :
http://www.ucc.gu.uwa.edu.au/~ziph/cartographer/Cartographer-0.4.zip
and I report here some details (I know that it is a work in progress, but if I can help you with that...)

1 - The "Palette" window is too short and the bottom of 2nd line icons is cut, like red selection square.

2 - When a selection is "on", it is possible to add or remove bases, pills, and starts positions OUT of the selection. I think it must be impossible to modify anything OUT of the selection.

Don't take care of that if you have seen it.

In name of all maps creators, THANK YOU FOR YOUR WORK !
Oct 19, 2004 13:20
Alain, thanks for pointing those out, I hadn't noticed. (The first one is probably only on certain versions of Windows, I will look out for it next time I'm testing).
Oct 19, 2004 13:36
Ianbanks, for the first item I said, I saw the "Palette" problem on "Windows Server 2003" ! (Who is using it to create maps ?! Not very important...)
On "Windows XP" it runs good.

@+
Oct 20, 2004 12:56
An other item : when drawing and selecting square by square, it is difficult to see which square the cross cursor is pointing.
Question : Is it possible to make a cursor like the LGM have in the game ? (moving square by square in the drawing window with selecting/unselecting 1 square on single mouseclick ) And have the X, Y positions somewhere on the screen or in palette or thumbnail window ?

Oh, and an other : "ctrl" key is usualy used for random selecting and "shift" to extend a selection.
Question : Can you apply this ? Change actual shift key to ctrl (for select and add rectangles or elipses), and use shift key to extend a rectangle or an elipse (selected icon) from the last selected square. Of course this will function only if the last selected square stays visible on screen (actualy not).

Oh oh, and an other : Will you make a "create a perfect square icon" and a "create a perfect circle icon". AND / OR when drawing a rectangle (or an elipse) and using ctrl key, make it a perfect square/circle while choosing dimensions with the cursor ? (And fixing it when mousebutton stop to be used)

You have probably already think or/and do some of these items, then pass over !

Thank you for read my long list ! :D
Oct 25, 2004 07:13
Ianbanks, Will you make an auto-scrolling of the drawing area when the cursor comes near up/down/left/right of the drawing window ?

Thanks :D
Oct 25, 2004 07:27
:oops: Oh ! I forgot it : auto-scrolling only while mouse button is active for drawing rectangles/elipses bigger than screen ! :?
Oct 25, 2004 07:28
:oops: :oops: :oops: and lines ! :? :? :?
Oct 25, 2004 08:04
Will you create a palette icon to recall palette window ? Or create Menu/View/Palette, because when we must restart Cartographer each time the Palette is closed ! :) Thanks for all !
Oct 25, 2004 13:45
The last icon at down/right of the Palette window is "crater" but it draws "ruins" (both are already on the left). Can you replace this last icon by a mining icon to add mines on all types of terrains ? (except water, boats and walls !)

I create a Cartographer_Palette map. I have fill squares in the same order than the Cartographer Palette window.
http://www.winbolo.net/mapcollectioninfo.php?id=5298 :)
Oct 25, 2004 18:54
ever hear of the edit button? its kinda neat...its for when u mess up on your post.....u can go back and fix it. or just delete..thats a nice one too.
Oct 25, 2004 20:57
F.U.B.A.R. : thanks, I haven't saw edit button ! :oops:
Oct 25, 2004 22:35
Aparently not =\
Oct 26, 2004 02:59
and also....theres a quote button......its used if u wanna quote someone.


Alain wrote:
F.U.B.A.R. : thanks, I haven't saw edit button ! :oops:



looks like that....aaaannnnddddd! guess what....u can view your post before u even send it to the thread! just click ''preview''





btw if im coming off as an asshole its because in real life i am...but i mean no harm.
Oct 26, 2004 20:11
Fubar just needs a big hug. *hugs Fubar* Awww...
Nov 01, 2004 00:07
Hey ian, my version of Cartographer expired. Where's an update??
Nov 01, 2004 01:54
I also have this problem.
Nov 01, 2004 03:02
If you're really desparate...Just adjust the date on your computer to any date before 10/31/04. Hehehehe...
Nov 01, 2004 17:17
Oops, my bad, there was still code in there from an early version.

A new one is on:

http://www.ucc.gu.uwa.edu.au/~ziph/cartographer/

There's no date cutoff on that one, plus it has:

* Zoom out.
* Batch thumbnailing.
Nov 02, 2004 00:57
ianbanks wrote:
Oops, my bad,


Uh-huh... a likely story. We know all about your evil plans for world dominion, Ian. You best shape up.

One question before I break your knees: What is "batch thumbnailing"?
Nov 02, 2004 01:25
Ian,

I gotta make a few comments about your cartographer...I cannot tell you how much I appreciate (and I'm sure the other winbolo map makers feel the same way) your efforts in this program. I have no programming knowledge at all other than an intro to c++ class about 12 years ago. The only thing I learned was how little I know. This program is becoming everything that I wish bolo-reich was. I have to believe this will only help generate more interest in winbolo.

That said...Here's some things I'd like to see...Who knows you're probably a step ahead of me and already working on these:

1. X/Y Coordinates on like the bottom left (or where ever) of the window.
2. A way to delete bases...Maybe there's a way to do this that I am missing?
3. Mines or some sort of a border so I know where the map borders are.
4. A pill, base and start counter that shows how many of these you have currently on the map.

That's all I can think of...I don't recall anyone posting these before but sorry if they have. THANK YOU AGAIN IAN!!!!!!


-DAllen
Nov 02, 2004 04:10
DAllen wrote:
A way to delete bases...Maybe there's a way to do this that I am missing?

Dave!! I told you there was a way to do that!! You see the bottom right-most icon in the Cartographer toolbar? :roll:


A couple of other things I would like to see:

1. Pill and base properties. (like in bolo reich)
2. Pill firing radius
3. Copy/paste?? :wink:
4. Make the fill button NOT fill all the way to the edges of the map.

Other than that, I LOVE IT!!
Nov 03, 2004 02:59
yea, a base/pill/start counter and/or a limit to them. Right now you can put as many as you want in, but i dont think it will let you save. yea, the pill firing radius would be great. There was something else, but I forgot... Yea, Cartographer's awesome. Not to knock the creater of Boloreich, tho.









Jason#8
Nov 07, 2004 23:52
alexm wrote:
Make the fill button NOT fill all the way to the edges of the map.

BTW, if any one has this problem I posted about, I created a filter to help:
[code:1:d2a166ade2]for i = 1, 10 do
line( i - 1, 0, i - 1, 255)
line( 0, i - 1, 255, i - 1)
line( 256 - i, 0, 256 - i, 255)
line( 255, 256 - i, 0, 256 - i)
end[/code:1:d2a166ade2]
ps. Just remember to select deep water first. 8)
1 2 Next »
Page 1 of 2 (37 posts total)