Macro Tutorial - NEW! PART 4 ready
Joachim de Ravenbel
Surveyor
Hi,
I've written down some things about macros.
Please tell me if it's usefull or if something like that already exists and I'm loosing my time (and yours).
I hope it's not a toooo bad English...
(tried to use the Annual paging...)
JdR
Edit : Pages number now 13
Edit : Pages number now 19
I've written down some things about macros.
Please tell me if it's usefull or if something like that already exists and I'm loosing my time (and yours).
I hope it's not a toooo bad English...
(tried to use the Annual paging...)
JdR
Edit : Pages number now 13
Edit : Pages number now 19
Comments
More tutorials are always welcome, and especially macro tutorials since there are not many of them around.
The file has been replaced by the latest version, corrected some mispellings and added text.
The .mac file containing all the macros written has been made available above. Since it seems impossible to post .mac files it is a .txt file you need to rename and place in the CC3 folder (the same where FCW32.mac is. Could be somewhere else but it's easier that way).
I will update thoses files as I work. Look at the page number listed on first post.
JdR
Simon
Joachim, if you think it's ready to be generally available, let me know, and I'll post it to the user tutorials section of the website.
In fact I hope the community will help me find out errors, mispellings, lack of precision, etc.
What I've written so far could be a part 1 and I'm already working on part 2. I know I should print part 1 and check myself but it's sooo more interesting to write further.
I will keep you informed of the progress.
JdR
PART 2 is ready for (proof?)reading. Help yourselves.
JdR
Part 3 is under way.
Thank you all for comments and help.
JdR
Included macros for star, spiral and rotated box drawing along with design explanations.
JdR
JdR
This is also one of the parts of CC3 I love. You are able to use stuff you learned in school that you though you would never need. And it is really helpful to understand it Who would have thought drawing fantasy maps involved math, eh?
You know, most time of the year I use CC3 more to prepare my lessons than to draw maps. Sometimes I even combine both (give a map, say the treasure is as near to the tower than to the temple then to the big tree -> find the center of the circle going through all those points).
What one wouldn't do to make one's students suffer...
JdR
Part 4 deals with a macro drawing rivers with line width and color gradients through the use of the APND command.
Even if you're not interested in macro writing, I hope you'll find the attached macro RIV useful.
Sample test map below.
JdR
Nice macro too, but it is fond of making CC3 crash completely depending on my fractalization settings.
But it seem to be dependent on other factors too. It worked much better on my clean test-install computer with a clean CC3 install and no addons than it does on my production laptop, which contains the full range of CC3 stuff.
It only crashed on jpg export 3200x2400
In general, things are pretty much the same macro wise, so almost every CC3 macro should run fine in CC3+ as well. The river macro from part 4 runs perfectly.
I presume point one is the source and the end point is the sea/lake.
I also think my values must be wrong for river width, so an afternoon playing seems to be on the cards.
For the river width, remember that the values you supply is in map units. The default width 2, means that the river is 2 map units wide at the mouth, which translates to 2 miles on an overland map, so if you are uing it on a small scale map, you'll probably want to use a much smaller value.
But I cannot get around the fact that I'm a programmer. Which means: I will find bugs.
In the first tutorial, on page 2, you explain line 4 as "4. TEXTM varPname;varPname" - which is wrong, as in the original source, there is "TEXTM varSname;varPname" in line 4. Nothing bad, but something that could be fixed.
I hope that you are still with us here in the forum, as I've seen that your post is now ten years old...