Cartographer

Nov 08, 2004 03:16
Made a change:
[code:1:f34c5a97f8]type = 16
for i = 1, 10 do
line( i - 1, 0, i - 1, 255 type)
line( 0, i - 1, 255, i - 1 type)
line( 256 - i, 0, 256 - i, 255 type)
line( 255, 256 - i, 0, 256 - i type)
end[/code:1:f34c5a97f8]
Now you don't have to select deep water first. :D
Nov 08, 2004 11:14
alexm wrote:
Made a change:
[code:1:51b965b1e7]type = 16
for i = 1, 10 do
line( i - 1, 0, i - 1, 255 type)
line( 0, i - 1, 255, i - 1 type)
line( 256 - i, 0, 256 - i, 255 type)
line( 255, 256 - i, 0, 256 - i type)
end[/code:1:51b965b1e7]
Now you don't have to select deep water first. :D


Hmmm...I couldn't get this filter to work. Cart returned an error of "attempt to call a string value." I did get the 1st filter you posted to work...Very cool alexm. I think the only difference (unless I'm missing something here) is the 1st line that reads type=16. What does that thingy designate anyways?

-DAllen
Nov 08, 2004 12:30
...

Hmmm...I couldn't get this filter to work. Cart returned an error of "attempt to call a string value." I did get the 1st filter you posted to work...Very cool alexm. I think the only difference (unless I'm missing something here) is the 1st line that reads type=16. What does that thingy designate anyways?


Something like this should work:

[code:1:690c65ff69]tile_type = OCEAN
for i = 1, 10 do
line(i - 1, 0, i - 1, 255, tile_type)
line(0, i - 1, 255, i - 1, tile_type)
line(256 - i, 0, 256 - i, 255, tile_type)
line(255, 256 - i, 0, 256 - i, tile_type)
end[/code:1:690c65ff69]

I think the only thing missing from the previous script was comma's before "type" in the four "line" calls (The error probably snuck in while the code was being posted to this forum, I hope it hasn't happened for the above code). I've changed "type" to "tile_type" because "type" is often a reserved word (not sure for Lua) and the 16 to "OCEAN" to make the intent clear.
Nov 08, 2004 14:39
Oops. Forgot that. :oops: Dave, the type = 16 makes it always use deep water, wether it's selected in your pallette or not. :D One last thing, the type variable DID work before, I just forgot the commas this time. :?
Nov 09, 2004 10:11
alexm wrote:
Oops. Forgot that. :oops:


No big deal alexm. Just a thought, maybe it is time to start a new thread like the "Post Here after Map Making" except make it "Post new filters here" or something like that. I don't have good enough feel as to whether or not there would be enough interest in something like that. What does everone else think?

-DAllen
Nov 10, 2004 00:05
Could you possibly include a changelog in the zip?
Nov 10, 2004 13:08
THIS IS SO COOL!!! Ian, please don't change this, but if you place a start spot on land (in cartographer) -just select the starts and click on land- you will spawn on land!! It will show a boat on deep water in cartographer, but it works! I just thought that was kinda neat.

http://www.winbolo.net/mapcollectioninfo.php?id=5347
Nov 10, 2004 16:09
Sheesh. I've been posting like crazy lately!! Ian, a few bugs fixed or features added I would like to see sometime soon: (some of these have already been mentioned)

1) More registry entries or an ini file or somthing to tell the program: The last saved window position, window layout, etc.
2) When you open a map file by double clicking, cartographer doesn't load the filters you have in your filters directory. ????
3) My name in the about window??? (PLEASE????) :roll:
4) Pill firing radius
5) x, y coordinates
6) Dockable pallette
7) Pill and base properties (like in bolo reich)

I can't think of any others right now...


BTW, Don't fix the start spot bug. :D
Jan 06, 2005 13:09
:?: Ianbanks, please, have you some news about Cartographer :?:
Apr 23, 2006 01:33
i cant get the lau thing it says it's for linux
Jul 12, 2006 16:18
#2 wrote:
i cant get the lau thing it says it's for linux


Hi #2,

You don't need to download Lua--it is built in to the Cartographer .exe. If you want to use it, create a "Filters" directory in the directory that "Cartographer.exe" is in, and create a text file with the extension ".lua". Copy and paste the script (Grab some of the ones Alain did) into the text file using notepad, save it, and restart Cartographer.

I think Alain also put a bunch of .lua files up for downloading.
Jul 14, 2006 23:19
ianbanks wrote:
I think Alain also put a bunch of .lua files up for downloading.

Just ask me if any1 want a .zip file of all the filters I posted here :)
« Previous 1 2
Page 2 of 2 (37 posts total)