Difference between revisions of "Code hacks"

From Armagetron
m
m (Adding pig's stuff)
Line 10: Line 10:
 
Note: there is no <nowiki><code></nowiki> in front of the script.
 
Note: there is no <nowiki><code></nowiki> in front of the script.
  
== Generators ==
+
== Modifications to Armagetron Advanced ==
 +
 
 +
These usually require actually applying a patch to Armagetron Advanced source and recompiling.  Not for the faint of heart!
 +
 
 +
=== Styball Patch ===
 +
 
 +
groundpig's infamous ball/shooter work.  Apply this patch to 0.2.8.2 source and build it.
 +
 
 +
[[:Image:styball.zip|Download the patch]]
 +
 
 +
== External Scripts and Programs ==
 +
 
 +
=== Generators ===
  
 
These are scripts used to generate maps.
 
These are scripts used to generate maps.
  
=== Labyrinth Script ===
+
==== Labyrinth Script ====
  
 
This is the script that generates mazes.  It requires python and almost certainly requires a Linux installation.  It's never been tested in windows.  It's also available in [http://svn.sourceforge.net/viewvc/armagetronad/private/Lucifer/aamaprotator/scripts/mazer.py?view=markup Lucifer's private area of the SVN repository].  Patches should be made against that and sent to Lucifer.
 
This is the script that generates mazes.  It requires python and almost certainly requires a Linux installation.  It's never been tested in windows.  It's also available in [http://svn.sourceforge.net/viewvc/armagetronad/private/Lucifer/aamaprotator/scripts/mazer.py?view=markup Lucifer's private area of the SVN repository].  Patches should be made against that and sent to Lucifer.
Line 20: Line 32:
 
[[:Image:mazer.zip|Download this script]]
 
[[:Image:mazer.zip|Download this script]]
  
== Map Rotation ==
+
=== Map Rotation ===
  
 
People have worked up good map rotation programs, hopefully they'll put them here.
 
People have worked up good map rotation programs, hopefully they'll put them here.
  
=== Lucifer's Map Rotator ===
+
==== Lucifer's Map Rotator ====
  
 
This is the rotator that used to power Swamplords on Crack before it was taken down.  It includes the mazer.py script listed in Generators on this page.  Probably requires Linux, it's not known to work in Windows.
 
This is the rotator that used to power Swamplords on Crack before it was taken down.  It includes the mazer.py script listed in Generators on this page.  Probably requires Linux, it's not known to work in Windows.
  
 
[[:Image:aamaprotator.zip|Download the file]]
 
[[:Image:aamaprotator.zip|Download the file]]

Revision as of 05:24, 27 August 2006

From time to time people do various hacks to the code or write various scripts and programs to support the game. We'll try to collect them here so you can use them too. If you have a hack you'd like to add, just add it here. For it to format correctly, put

<nowiki> 
"<pre> 
Copy paste your script here, in the space inbetween the code and pre commands.

" </nowiki>

Alternatively just copy and paste the script as it is, but add a space in front of every line.

Note: there is no <code> in front of the script.

Modifications to Armagetron Advanced

These usually require actually applying a patch to Armagetron Advanced source and recompiling. Not for the faint of heart!

Styball Patch

groundpig's infamous ball/shooter work. Apply this patch to 0.2.8.2 source and build it.

Download the patch

External Scripts and Programs

Generators

These are scripts used to generate maps.

Labyrinth Script

This is the script that generates mazes. It requires python and almost certainly requires a Linux installation. It's never been tested in windows. It's also available in Lucifer's private area of the SVN repository. Patches should be made against that and sent to Lucifer.

Download this script

Map Rotation

People have worked up good map rotation programs, hopefully they'll put them here.

Lucifer's Map Rotator

This is the rotator that used to power Swamplords on Crack before it was taken down. It includes the mazer.py script listed in Generators on this page. Probably requires Linux, it's not known to work in Windows.

Download the file