Map Testing

From Tronwiki
(Difference between revisions)
Jump to: navigation, search
(What do i change in settings.cfg)
(What do i change in settings.cfg)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Instructions comming...
+
These are steps that tell you how to load in your custom maps.  
 
+
 
===Saving===
 
===Saving===
 
Code taken from your map
 
Code taken from your map
Line 27: Line 26:
  
 
===Configuring it===
 
===Configuring it===
comming...
 
 
 
 
For this you will need to edit settings.cfg
 
For this you will need to edit settings.cfg
 
====Location of settings.cfg====
 
====Location of settings.cfg====
 
*<b>Windows</b> - C:\Program Files\Armagetron Advanced\config\settings.cfg
 
*<b>Windows</b> - C:\Program Files\Armagetron Advanced\config\settings.cfg
 +
*<b>Mac OS X</b> - Armagetron Advanced.app/Contents/Resources/config/settings.cfg
  
 
I am unsure on this
 
I am unsure on this
*<b>Mac OS X</b> - Armagetron Advanced.app/Contents/config/settings.cfg
+
*<b>Linux</b> - /usr/share/games/armagetronad/config/settings.cfg  
*<b>Linux</b> - /usr/share/games/armagetronad/config/settings.cfg
+
<b>Ubuntu Linux, Maybe Other Distros</b> - /usr/etc/games/armagetronad/settings.cfg
 +
To edit the file you must be root (linux administrator), by either logging in as root or using the 'sudo' command (or your disto's equivalent)
 +
 
 
====What do i change in settings.cfg====
 
====What do i change in settings.cfg====
 
Code taken from settings.cfg starting on line 28 going to 40
 
Code taken from settings.cfg starting on line 28 going to 40
 
<code>
 
<code>
#MAP_FILE  Your_mom/clever/repeat-0.3.2.aamap.xml    # square with obstacles
+
#MAP_FILE  Your_mom/clever/repeat-0.3.2.aamap.xml    # square with obstacles
 
+
#MAP_FILE  Your_mom/clever/inaktek-0.7.2.aamap.xml  # octagon with obstacles
+
#MAP_FILE  Your_mom/clever/inaktek-0.7.2.aamap.xml  # octagon with obstacles
#ARENA_AXES 8                                        # set automatically by map to this value
+
#ARENA_AXES 8                                        # set automatically by map to this value
 
+
#MAP_FILE  Luke-Jr/HexaTRON/HexaTRON-0.4.3.aamap.xml # hexagonal flower
+
#MAP_FILE  Luke-Jr/HexaTRON/HexaTRON-0.4.3.aamap.xml # hexagonal flower
#ARENA_AXES 6                                        # set automatically by map to this value
+
#ARENA_AXES 6                                        # set automatically by map to this value
 
+
#MAP_FILE  Anonymous/polygon/regular/40-gon-0.1.1.aamap.xml  # almost circular #MAP_FILE  Anonymous/polygon/regular/diamond-1.0.2.aamap.xml  # like the square, but corners cut off
+
#MAP_FILE  Anonymous/polygon/regular/40-gon-0.1.1.aamap.xml  # almost circular
 
+
#MAP_FILE  Anonymous/polygon/regular/diamond-1.0.2.aamap.xml  # like the square, but corners cut off
#MAP_FILE  Z-Man/fortress/zonetest-0.1.0.aamap.xml            # test map for fortress zones
+
#MAP_FILE  Z-Man/fortress/for_old_clients-0.1.0.aamap.xml    # fortress map compatible with older clients
+
#MAP_FILE  Z-Man/fortress/zonetest-0.1.0.aamap.xml            # test map for fortress zones
 +
#MAP_FILE  Z-Man/fortress/for_old_clients-0.1.0.aamap.xml    # fortress map compatible with older clients
 
</code>
 
</code>
  
 
in this code all you need to add is
 
in this code all you need to add is
Remember all Bold are Set in yuor map file.
+
Remember all Bold are Set in your map file.
 
<code>
 
<code>
MAP_FILE  <b>author</b>/<b>category</b>/<b>name</b>-<b>version</b>.<b>type</b>.xml
+
MAP_FILE  <b>author</b>/<b>category</b>/<b>name</b>-<b>version</b>.<b>type</b>.xml
 
</code>
 
</code>
 +
 +
====Tron Time====
 +
Now its time to play Armagetron Advanced locally.
 +
If you have saved it wrong or the path you put is incorrect it will tell you.
 +
 +
If your settings or Code is wrong it will also tell you a line number.
 +
 +
If you are Playing your map then You successfully completed this task.
 +
====Related====
 +
[[Map Making]]

Latest revision as of 20:21, 6 September 2006

These are steps that tell you how to load in your custom maps.

Contents

Saving

Code taken from your map Remember bolded items you set.

<Resource type="aamap" name="name" version="0.0.0" author="author"
category="fortress">

Paths of where this map must be saved.

Remember bolded items you set in the map.

Remember to use the exact case that you have it in your map.

  • Linux - /usr/share/games/armagetronad/resource/included/author/category
  • Windows - C:\Program Files\Armagetron Advanced\resource\included\author\category
  • Mac OS X - Armagetron Advanced.app/Contents/Resources/resource/included/author/category

What do I need to title it

you simply save it as
    name-version.type.xml

for this one it would be

    name-0.0.0.aamap.xml

Configuring it

For this you will need to edit settings.cfg

Location of settings.cfg

  • Windows - C:\Program Files\Armagetron Advanced\config\settings.cfg
  • Mac OS X - Armagetron Advanced.app/Contents/Resources/config/settings.cfg

I am unsure on this

  • Linux - /usr/share/games/armagetronad/config/settings.cfg

Ubuntu Linux, Maybe Other Distros - /usr/etc/games/armagetronad/settings.cfg To edit the file you must be root (linux administrator), by either logging in as root or using the 'sudo' command (or your disto's equivalent)

What do i change in settings.cfg

Code taken from settings.cfg starting on line 28 going to 40

#MAP_FILE   Your_mom/clever/repeat-0.3.2.aamap.xml    # square with obstacles

#MAP_FILE   Your_mom/clever/inaktek-0.7.2.aamap.xml   # octagon with obstacles
#ARENA_AXES 8                                         # set automatically by map to this value

#MAP_FILE   Luke-Jr/HexaTRON/HexaTRON-0.4.3.aamap.xml # hexagonal flower
#ARENA_AXES 6                                         # set automatically by map to this value

#MAP_FILE   Anonymous/polygon/regular/40-gon-0.1.1.aamap.xml   # almost circular
#MAP_FILE   Anonymous/polygon/regular/diamond-1.0.2.aamap.xml  # like the square, but corners cut off

#MAP_FILE   Z-Man/fortress/zonetest-0.1.0.aamap.xml            # test map for fortress zones
#MAP_FILE   Z-Man/fortress/for_old_clients-0.1.0.aamap.xml     # fortress map compatible with older clients

in this code all you need to add is Remember all Bold are Set in your map file.

MAP_FILE   author/category/name-version.type.xml

Tron Time

Now its time to play Armagetron Advanced locally. If you have saved it wrong or the path you put is incorrect it will tell you.

If your settings or Code is wrong it will also tell you a line number.

If you are Playing your map then You successfully completed this task.

Related

Map Making

Personal tools