<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://graalonline.net/index.php?action=history&amp;feed=atom&amp;title=Creation%2FDev%2FLevel_Generator</id>
	<title>Creation/Dev/Level Generator - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://graalonline.net/index.php?action=history&amp;feed=atom&amp;title=Creation%2FDev%2FLevel_Generator"/>
	<link rel="alternate" type="text/html" href="https://graalonline.net/index.php?title=Creation/Dev/Level_Generator&amp;action=history"/>
	<updated>2026-04-09T22:57:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://graalonline.net/index.php?title=Creation/Dev/Level_Generator&amp;diff=13153&amp;oldid=prev</id>
		<title>Pooper200000 at 18:25, 13 September 2009</title>
		<link rel="alternate" type="text/html" href="https://graalonline.net/index.php?title=Creation/Dev/Level_Generator&amp;diff=13153&amp;oldid=prev"/>
		<updated>2009-09-13T18:25:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:25, 13 September 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Levels]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Graal Levels Generator is a tool for generating worlds for the online RPG Graal. It converts an image where you draw the outline of the world (blue for water, green for trees etc.) into levels which are already correctly linked and aligned. This saves a lot of work because you can now concentrate on adding NPCs and implementing the story.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Graal Levels Generator is a tool for generating worlds for the online RPG Graal. It converts an image where you draw the outline of the world (blue for water, green for trees etc.) into levels which are already correctly linked and aligned. This saves a lot of work because you can now concentrate on adding NPCs and implementing the story.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pooper200000</name></author>
	</entry>
	<entry>
		<id>https://graalonline.net/index.php?title=Creation/Dev/Level_Generator&amp;diff=10010&amp;oldid=prev</id>
		<title>Stefan: New page: The Graal Levels Generator is a tool for generating worlds for the online RPG Graal. It converts an image where you draw the outline of the world (blue for water, green for trees etc.) int...</title>
		<link rel="alternate" type="text/html" href="https://graalonline.net/index.php?title=Creation/Dev/Level_Generator&amp;diff=10010&amp;oldid=prev"/>
		<updated>2007-09-23T20:01:16Z</updated>

		<summary type="html">&lt;p&gt;New page: The Graal Levels Generator is a tool for generating worlds for the online RPG Graal. It converts an image where you draw the outline of the world (blue for water, green for trees etc.) int...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The Graal Levels Generator is a tool for generating worlds for the online RPG Graal. It converts an image where you draw the outline of the world (blue for water, green for trees etc.) into levels which are already correctly linked and aligned. This saves a lot of work because you can now concentrate on adding NPCs and implementing the story.&lt;br /&gt;
&lt;br /&gt;
[[Image:levelgendoc1.png]]&lt;br /&gt;
&lt;br /&gt;
On the picture you see the example image which is included in the levelgen.zip file, and a map of the generated levels. You can see that you don't get everything 1:1 converted because the generator uses a grid-based algorithm to&lt;br /&gt;
map the pixels to object types. Follow these steps to generate your own world:&lt;br /&gt;
&lt;br /&gt;
==Draw the map image==&lt;br /&gt;
First see at the included example image levelgen.png. You need to draw an image which has a width of 64*x and a height of 64*y when you want to make a world of x*y levels. The image must be saved as *.gif file or 8-bit colored *.png to get it work in the levels generator program.&lt;br /&gt;
&lt;br /&gt;
For each object type there is one color:&lt;br /&gt;
&amp;lt;table cellspacing=10 align=center&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Green - RGB(24,140,24)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#188c18 width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Normal grass (not drawn)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Light green - RGB(181,239,189)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#b5efbd width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Green trees / forest&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Blue - RGB(0,0,255)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#0000ff width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Water (sea, rivers)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Maroon - RGB(128,0,0)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#800000 width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; Mountains&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Red - RGB(255,0,0)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#ff0000 width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Flowers&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Light brown - RGB(150,110,0)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#966e00 width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Sand&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Brown - RGB(113,82,0)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#715200 width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Small sand stones&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Dark gold - RGB(83,61,0)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#533d00 width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Big sand stone&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Dark green - RGB(0,106,0)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#06a00 width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Swamp&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Dark dark green - RGB(0,66,0)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#004200 width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Bushes&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Cyan - RGB(0,255,255)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#00ffff width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Puddle&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Dark cyan - RGB(0,179,179)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#00b3b3 width=30&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Puddle stone&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Generate the levels==&lt;br /&gt;
Start GraalLevelGen.exe, select the image, output folder and worldname, and click on the [Generate World] button. If the selected image file was a correct formatted image then you should now find new levels in the output folder, named worldname_a-01.nw - worldname_z-99.nw (depending on how big the image file is).&lt;br /&gt;
&lt;br /&gt;
You will also find a file worldname.gmap, this is for connecting your levels so they appear as one huge world instead of single levels. To enable that map in the offline mode add the gmap name to the text file 'loadgmaps.txt' in your Graal folder (create the file if it doesn't exist yet), then Graal will try to load the map at startup.&lt;br /&gt;
&lt;br /&gt;
To enable the map in online mode, add the name of the map to the 'gmaps=' line (comma-separated) of the server options.&lt;br /&gt;
&lt;br /&gt;
==Level editing==&lt;br /&gt;
The levels generator is mainly for making an outline, after generating the levels you will need to add houses and npcs. &amp;lt;br&amp;gt;Because it is not possible yet to add trees &amp;amp; other stuff on top of mountains directly you might also want to do another round of running the levels generator program. If you run the program to generate levels that already exist then the program will read the existing levels and just add the new stuff instead of replacing the old. That way you can also add trees and bushes on top of mountains.&lt;br /&gt;
&lt;br /&gt;
[[Image:levelgendoc2.png]]&lt;br /&gt;
&lt;br /&gt;
This image shows 3 generating steps: In the first one you make the first level&lt;br /&gt;
of mountains, in the second you add some trees on top of the mountains, and a&lt;br /&gt;
second level of mountains in the right upper part of the first level mountains.&lt;br /&gt;
The last generating step adds trees on top of the second level mountains.&lt;/div&gt;</summary>
		<author><name>Stefan</name></author>
	</entry>
</feed>