Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739
Crazy Tronners Wiki - Map Making

Map Making

From Tronwiki
Jump to: navigation, search
m (Optional Items)
(Text Editor)
 
Line 2: Line 2:
  
 
This is going to teach you how to build custom maps for game play like the ones that the [[Crazy Tronners Wild Fortress]] uses.
 
This is going to teach you how to build custom maps for game play like the ones that the [[Crazy Tronners Wild Fortress]] uses.
 +
if you do not feel like coding most of your maps you may want to try out  [[SVG MAPS|SVG(Scalable Vector Graphics)]]
  
 
==What do i need to make a map:==
 
==What do i need to make a map:==
 
===Text Editor===
 
===Text Editor===
  
I used notepad but I found out that[http://www.pspad.com/ PSPad] was a lot better with handling codes
+
I used notepad but I found out that [http://www.pspad.com/ PSPad] was a lot better with handling codes
 
#[http://www.pspad.com/ PSPad (Windows)]
 
#[http://www.pspad.com/ PSPad (Windows)]
 
#[http://sourceforge.net/projects/turbopad Turbopad (Windows,Linux)]
 
#[http://sourceforge.net/projects/turbopad Turbopad (Windows,Linux)]
 
#[http://www.context.cx/  ConText (Windows)]
 
#[http://www.context.cx/  ConText (Windows)]
#[http://www.vim.org/  Vim (Linux)]
+
#[http://www.vim.org/  Vim (Linux/Windows)]
  
 
===Optional Items===
 
===Optional Items===
You also may want [http://www.armagetron.de/armabell.html Armabell] but it is very buggy and currently dose not work. you can design the map on [http://www.armagetron.de/armabell.html Armabell], but you will still need a text editor.
+
You also may want [http://www.armagetron.de/armabell.html Armabell] but it is very buggy. You can design the map on [http://www.armagetron.de/armabell.html Armabell], but you will still need a text editor.  
 +
 
 +
Also you will need to read [http://armagetron.de/league.html here] to set up [http://www.armagetron.de/armabell.html Armabell]
  
 
Also for ellipses and circles i use [http://generalconsumption.org/armagetron/ General Consumption]. You can also preview your maps there.
 
Also for ellipses and circles i use [http://generalconsumption.org/armagetron/ General Consumption]. You can also preview your maps there.
 +
 +
Another thing that you may need is something to find intersection points this is a JAVA Applet that prints out the intersection in map code format [http://wiki.crazy-tronners.com/Intersection.html]
 +
 +
If you get stuck at any point you can E-mail Kyle at [mailto:armagetronMapMaking@gmail.com]
 
----
 
----
  
Line 22: Line 29:
 
===The basic code layout===  
 
===The basic code layout===  
 
<code>
 
<code>
  &#60;!--this is a comment-->
+
  &#60;!--this is a comment   note: please do not copy this line it is only
 +
to tell you that this is a comment. A comment allows other users to understand
 +
the code better -->
 
  <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
 
  <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
 +
<!DOCTYPE Resource SYSTEM "AATeam/map-0.2.8.0.dtd">
 
  <Resource type="aamap" name="name" version="0.0.0" author="author"
 
  <Resource type="aamap" name="name" version="0.0.0" author="author"
 
  category="fortress">
 
  category="fortress">
Line 39: Line 49:
 
</code>
 
</code>
 
<small>This is the basic code structure to making a map.</small>
 
<small>This is the basic code structure to making a map.</small>
 +
 +
note: a comment is a piece of data that the program does not read; it is useful to help other map makers understand your code.
  
 
This includes no content right now so if you were to load the page exactly as it is Armagetron Advanced will load in the default map and settings.
 
This includes no content right now so if you were to load the page exactly as it is Armagetron Advanced will load in the default map and settings.
 
----
 
----
 +
 
===  Saving the map===
 
===  Saving the map===
 
----
 
----
Line 83: Line 96:
 
====Settings====
 
====Settings====
 
All the setting they you may set will be shown on a separate page
 
All the setting they you may set will be shown on a separate page
 
I am currently working on this secion
 
  
 
Here is a complete list of [[Map settings]]
 
Here is a complete list of [[Map settings]]
 +
 +
to add a setting to you map
 +
add in
 +
<code>
 +
<Setting name="Settings_name" value="Value_for_setting"/>
 +
</code>
 +
this is the part of the code that this goes to
 +
<code>
 +
  <Settings>
 +
  &#60;!--Your field setting goes here-->
 +
  <b><Setting name="Setting_name" value="Value_for_setting"/></b>
 +
  </Settings>
 +
 +
</code>
 +
<small>This is what it will look like continue pattern for more settings</small>
 +
 
----
 
----
  
Line 104: Line 131:
 
----
 
----
  
====Spawn's or Starting Position====
+
====Spawns or Starting Position====
 
<small> This section of the code relates to this</small>
 
<small> This section of the code relates to this</small>
 
<code>
 
<code>
Line 127: Line 154:
 
----
 
----
  
====Wall's====
+
====Walls====
 
<small> This section of the code relates to this</small>
 
<small> This section of the code relates to this</small>
 
<code>
 
<code>
Line 156: Line 183:
 
----
 
----
  
====Zone's====
+
====Zones====
 
<small> This section of the code relates to this</small>
 
<small> This section of the code relates to this</small>
 
<code>
 
<code>
Line 218: Line 245:
 
===Free-for-all===
 
===Free-for-all===
 
<code>
 
<code>
 +
<Resource>
 +
  <Map>
 
   <World>
 
   <World>
 
     <Field>
 
     <Field>
Line 237: Line 266:
 
</code>
 
</code>
  
This format will have two sets of opponants (even though it is still free-for-all) facing each other like so:
+
This format will have two sets of opponents (even though it is still free-for-all) facing each other like so:
  
****insert a pic Ed****
 
  
 
The level stats are:
 
The level stats are:
Line 248: Line 276:
 
===Fortress===
 
===Fortress===
 
<code>
 
<code>
 +
<Resource>
 +
  <Map>
 
   <World>
 
   <World>
 
     <Field>
 
     <Field>
Line 278: Line 308:
 
----
 
----
  
==How to Test you map:==
+
==How to Test your map:==
Working on instructions.
+
[[Map Testing]]
 
----
 
----
 +
 
==Commands:==
 
==Commands:==
 
This is a [[Map settings]] link to the page where we have set up a list of commands (or settings as they are more usually known) that you can add to your map to make it more effective
 
This is a [[Map settings]] link to the page where we have set up a list of commands (or settings as they are more usually known) that you can add to your map to make it more effective
Line 292: Line 323:
 
====Code====
 
====Code====
 
<code>
 
<code>
 +
<Resource>
 +
  <Map>
 
   <World>
 
   <World>
 
     <Field>
 
     <Field>
Line 336: Line 369:
  
 
====Picture====
 
====Picture====
(*Kyle can u get a picture for this*)
+
[[Image:FreeForAll-example.png]]
 
----
 
----
  
Line 343: Line 376:
 
====Code====
 
====Code====
 
<code>
 
<code>
 +
<Resource>
 +
  <Map>
 
   <World>
 
   <World>
 
     <Field>
 
     <Field>
 
     <Axes number="4"/>
 
     <Axes number="4"/>
     <Spawn x="102" y="40" xdir="0" ydir="1" />
+
     <Spawn x="100" y="40" xdir="0" ydir="1" />
     <Spawn x="98" y="360" xdir="0" ydir="-1" />
+
     <Spawn x="100" y="360" xdir="0" ydir="-1" />
 
     <Wall>
 
     <Wall>
 
     <Point x="0" y="0" />
 
     <Point x="0" y="0" />
Line 398: Line 433:
  
 
====Picture====
 
====Picture====
 +
[[Image:Fortress-example.png]]

Latest revision as of 14:48, 6 August 2007

Personal tools